Class AddArithmeticOperator
java.lang.Object
org.projog.core.predicate.AbstractSingleResultPredicate
org.projog.core.predicate.builtin.kb.AddArithmeticOperator
- All Implemented Interfaces:
KnowledgeBaseConsumer, PredicateFactory
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 Summary
Constructors -
Method Summary
Methods inherited from class AbstractSingleResultPredicate
evaluate, evaluate, evaluate, evaluate, getArithmeticOperators, getFileHandles, getKnowledgeBase, getOperands, getPredicate, getPredicates, getProjogListeners, getSpyPoints, getTermFormatter, init, isRetryable, setKnowledgeBaseMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PredicateFactory
isAlwaysCutOnBacktrack, preprocess
-
Constructor Details
-
AddArithmeticOperator
public AddArithmeticOperator()
-
-
Method Details
-
evaluate
- Overrides:
evaluatein classAbstractSingleResultPredicate
-