|
Triveni | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--triveni.tl.Expr
The class Expr is the common abstract superclass for
all temporal logic formula classes.
| Constructor Summary | |
Expr()
|
|
Expr(boolean v)
|
|
| Method Summary | |
boolean |
check()
This method returns the value of the formula as it was last eval()uated. |
abstract java.lang.Object |
clone()
|
boolean |
eval()
This method evaluates the formula, by recursively evaluating its subformulas. |
boolean |
eval(java.lang.Object label)
This method evaluates the formula for the given label. |
java.lang.Object[] |
getLabels()
This method returns the labels that occur in the leaves of this formula. |
void |
reset()
return time to "zero" by resetting the local state of this formula and all its subformulas. |
void |
set(boolean val)
This method sets the value of an expression. |
void |
tick()
This method advances the clock by one step. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
public Expr()
public Expr(boolean v)
| Method Detail |
public abstract java.lang.Object clone()
public final void set(boolean val)
public final boolean check()
public void reset()
public final boolean eval()
public final boolean eval(java.lang.Object label)
Leafpublic void tick()
public java.lang.Object[] getLabels()
public java.lang.String toString()
|
Triveni | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||