|
|||||||||
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.Unary
org.aspic.inference.NegationAsFailure
public class NegationAsFailure
Negation as failure unary operator. Generates an atomic argument for the operand expression if it cannot generate an argument from the assoicated knowledge base.
Constructor Summary | |
---|---|
NegationAsFailure(Element element)
|
Method Summary | |
---|---|
Constant |
apply(Substitution subs)
Return copy of this Element with the substitution applied. |
Methods inherited from class org.aspic.inference.Unary |
---|
getOperand, setOperand |
Methods inherited from class org.aspic.inference.Term |
---|
addArg, clone, equals, getArg, hashCode, inspect, 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 NegationAsFailure(Element element)
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 |