|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wis.jtlv.env.spec.SpecExp
public class SpecExp
Specification expression.
| Constructor Summary | |
|---|---|
SpecExp(Operator op,
Spec e1)
Constructor for an unary specification. |
|
SpecExp(Operator op,
Spec[] el)
A general purpose constructor. |
|
SpecExp(Operator op,
Spec e1,
Spec e2)
Constructor for a binary specification. |
|
SpecExp(Operator op,
Spec e1,
Spec e2,
Spec e3)
Constructor for a triplet specification. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object other)
Implementors are required to provide the equals since two (syntactically) identical specifications, which are different object will return false to the usual equals. |
Spec[] |
getChildren()
Get the children specification of this node. |
Operator |
getOperator()
The operator representing this node. |
boolean |
hasTemporalOperators()
Does this specification has a temporal operator. |
boolean |
isCTLSpec()
Is this a CTL specification. |
boolean |
isCTLStarSpec()
Is this a CTL* specification. |
boolean |
isFutureLTLSpec()
Is this a Future LTL specification. |
boolean |
isLTLSpec()
Is this a LTL specification. |
boolean |
isPastLTLSpec()
Is this a Past LTL specification. |
boolean |
isPropSpec()
Is this a first order specification. |
boolean |
isRealTimeCTLSpec()
Is this a Real Time CTL specification. |
BDDVarSet |
releventVars()
Get the domain of this specification. |
BDD |
toBDD()
Get the BDD representing this specification. |
java.lang.String |
toString()
The usual toString. |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpecExp(Operator op,
Spec[] el)
throws SpecException
A general purpose constructor.
op - The operator.el - An array of children specification
SpecException
public SpecExp(Operator op,
Spec e1)
Constructor for an unary specification.
op - The operator.e1 - The sub specification.
public SpecExp(Operator op,
Spec e1,
Spec e2)
Constructor for a binary specification.
op - The operator.e1 - The first sub specification.e2 - The second sub specification.
public SpecExp(Operator op,
Spec e1,
Spec e2,
Spec e3)
Constructor for a triplet specification.
op - The operator.e1 - The first sub specification.e2 - The second sub specification.e3 - The third sub specification.| Method Detail |
|---|
public Operator getOperator()
The operator representing this node.
public Spec[] getChildren()
Get the children specification of this node.
public boolean isCTLSpec()
SpecIs this a CTL specification.
isCTLSpec in interface Specpublic boolean isRealTimeCTLSpec()
SpecIs this a Real Time CTL specification.
isRealTimeCTLSpec in interface Specpublic boolean isLTLSpec()
SpecIs this a LTL specification.
isLTLSpec in interface Specpublic boolean isFutureLTLSpec()
SpecIs this a Future LTL specification.
isFutureLTLSpec in interface Specpublic boolean isPastLTLSpec()
SpecIs this a Past LTL specification.
isPastLTLSpec in interface Specpublic boolean isCTLStarSpec()
SpecIs this a CTL* specification.
isCTLStarSpec in interface Specpublic boolean isPropSpec()
SpecIs this a first order specification.
isPropSpec in interface Specpublic boolean hasTemporalOperators()
SpecDoes this specification has a temporal operator.
hasTemporalOperators in interface Specpublic java.lang.String toString()
SpecThe usual toString.
toString in interface SpectoString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
SpecImplementors are required to provide the equals since two (syntactically) identical specifications, which are different object will return false to the usual equals.
equals in interface Specequals in class java.lang.Objectother - The other object to check equality with.
public BDDVarSet releventVars()
SpecGet the domain of this specification.
releventVars in interface Spec
public BDD toBDD()
throws SpecException
SpecGet the BDD representing this specification. Note that only first order specifications can get their toBDD, other kind of specification will throw an exception.
toBDD in interface SpecSpecException - When the specification is temporal.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||