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, unifypublic 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)
Termpublic boolean unify(Prolog mediator, List varsUnifiedArg1, List varsUnifiedArg2, Term t)
Termpublic Term copy(AbstractMap map, int idExecCtx)
Termpublic Term copy(AbstractMap map, AbstractMap substMap)
Termpublic long resolveTerm(long count)
TermresolveTerm in class Termcount - new starting time count for resolving processpublic void free()
Termpublic Term getTerm()
Termpublic boolean isAtom()
Termpublic boolean isAtomic()
Termpublic boolean isCompound()
TermisCompound in class Termpublic boolean isEmptyList()
TermisEmptyList in class Termpublic boolean isGreater(Prolog mediator, Term t)
Termpublic boolean isGround()
Termpublic boolean isList()
Termpublic boolean isNumber()
Termpublic boolean isStruct()
TermCopyright © 2015. All rights reserved.