|
JTP API Documentation | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--jtp.fol.DefaultClause
Default implementation of Clause.
| Constructor Summary | |
DefaultClause(Collection literals)
|
|
DefaultClause(Literal l1,
Literal l2)
|
|
DefaultClause(Literal l1,
Literal l2,
Literal l3)
|
|
| Method Summary | |
Collection |
clauses()
Returns the collection of Clauses that make up this
CNFSentence. |
boolean |
equals(Object o)
|
Collection |
literals()
Returns the collection of Literals that make up this Clause. |
Object |
substitute(Map m)
Performs substitution in this object. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public DefaultClause(Collection literals)
public DefaultClause(Literal l1,
Literal l2)
public DefaultClause(Literal l1,
Literal l2,
Literal l3)
| Method Detail |
public Collection literals()
ClauseLiterals that make up this Clause.
literals in interface Clausepublic Collection clauses()
CNFSentenceClauses that make up this
CNFSentence.
clauses in interface CNFSentencepublic String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic Object substitute(Map m)
Substitutablethis.
Note that this method does not have to check if this object is itself a key in the substitution map
and therefore has to be replaced. If you need that functionality,
SubstUtils.substitute(Object, Map) should be used instead.
substitute in interface Substitutable
|
JTP API Documentation | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||