Class NotStrictEquality
java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.compare.NotStrictEquality
- All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory
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 Summary
Constructors -
Method Summary
Methods inherited from class AbstractSingleResultPredicate
evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PredicateFactory
isAlwaysCutOnBacktrack, preprocess
-
Constructor Details
-
NotStrictEquality
public NotStrictEquality()
-
-
Method Details
-
evaluate
- Overrides:
evaluatein classAbstractSingleResultPredicate
-