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, setKnowledgeBase
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPredicate, isAlwaysCutOnBacktrack, isRetryable
protected boolean evaluate(Term t)
evaluate
in class AbstractSingleResultPredicate
public PredicateFactory preprocess(Term term)
preprocess
in interface PreprocessablePredicateFactory
Copyright © 2024. All rights reserved.