public final class UnifyWithOccursCheck extends AbstractSingleResultPredicate
unify_with_occurs_check(X, Y)
- an equality test using sound unification.
Works like X = Y
but with an additional check to avoid cyclic terms. When using
unify_with_occurs_check
a variable can only be unified with a term if that term does not contain the
variable.
Constructor and Description |
---|
UnifyWithOccursCheck() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term arg1,
Term arg2) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isAlwaysCutOnBacktrack
protected boolean evaluate(Term arg1, Term arg2)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.