|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrevisionlogic.ISent
revisionlogic.Contradiction
Contradiction represents a contradiction. 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) |
Contradiction()
|
| Method Summary | |
java.lang.Object |
clone()
Returns a reference to this Contradiction. |
(package private) ISent |
conjunctionsIn()
Returns a reference to this Contradiction, as the dnf transformation of a contradiction F remains the same as the contradiction. |
(package private) ISent |
disjunctionsIn()
Returns a reference to this Contradiction, as the cnf transformation of a contradiction F remains the same as the contradiction. |
boolean |
equals(java.lang.Object s)
Checks if this Contradiction equals s. |
(package private) java.util.HashSet |
getAtoms()
Returns the empty set of literals of this Contradiction. |
ISent |
getCNF()
Returns a reference to this Contradiction, as the cnf transformation of a contradiction F remains the same as the contradiction. |
ISent |
getCNFUI()
Returns a reference to this Contradiction, as the cnf transformation of a contradiction F remains the same as the contradiction. |
(package private) int |
getDepth()
Returns the depth of this Contradiction. |
ISent |
getDNFUI()
Returns a reference to this Contradiction, as the dnf transformation of a contradiction F remains the same as the contradiction. |
java.lang.String |
getLabel()
Returns the string representation of this Contradiction. |
(package private) java.lang.StringBuffer |
getLabelSB()
Returns null as this method is never invoked on this Contradiction but implemented only to satisfy the abstract specification of ISent. |
int |
getType()
Returns the type of this Contradiction. |
(package private) ISent |
implicationsOut()
Returns a reference to this Contradiction, as the cnf and dnf transformations of a contradiction F remain the same as the contradiction. |
boolean |
isConsistent()
Returns false to indicate this Contradiction is itself inconsistent. |
(package private) ISent |
negationsIn()
Returns a reference to this Contradiction, as the cnf and dnf transformations of a contradiction F remain the same as the contradiction. |
| 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 |
Contradiction()
| Method Detail |
public java.lang.Object clone()
This shallow cloning is acceptable since the cnf and dnf transformations of a contradiction F remain the same as the contradiction.
clone in class ISentpublic boolean equals(java.lang.Object s)
s.
equals in class ISents is a Contradiction, 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 | |||||||||