|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--envgen.spec.SpecNode
|
+--envgen.spec.LTLNode
Data structure to hold an LTL formula.
| Field Summary | |
(package private) char |
kind
Kinds of node: 'P' atomic proposition, 'G' globally, 'E' eventually (finally), '!' negation, 'X' next, 'T' true, 'F' false, '&' and, '|' or, 'U' until, 'V' dual of until. |
(package private) LTLNode |
left
Left operand, used for binary operators such as &, |, etc. |
(package private) LTLNode |
right
Right operand, used for binary operators such as &, |, etc. |
| Fields inherited from class envgen.spec.SpecNode |
proposition, val |
| Constructor Summary | |
LTLNode()
Default constructor. |
|
LTLNode(char op,
int v,
LTLNode l,
LTLNode r)
|
|
LTLNode(LTLNode f)
Copy constructor. |
|
| Method Summary | |
boolean |
equals(java.lang.Object f)
|
char |
getKind()
|
LTLNode |
getLeft()
|
LTLNode |
getRight()
|
static LTLNode |
pushNot(LTLNode f,
boolean b)
Pushes negations inside the formula, until they appear only in front of atomic propositions. |
void |
setKind(char c)
|
void |
setLeft(LTLNode f)
|
void |
setRight(LTLNode f)
|
static LTLNode |
singleEventCondition(java.util.List propositions)
Builds an LTL formuls that corresponds to the single event condition, takes as an input a universe of propositions, and builds a formula that states that no two propositions from the universe can hold at the same time. |
java.lang.String |
toString()
|
| Methods inherited from class envgen.spec.SpecNode |
getProposition, getVal, setProposition |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
char kind
LTLNode left
LTLNode right
| Constructor Detail |
public LTLNode(char op,
int v,
LTLNode l,
LTLNode r)
public LTLNode()
public LTLNode(LTLNode f)
| Method Detail |
public static LTLNode singleEventCondition(java.util.List propositions)
public boolean equals(java.lang.Object f)
equals in class java.lang.Object
public static LTLNode pushNot(LTLNode f,
boolean b)
public java.lang.String toString()
toString in class java.lang.Objectpublic LTLNode getRight()
public void setRight(LTLNode f)
public LTLNode getLeft()
public void setLeft(LTLNode f)
public char getKind()
public void setKind(char c)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||