|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.sri.oaa2.icl.Unifier
Object based unification class and methods.
| Constructor Summary | |
Unifier()
|
|
| Method Summary | |
IclTerm |
deref(IclTerm t,
java.util.HashMap bindings)
Creates a copy of the term. |
static Unifier |
getInstance()
Get an instance of a Unifier. |
boolean |
matchTerms(IclTerm t1,
IclTerm t2,
java.util.HashMap bindings)
Tests for term matching, matches, and binds variables. |
IclTerm |
unify(IclTerm t1,
IclTerm t2)
Unifies two terms. |
IclTerm |
unify(IclTerm t1,
IclTerm t2,
java.util.HashMap bindings)
Unifies two terms using the given variable bindings. |
IclTerm |
unifyDebug(IclTerm t1,
IclTerm t2)
Unifies two terms. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Unifier()
| Method Detail |
public static final Unifier getInstance()
public final IclTerm unify(IclTerm t1,
IclTerm t2)
t1 - the first termt2 - the second term
public final IclTerm unifyDebug(IclTerm t1,
IclTerm t2)
t1 - the first termt2 - the second term
public final IclTerm unify(IclTerm t1,
IclTerm t2,
java.util.HashMap bindings)
t1 - the first termt2 - the second termbindings - the bindings to use
public final boolean matchTerms(IclTerm t1,
IclTerm t2,
java.util.HashMap bindings)
t1 - first termt2 - second termbindings - variable bindings to use
public final IclTerm deref(IclTerm t,
java.util.HashMap bindings)
t - a term to dereference
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||