|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wis.jtlv.env.module.Module
edu.wis.jtlv.env.module.ModuleWithWeakFairness
public abstract class ModuleWithWeakFairness
A general interface for module with weak fairness (justice).
I.e. every computation sigma contains infinite many justice states.
| Constructor Summary | |
|---|---|
ModuleWithWeakFairness()
|
|
| Method Summary | |
|---|---|
abstract void |
addJustice(BDD to_add)
Add weak (justice) winning condition to the module. |
abstract BDD[] |
allJustice()
Getter for all the justice requirements of the module. |
BDD |
feasible()
This is essentially algorithm "FEASIBLE", from the article: Yonit Ketsen, Amir Pnueli, Li-on Raviv, Elad Shahar, "Model checking with strong fairness". |
BDD |
feasible2()
Version which allows justice and compassion requirement to refer to the next state. |
abstract BDD |
justiceAt(int i)
Getter for a justice condition defined at the given index in the module. |
abstract int |
justiceNum()
Getter for the number of justice condition defined in the module. |
abstract BDD |
popLastJustice()
Removes the last justice added to this module. |
| Methods inherited from class edu.wis.jtlv.env.module.Module |
|---|
addInitial, addVar, allPred, allSucc, asyncComposition, conjunctTrans, controlStates, decompose, disjunctTrans, elimSuccChains, getAllFields, getAllIniRestrictions, getAllTransRestrictions, getFullInstName, getName, getPath, hasSuccessorsTo, idleStep, initial, modulePrimeVars, moduleUnprimeVars, moduleVars, pred, reachable, removeAllIniRestrictions, removeAllTransRestrictions, removeIniRestriction, removeTransRestriction, restrictIni, restrictTrans, setAllIniRestrictions, setAllTransRestrictions, setInitial, shortestPath, succ, syncComposition, toString, trans, yieldStates |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ModuleWithWeakFairness()
| Method Detail |
|---|
public abstract void addJustice(BDD to_add)
throws ModuleException
Add weak (justice) winning condition to the module.
to_add - The winning condition to add to the module.
ModuleException - If there was a problem with adding the condition.justiceNum(),
justiceAt(int),
popLastJustice(),
allJustice()public abstract BDD popLastJustice()
Removes the last justice added to this module.
addJustice(BDD),
justiceNum(),
justiceAt(int),
allJustice()public abstract int justiceNum()
Getter for the number of justice condition defined in the module.
addJustice(BDD),
justiceAt(int),
popLastJustice(),
allJustice()public abstract BDD justiceAt(int i)
Getter for a justice condition defined at the given index in the module.
i - The index of the justice condition to return.
addJustice(BDD),
justiceNum(),
popLastJustice(),
allJustice()public abstract BDD[] allJustice()
Getter for all the justice requirements of the module.
addJustice(BDD),
justiceNum(),
justiceAt(int),
popLastJustice()public BDD feasible()
This is essentially algorithm "FEASIBLE", from the article:
Yonit Ketsen, Amir Pnueli, Li-on Raviv, Elad Shahar, "Model checking with
strong fairness". This implementation is reduced to a module with only
weak fairness requirements.
The line numbers are the line numbers of that algorithm. Read the article for further details.
feasible in class ModuleModule.feasible(),
ModuleWithStrongFairness.feasible()public BDD feasible2()
Version which allows justice and compassion requirement to refer to the next state.
feasible2 in class Modulefeasible(),
Module.feasible2(),
ModuleWithStrongFairness.feasible2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||