|
||||||||||
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 ISent
public boolean equals(java.lang.Object s)
s
.
equals
in class ISent
s
is a Contradiction, 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 |