public final class AddUserDefinedArithmeticOperator extends AbstractSingleResultPredicate
arithmetic_function(X)
- defines a predicate as an arithmetic function.
Allows the predicate defined by X
to be used as an arithmetic function.
Constructor and Description |
---|
AddUserDefinedArithmeticOperator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term arg) |
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 arg)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.