|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Equality
This class implements an equality between two nodes.
Node
Constructor Summary | |
Equality(Node lhs,
Node rhs)
Constructor of the equality node. |
Method Summary | |
Equality |
applySubst(Substitution sigma)
Applies a substitution to this equality node. |
static Map |
DEC(RuleTable rules,
Node t)
Makes the decoupage of a term according to all prefix of top and bottom path. |
boolean |
equals(Object o)
Tests if some other object is "equal to" this one. |
void |
inductionVariables(Map iv)
Extends the map of induction variable with the ones of this equality. |
boolean |
isNFEqual(RuleTable rules)
Tests if this normal form of both sides are equals. |
Node |
leftSide()
Returns the left hand side of the equality. |
boolean |
lowerThan(Node node)
Tests if both sides of this equality are lower than a specified term. |
static Node |
nf(RuleTable rules,
Node term)
Returns the normal form of a specified term. |
EqualList |
patterns(RuleTable rules)
Use patterns to split the equality. |
Node |
rightSide()
Returns the right hand side of the equality. |
boolean |
sidesEqual()
Indicates whether this equality is a syntaxic equality. |
Equality |
split(RuleTable rules)
Split the equality. |
Equality |
toggles()
If left (or right) sides is a boolean constant toggles it. |
String |
toString()
Returns a string representation of this equality node. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Equality(Node lhs, Node rhs)
lhs
- the left hand side of the equalityrhs
- the right hand side of the equalityMethod Detail |
public Node leftSide()
public Node rightSide()
public Equality applySubst(Substitution sigma)
sigma
- the substitution.public boolean sidesEqual()
public void inductionVariables(Map iv)
iv
- the map in construction.public Equality toggles()
public boolean lowerThan(Node node)
node
- the term.public static Node nf(RuleTable rules, Node term)
rules
- rewrite rules to apply.term
- the node.public boolean isNFEqual(RuleTable rules)
rules
- rewrite rules to apply.public static Map DEC(RuleTable rules, Node t)
rules
- rules to normalize complement.t
- term to be split.public Equality split(RuleTable rules)
rules
- rules to normalize complement.public EqualList patterns(RuleTable rules)
rules
- rules to normalize complements.public boolean equals(Object o)
equals
in class Object
o
- the object with which to compare.public String toString()
toString
in class Object
Node
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |