|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wis.jtlv.lib.mc.ModelCheckAlgI
edu.wis.jtlv.lib.mc.SimpleDeadlockAlg
public class SimpleDeadlockAlg
An algorithm for performing deadlock check.
Constructor Summary | |
---|---|
SimpleDeadlockAlg(Module design)
A constructor for the deadlock algorithm. |
Method Summary | |
---|---|
AlgResultI |
doAlgorithm()
Deadlocked states are those whose only successor is them-self. |
AlgResultI |
postAlgorithm()
Does nothing. |
AlgResultI |
preAlgorithm()
Does nothing. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleDeadlockAlg(Module design)
A constructor for the deadlock algorithm.
design
- The design to check the property for.Method Detail |
---|
public AlgResultI preAlgorithm() throws AlgExceptionI
Does nothing.
AlgExceptionI
- Never.AlgI.preAlgorithm()
public AlgResultI doAlgorithm() throws AlgExceptionI
Deadlocked states are those whose only successor is them-self. This method checks for the absence of deadlocks in the module.
AlgResultPath
, or a string with
"VALID" (i.e. AlgResultString
)
AlgExceptionI
- Never.public AlgResultI postAlgorithm() throws AlgExceptionI
Does nothing.
AlgExceptionI
- Never.AlgI.postAlgorithm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |