|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.aspic.inference.Element
org.aspic.inference.Constant
org.aspic.inference.Term
org.aspic.inference.BuiltIn
org.aspic.inference.Binary
org.aspic.inference.Subtraction
public class Subtraction
The "-" binary evaluator built-in predicate. A built in binary evaluator class for substraction with predicate "-".
Constructor Summary | |
---|---|
Subtraction()
Default constructor. |
|
Subtraction(Element left,
Element right)
Typical constructor. |
Method Summary | |
---|---|
Constant |
apply(Substitution subs)
Return copy of this Element with the substitution applied. |
Methods inherited from class org.aspic.inference.Binary |
---|
getLeft, getRight, inspect, isInfix, setInfix, setLeft, setRight |
Methods inherited from class org.aspic.inference.Term |
---|
addArg, clone, equals, getArg, hashCode, isEqualModuloVariables, isGrounded, isUnifiable, negation, numberOfArgs, ruleTag, setArg, setArgList, setKnowledgeBase, unify, write |
Methods inherited from class org.aspic.inference.Constant |
---|
getFunctor, setFunctor |
Methods inherited from class org.aspic.inference.Element |
---|
getId, getKnowledgeBase, setId, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Subtraction(Element left, Element right)
left
- left operand.right
- right operand.public Subtraction()
Method Detail |
---|
public Constant apply(Substitution subs)
Element
apply
in class Term
subs
- Substitution to apply
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |