|
||||||||||
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 ISent
public boolean equals(java.lang.Object s)
s
.
equals
in class ISent
s
is a Tautology, false otherwise.int getDepth()
getDepth
in class ISent
public int getType()
getType
in class ISent
public boolean isConsistent()
isConsistent
in class ISent
ISent implicationsOut()
implicationsOut
in class ISent
ISent negationsIn()
negationsIn
in class ISent
ISent disjunctionsIn()
disjunctionsIn
in class ISent
ISent conjunctionsIn()
conjunctionsIn
in class ISent
public ISent getCNF()
getCNF
in class ISent
public ISent getCNFUI()
This method is invoked only by the ListSent constructors.
getCNFUI
in class ISent
public ISent getDNFUI()
This method is invoked only by the ListSent constructors.
getDNFUI
in class ISent
public java.lang.String getLabel()
getLabel
in class ISent
java.lang.StringBuffer getLabelSB()
getLabelSB
in class ISent
java.util.HashSet getAtoms()
getAtoms
in class ISent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |