|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.luc.cs.trull.tl.Expr
edu.luc.cs.trull.tl.Previous
public class Previous
The formula previous p specifies
that p must have been true in the
time unit immediately preceding the current one.
| Field Summary | |
|---|---|
private static org.apache.log4j.Logger |
cat
|
private Expr |
p
|
private boolean |
prev
|
| Fields inherited from class edu.luc.cs.trull.tl.Expr |
|---|
evaluated, fringe, val |
| Constructor Summary | |
|---|---|
Previous(Expr p)
|
|
Previous(java.lang.Object p)
|
|
| Method Summary | |
|---|---|
(package private) void |
accept(Visitor v)
This method uses a visitor to traverse the temporal logic formula. |
java.lang.Object |
clone()
|
(package private) boolean |
ev()
This method evaluates the formula. |
void |
reset()
return time to "zero" by resetting the local state of this formula and all its subformulas. use only on top-level formulas. |
void |
tick()
This method advances the clock by one step. |
| Methods inherited from class edu.luc.cs.trull.tl.Expr |
|---|
check, eval, eval, getFringe, getLabels, set, setLeaves, toString, valuate |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static org.apache.log4j.Logger cat
private Expr p
private boolean prev
| Constructor Detail |
|---|
public Previous(Expr p)
public Previous(java.lang.Object p)
| Method Detail |
|---|
void accept(Visitor v)
Expr
accept in class Exprpublic java.lang.Object clone()
clone in class Exprboolean ev()
Expr
ev in class Exprpublic void reset()
Expr
reset in class Exprpublic void tick()
Expr
tick in class Expr
|
Trull | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||