public final class AddArithmeticOperator extends AbstractSingleResultPredicate
pj_add_arithmetic_operator(X,Y)
- defines a Java class as an arithmetic operator.
X
represents the name and arity of the predicate. Y
represents the full class name of an
implementation of org.projog.core.ArithmeticOperator
.
Constructor and Description |
---|
AddArithmeticOperator() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Term functionNameAndArity,
Term javaClass) |
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 functionNameAndArity, Term javaClass)
evaluate
in class AbstractSingleResultPredicate
Copyright © 2024. All rights reserved.