public class HGAtomTerm extends Term
Constructor and Description |
---|
HGAtomTerm(org.hypergraphdb.atom.HGAtomRef ref,
org.hypergraphdb.HyperGraph graph) |
HGAtomTerm(org.hypergraphdb.HGHandle handle,
org.hypergraphdb.HyperGraph graph) |
Modifier and Type | Method and Description |
---|---|
Term |
copy(AbstractMap map,
AbstractMap substMap)
gets a copy for result.
|
Term |
copy(AbstractMap map,
int idExecCtx)
gets a copy (with renamed variables) of the term.
|
Object |
deref() |
void |
free()
Unlink variables inside the term
|
org.hypergraphdb.HGHandle |
getHandle() |
Term |
getTerm()
Gets the actual term referred by this Term.
|
boolean |
isAtom()
is this term a prolog (alphanumeric) atom?
|
boolean |
isAtomic()
is this term a constant prolog term?
|
boolean |
isCompound()
is this term a prolog compound term?
|
boolean |
isEmptyList()
is this term a null term?
|
boolean |
isEqual(Prolog mediator,
Term t)
Tests if this term is (logically) equal to another
|
boolean |
isGreater(Prolog mediator,
Term t)
is term greater than term t?
|
boolean |
isGround()
is this term a ground term?
|
boolean |
isList()
is this term a prolog list?
|
boolean |
isNumber()
is this term a prolog numeric term?
|
boolean |
isStruct()
is this term a struct?
|
boolean |
isVar()
is this term a variable?
|
long |
resolveTerm(long count)
Resolves variables inside the term, starting from a specific time count.
|
String |
toString() |
boolean |
unify(Prolog mediator,
List varsUnifiedArg1,
List varsUnifiedArg2,
Term t)
Tries to unify two terms, given a demonstration context
identified by the mark integer.
|
copyGoal, copyResult, createTerm, createTerm, equals, getIterator, iteratedGoalTerm, match, parse, parse, resolveTerm, unify
public HGAtomTerm(org.hypergraphdb.atom.HGAtomRef ref, org.hypergraphdb.HyperGraph graph)
public HGAtomTerm(org.hypergraphdb.HGHandle handle, org.hypergraphdb.HyperGraph graph)
public org.hypergraphdb.HGHandle getHandle()
public Object deref()
public boolean isEqual(Prolog mediator, Term t)
Term
public boolean unify(Prolog mediator, List varsUnifiedArg1, List varsUnifiedArg2, Term t)
Term
public Term copy(AbstractMap map, int idExecCtx)
Term
public Term copy(AbstractMap map, AbstractMap substMap)
Term
public long resolveTerm(long count)
Term
resolveTerm
in class Term
count
- new starting time count for resolving processpublic void free()
Term
public Term getTerm()
Term
public boolean isAtom()
Term
public boolean isAtomic()
Term
public boolean isCompound()
Term
isCompound
in class Term
public boolean isEmptyList()
Term
isEmptyList
in class Term
public boolean isGreater(Prolog mediator, Term t)
Term
public boolean isGround()
Term
public boolean isList()
Term
public boolean isNumber()
Term
public boolean isStruct()
Term
Copyright © 2015. All rights reserved.