|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.cs.rainbow.deadlock.ModelCheck
Checks a transition system against a CTL* formula. The transition system is based on a state machine (defined by RASM) that produces states on the fly. The CTL* formula is compiled into an automaton and traversed by WVMC.
StateEnumerator
,
Checker
Inner Class Summary | |
class |
ModelCheck.AutoState
The state of the model checker automata. |
class |
ModelCheck.Engine
The view presented to the model-checker. |
static interface |
ModelCheck.Evaluator
Provides a proposition evaluation service to the model checker. |
class |
ModelCheck.Major
The major state of the model checker. |
class |
ModelCheck.Minor
The minor state of the model checker. |
Constructor Summary | |
ModelCheck(StateEnumerator enumerator,
String formula)
Create a system that can check a system against a CTL* formula. |
Method Summary | |
boolean |
checkModel()
Check the state engine against the temporal formula. |
ModelCheck.AutoState |
getAutomataState(int index)
Get the state of the model checker at the given step. |
ModelCheck.Evaluator |
getEvaluator()
What proposition evaluator is the model checker using? |
int |
getLastLoopDepth()
At what depth was the last loop? |
StateEngine |
getResultingStateEngine()
Get the state of the state explorer on check completion. |
String |
opString(ModelCheck.AutoState a)
Render the given major state as a string. |
void |
setEvaluator(ModelCheck.Evaluator propEval)
Set the proposition evaluator for this model checker. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModelCheck(StateEnumerator enumerator, String formula) throws RainbowException, ParseException
enumerator
- The system (expressed as a state-space enumerator) to check
the formula against.formula
- A CTL* formula in negation-normal form.RainbowException
- If the system fails to initialise the internal state engine.ParseException
- If the formula parameter does not describe a CTL* formula in
negation-normal form.Method Detail |
public boolean checkModel() throws WVMCException, RainbowException
WVMCException
- If the model check fails somehow.RainbowException
- If the state engine fails somehow.public String opString(ModelCheck.AutoState a)
Checker.render(int)
public int getLastLoopDepth()
public StateEngine getResultingStateEngine()
public ModelCheck.AutoState getAutomataState(int index)
index
- Which step to get the state from.NullPointerException
- If the index is out of range.public void setEvaluator(ModelCheck.Evaluator propEval)
public ModelCheck.Evaluator getEvaluator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |