|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Clause
This class implements a clause.
EqualList
Field Summary | |
protected EqualList |
conj
Both side of the clause. |
protected EqualList |
disj
Both side of the clause. |
protected static int |
HYPOTHESE_NUM
Clause number for an hypothese. |
protected static int |
LEMMA_NUM
Clause number for a lemma. |
Constructor Summary | |
Clause(EqualList conj,
EqualList disj)
Constructor of a clause. |
Method Summary | |
EqualList |
body()
Returns the body of an clause. |
EqualList |
conditions()
Returns the conditions of an clause. |
boolean |
emptyBody()
Indicates if this clause posses an empty body. |
boolean |
equals(Object o)
Tests if some other object is "equal to" this one. |
protected static String |
num(int n)
Returns a representation of a clause number. |
Equality |
oriented()
Returns an orientation of this clause if possible. |
protected static String |
prefix(int n)
Returns a representation of a clause number between brackets. |
Equality |
semiOriented()
Returns a semi-orientation of this close. |
String |
toString()
Returns a string representation of this clause. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected EqualList conj
protected EqualList disj
protected static final int HYPOTHESE_NUM
protected static final int LEMMA_NUM
Constructor Detail |
public Clause(EqualList conj, EqualList disj)
conj
- conjonction part of the clause.disj
- disjonction part of the clause.Method Detail |
public EqualList conditions()
public EqualList body()
public boolean emptyBody()
public Equality semiOriented()
public Equality oriented()
Node
public boolean equals(Object o)
equals
in class Object
o
- the object with which to compare.protected static String num(int n)
protected static String prefix(int n)
public String toString()
toString
in class Object
EqualList
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |