|
||||||||||
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()
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 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 isCTLStarSpec()
Spec
Is this a CTL* specification.
isCTLStarSpec
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 |