|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wis.jtlv.old_lib.mc.ModelChecker
edu.wis.jtlv.old_lib.mc.SimpleModelChecker
public class SimpleModelChecker
A wrapper to a SMVModule which knows how to check simple properties for the given module.
Constructor Summary | |
---|---|
SimpleModelChecker(SMVModule design)
|
|
SimpleModelChecker(SMVModule design,
boolean removeRunningVar)
|
Method Summary | |
---|---|
void |
checkDeadlock()
Deadlocked states are those whose only successor is them-self. |
void |
checkDeadlockStrandardOutput()
Deadlocked states are those whose only successor is them-self. |
void |
checkInvariance(Spec property)
The invariance procedure check that a property holds on all reachable states. |
void |
checkInvarianceStrandardOutput(Spec property)
The invariance procedure check that a property holds on all reachable states. |
void |
checkReact(Spec p,
Spec[] q,
Spec r)
Verify whether []((p /\_{forall i} []<>q[i]) -> <>q) is valid. |
void |
checkReactStrandardOutput(Spec p,
Spec[] q,
Spec r)
Verify whether []((p /\_{forall i} []<>q[i]) -> <>q) is valid. |
void |
checkTempEntail(Spec p,
Spec q)
Verify whether [](p -> <>q) is valid. |
void |
checkTempEntailStrandardOutput(Spec p,
Spec q)
Verify whether [](p -> <>q) is valid. |
Methods inherited from class edu.wis.jtlv.old_lib.mc.ModelChecker |
---|
getDesign |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleModelChecker(SMVModule design) throws ModelCheckException
ModelCheckException
public SimpleModelChecker(SMVModule design, boolean removeRunningVar) throws ModelCheckException
ModelCheckException
Method Detail |
---|
public void checkDeadlockStrandardOutput()
Deadlocked states are those whose only successor is them-self. This method variant checks for the absence of deadlocks in the module in prints the results to the standard streams.
checkDeadlock()
public void checkDeadlock() throws CounterExampleException
Deadlocked states are those whose only successor is them-self. This method checks for the absence of deadlocks in the module.
CounterExampleException
- When the property does not hold on some reachable state, a
counter example is thrown.checkDeadlockStrandardOutput()
public void checkInvarianceStrandardOutput(Spec property)
The invariance procedure check that a property holds on all reachable states. This variant of implementation, prints the results to the standard streams.
property
- The property to check invariance for.checkInvariance(Spec)
public void checkInvariance(Spec property) throws ModelCheckException, CounterExampleException
The invariance procedure check that a property holds on all reachable states.
property
- The property to check invariance for.
ModelCheckException
- When the invariance method is initiated with other then
propositional property.
CounterExampleException
- When the property does not hold on some reachable state, a
counter example is thrown.checkInvarianceStrandardOutput(Spec)
public void checkTempEntailStrandardOutput(Spec p, Spec q)
Verify whether [](p -> <>q) is valid. This variant of implementation, prints the results to the standard streams.
p
- The first propositional property.q
- The second propositional property.checkTempEntail(Spec, Spec)
public void checkTempEntail(Spec p, Spec q) throws ModelCheckException, CounterExampleException
Verify whether [](p -> <>q) is valid.
p
- The first propositional property.q
- The second propositional property.
ModelCheckException
- When the tempEntail method is initiated with other then
propositional properties.
CounterExampleException
- When the TempEntail fails, a counter example is thrown.checkTempEntailStrandardOutput(Spec,
Spec)
public void checkReactStrandardOutput(Spec p, Spec[] q, Spec r)
Verify whether []((p /\_{forall i} []<>q[i]) -> <>q) is valid. This variant of implementation, prints the results to the standard streams.
p
- The first propositional property.q
- An array of always eventually propertiesr
- The second propositional property.checkReact(Spec, Spec[],
Spec)
public void checkReact(Spec p, Spec[] q, Spec r) throws ModelCheckException, CounterExampleException
Verify whether []((p /\_{forall i} []<>q[i]) -> <>q) is valid.
p
- The first propositional property.q
- An array of always eventually propertiesr
- The second propositional property.
ModelCheckException
- When the checkReact method is initiated with other then
propositional properties.
CounterExampleException
- When the checkReact fails, a counter example is thrown.checkReactStrandardOutput(Spec,
Spec[], Spec)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |