|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wis.jtlv.env.spec.SpecBDD
public class SpecBDD
First order specification which is parsed as an SMV expression.
Constructor Summary | |
---|---|
SpecBDD(BDD v)
A constructor for a leaf BDD specification, without a string representation. |
|
SpecBDD(java.lang.String identifying_expr,
BDD v)
A constructor for a leaf BDD specification, with a string representation. |
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. |
BDD |
getVal()
Getter for the BDD value. |
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 SpecBDD(java.lang.String identifying_expr, BDD v)
A constructor for a leaf BDD specification, with a string representation.
identifying_expr
- The string from which this leaf was constructed.v
- The BDD value (if already evaluated).public SpecBDD(BDD v)
A constructor for a leaf BDD specification, without a string representation.
v
- The evaluated BDD.Method Detail |
---|
public BDD getVal()
Getter for the BDD value.
toBDD()
public boolean isCTLSpec()
Spec
Is this a CTL specification.
isCTLSpec
in interface Spec
public boolean isRealTimeCTLSpec()
Spec
Is this a Real Time CTL specification.
isRealTimeCTLSpec
in interface Spec
public boolean isCTLStarSpec()
Spec
Is this a CTL* specification.
isCTLStarSpec
in interface Spec
public boolean isLTLSpec()
Spec
Is this a LTL specification.
isLTLSpec
in interface Spec
public boolean isFutureLTLSpec()
Spec
Is this a Future LTL specification.
isFutureLTLSpec
in interface Spec
public boolean isPastLTLSpec()
Spec
Is this a Past LTL specification.
isPastLTLSpec
in interface Spec
public boolean isPropSpec()
Spec
Is this a first order specification.
isPropSpec
in interface Spec
public boolean hasTemporalOperators()
Spec
Does this specification has a temporal operator.
hasTemporalOperators
in interface Spec
public java.lang.String toString()
Spec
The usual toString.
toString
in interface Spec
toString
in class java.lang.Object
public boolean equals(java.lang.Object other)
Spec
Implementors 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 Spec
equals
in class java.lang.Object
other
- The other object to check equality with.
public BDDVarSet releventVars()
Spec
Get the domain of this specification.
releventVars
in interface Spec
public BDD toBDD() throws SpecException
Spec
Get 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 Spec
SpecException
- When the specification is temporal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |