public final class Not extends AbstractSingleResultPredicate implements PreprocessablePredicateFactory
\+ X - "not".
The \+ X goal succeeds if an attempt to satisfy the goal represented by the term X fails.
The \+ X goal fails if an attempt to satisfy the goal represented by the term X succeeds.
| Constructor and Description |
|---|
Not() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
evaluate(Term t) |
PredicateFactory |
preprocess(Term term) |
evaluate, evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPredicate, isAlwaysCutOnBacktrack, isRetryableprotected boolean evaluate(Term t)
evaluate in class AbstractSingleResultPredicatepublic PredicateFactory preprocess(Term term)
preprocess in interface PreprocessablePredicateFactoryCopyright © 2024. All rights reserved.