|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents a first-order logic literal, that is, a simple relation-based sentence of the form (<rel> <arg1> <arg2> …)
or (not (<rel> <arg1> <arg2> …))
.
Method Summary | |
List |
getArgs()
Returns the arguments in this Literal. |
Symbol |
getRelation()
Returns the relation of this Literal. |
boolean |
isPositive()
Returns false if the Literal is negated; true otherwise. |
Methods inherited from interface jtp.fol.Clause |
literals |
Methods inherited from interface jtp.fol.CNFSentence |
clauses |
Methods inherited from interface jtp.Substitutable |
substitute |
Method Detail |
public boolean isPositive()
public Symbol getRelation()
public List getArgs()
|
JTP API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |