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, setKnowledgeBaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisAlwaysCutOnBacktrackprotected boolean evaluate(Term arg)
evaluate in class AbstractSingleResultPredicateCopyright © 2024. All rights reserved.