|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrevisionlogic.ISent
revisionlogic.Tautology
Tautology represents a tautology. It is a concrete subclass of ISent.
| Field Summary |
| Fields inherited from class revisionlogic.ISent |
ATOM, BIIMP, CONJ, CONT, DIS, IMP, NEG, TAUT |
| Constructor Summary | |
(package private) |
Tautology()
|
| Method Summary | |
java.lang.Object |
clone()
Returns a reference to this Tautology. |
(package private) ISent |
conjunctionsIn()
Returns a reference to this Tautology, as the dnf transformation of a tautology T remains the same as the tautology. |
(package private) ISent |
disjunctionsIn()
Returns a reference to this Tautology, as the cnf transformation of a tautology T remains the same as the tautology. |
boolean |
equals(java.lang.Object s)
Checks if this Tautology equals s. |
(package private) java.util.HashSet |
getAtoms()
Returns the empty set of literals of this Tautology. |
ISent |
getCNF()
Returns a reference to this Tautology, as the cnf transformation of a tautology T remains the same as the tautology. |
ISent |
getCNFUI()
Returns a reference to this Tautology, as the cnf transformation of a tautology T remains the same as the tautology. |
(package private) int |
getDepth()
Returns the depth of this Tautology. |
ISent |
getDNFUI()
Returns a reference to this Tautology, as the dnf transformation of a tautology T remains the same as the tautology. |
java.lang.String |
getLabel()
Returns the string representation of this Tautology. |
(package private) java.lang.StringBuffer |
getLabelSB()
Returns null as this method is never invoked on this Tautology but implemented only to satisfy the abstract specification of ISent. |
int |
getType()
Returns the type of this Tautology. |
(package private) ISent |
implicationsOut()
Returns a reference to this Tautology, as the cnf and dnf transformations of a tautology T remain the same as the tautology. |
boolean |
isConsistent()
Returns true to indicate this Tautology is itself consistent. |
(package private) ISent |
negationsIn()
Returns a reference to this Tautology, as the cnf and dnf transformations of a tautology T remain the same as the tautology. |
| Methods inherited from class revisionlogic.ISent |
getDIMACSFormat, isConsistent, isConsistent, isInconsistentSList, isprConsistent |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
Tautology()
| Method Detail |
public java.lang.Object clone()
This shallow cloning is acceptable since the cnf and dnf transformations of a tautology T remain the same as the tautology.
clone in class ISentpublic boolean equals(java.lang.Object s)
s.
equals in class ISents is a Tautology, false otherwise.int getDepth()
getDepth in class ISentpublic int getType()
getType in class ISentpublic boolean isConsistent()
isConsistent in class ISentISent implicationsOut()
implicationsOut in class ISentISent negationsIn()
negationsIn in class ISentISent disjunctionsIn()
disjunctionsIn in class ISentISent conjunctionsIn()
conjunctionsIn in class ISentpublic ISent getCNF()
getCNF in class ISentpublic ISent getCNFUI()
This method is invoked only by the ListSent constructors.
getCNFUI in class ISentpublic ISent getDNFUI()
This method is invoked only by the ListSent constructors.
getDNFUI in class ISentpublic java.lang.String getLabel()
getLabel in class ISentjava.lang.StringBuffer getLabelSB()
getLabelSB in class ISentjava.util.HashSet getAtoms()
getAtoms in class ISent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||