public final class NotStrictEquality extends AbstractSingleResultPredicate
X\==Y
- a strict equality test.
If X
cannot be matched with Y
the goal succeeds else the goal fails. A X\==Y
goal will only consider an uninstantiated variable to be equal to another uninstantiated variable that is already
sharing with it.
Constructor and Description |
---|
NotStrictEquality() |
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.