|
||||||||||
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.LTLModelChecker
public class LTLModelChecker
A wrapper to a SMVModule which knows how to check LTL properties for the given module.
The main interesting routines for EXTERNAL usage are:
valid(Spec)
- Check validity of tl formula.
modelCheck(Spec)
- Model check using a temporal
formula.
modelCheckSeq(Spec) - Model check sequential program ( halted executions are
extended indefinitely by adding the idle transition )
modelCheckTester(SMVModule)
- Model check using a
tester which is provided by the user in the
Nested Class Summary | |
---|---|
static class |
LTLModelChecker.LTLTesterBuilder
|
Constructor Summary | |
---|---|
LTLModelChecker(SMVModule design)
|
|
LTLModelChecker(SMVModule design,
boolean removeRunningVar)
|
Method Summary | |
---|---|
void |
modelCheck(Spec property)
Given a specification \phi (as a formula in temporal logic) we want to decide whether \phi is valid over finite state program P , i.e. |
void |
modelCheckStandardOutput(Spec property)
Given a specification \phi (as a formula in temporal logic) we want to decide whether \phi is valid over finite state program P , i.e. |
void |
modelCheckTester(SMVModule user_tester)
To compose a tester with the design, and perform model checking. |
void |
modelCheckTesterStandardOutput(SMVModule user_tester)
To compose a tester with the design, and perform model checking. |
boolean |
modelCheckWithNoCounterExample(Spec property)
|
static void |
standAloneValid(Spec property)
Check validity for a given LTL property without any design attached. |
static void |
standAloneValidStarndardOutput(Spec property)
Check validity for a given LTL property without any design attached. |
void |
valid(Spec property)
Check validity for a given LTL property. |
void |
validStarndardOutput(Spec property)
Check validity for a given LTL property. |
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 LTLModelChecker(SMVModule design) throws ModelCheckException
ModelCheckException
public LTLModelChecker(SMVModule design, boolean removeRunningVar) throws ModelCheckException
ModelCheckException
Method Detail |
---|
public void modelCheckStandardOutput(Spec property)
Given a specification \phi (as a formula in temporal logic) we want to decide whether \phi is valid over finite state program P , i.e. whether all the computations of the design satisfy \phi. This variant of implementation, prints the results to the standard streams.
property
- The property to check.modelCheck(Spec)
public void modelCheck(Spec property) throws ModelCheckException, CounterExampleException
Given a specification \phi (as a formula in temporal logic) we want to decide whether \phi is valid over finite state program P , i.e. whether all the computations of the design satisfy \phi.
property
- The property to check.
ModelCheckException
- When the method is initiated with other then LTL property.
CounterExampleException
- When the property is not valid, a counter example is thrown.modelCheckStandardOutput(Spec)
public boolean modelCheckWithNoCounterExample(Spec property)
public void modelCheckTesterStandardOutput(SMVModule user_tester)
To compose a tester with the design, and perform model checking. If the composition is feasible then a counter example is thrown. This variant of implementation, prints the results to the standard streams.
user_tester
- The tester to compose.modelCheckTester(SMVModule)
public void modelCheckTester(SMVModule user_tester) throws CounterExampleException
To compose a tester with the design, and perform model checking. If the composition is feasible then a counter example is thrown.
user_tester
- The tester to compose.
CounterExampleException
- When the property is not valid, a counter example is thrown.modelCheckTesterStandardOutput(SMVModule)
public void validStarndardOutput(Spec property)
Check validity for a given LTL property. This variant of implementation, prints the results to the standard streams.
property
- The property to check validity for.valid(Spec)
,
standAloneValid(Spec)
,
standAloneValidStarndardOutput(Spec)
public void valid(Spec property) throws ModelCheckException
Check validity for a given LTL property.
property
- The property to check validity for.
ModelCheckException
- When the method is initiated with other then LTL property.
CounterExampleException
- When the property is not valid, a counter example is thrown.validStarndardOutput(Spec)
,
standAloneValid(Spec)
,
standAloneValidStarndardOutput(Spec)
public static void standAloneValidStarndardOutput(Spec property)
Check validity for a given LTL property without any design attached. This variant of implementation, prints the results to the standard streams.
property
- The property to check validity for.valid(Spec)
,
validStarndardOutput(Spec)
,
standAloneValid(Spec)
public static void standAloneValid(Spec property) throws ModelCheckException
Check validity for a given LTL property without any design attached.
property
- The property to check validity for.
ModelCheckException
- When the method is initiated with other then LTL property.
CounterExampleException
- When the property is not valid, a counter example is thrown.valid(Spec)
,
validStarndardOutput(Spec)
,
standAloneValidStarndardOutput(Spec)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |