|
||||||||||
| 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
edu.wis.jtlv.env.module.ModuleWithStrongFairness
public abstract class ModuleWithStrongFairness
A general interface for module with strong fairness (compassion).
I.e. for every computation sigma, if sigma contains infinite many p, then it
also contains infinite many q states
| Constructor Summary | |
|---|---|
ModuleWithStrongFairness()
|
|
| Method Summary | |
|---|---|
abstract void |
addCompassion(BDD p,
BDD q)
Add strong (compassion) winning condition to the module. |
abstract BDD[] |
allPCompassion()
Getter for all the p's, of the compassion requirements of the module. |
abstract BDD[] |
allQCompassion()
Getter for all the q's, of the compassion requirements of the module. |
abstract int |
compassionNum()
Getter for the number of compassion condition defined in 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 |
pCompassionAt(int i)
Getter for a P part of the compassion condition defined at the given index in the module. |
abstract BDD[] |
popLastCompassion()
Removes the last compassion added to this module. |
abstract BDD |
qCompassionAt(int i)
Getter for a Q part of the compassion condition defined at the given index in the module. |
| Methods inherited from class edu.wis.jtlv.env.module.ModuleWithWeakFairness |
|---|
addJustice, allJustice, justiceAt, justiceNum, popLastJustice |
| 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 ModuleWithStrongFairness()
| Method Detail |
|---|
public abstract void addCompassion(BDD p,
BDD q)
throws ModuleException
Add strong (compassion) winning condition to the module.
p - The p winning condition to add to the module.q - The q winning condition to add to the module.
ModuleException - If there was a problem with adding the condition.popLastCompassion(),
compassionNum(),
pCompassionAt(int),
qCompassionAt(int),
allPCompassion(),
allQCompassion()public abstract BDD[] popLastCompassion()
Removes the last compassion added to this module.
addCompassion(BDD,
BDD),
compassionNum(),
pCompassionAt(int),
qCompassionAt(int),
allPCompassion(),
allQCompassion()public abstract int compassionNum()
Getter for the number of compassion condition defined in the module.
addCompassion(BDD,
BDD),
popLastCompassion(),
pCompassionAt(int),
qCompassionAt(int),
allPCompassion(),
allQCompassion()public abstract BDD pCompassionAt(int i)
Getter for a P part of the compassion condition defined at the given index in the module.
i - The index of the compassion condition to return.
addCompassion(BDD,
BDD),
popLastCompassion(),
compassionNum(),
qCompassionAt(int),
allPCompassion(),
allQCompassion()public abstract BDD qCompassionAt(int i)
Getter for a Q part of the compassion condition defined at the given index in the module.
i - The index of the compassion condition to return.
addCompassion(BDD,
BDD),
popLastCompassion(),
compassionNum(),
pCompassionAt(int),
allPCompassion(),
allQCompassion()public abstract BDD[] allPCompassion()
Getter for all the p's, of the compassion requirements of the module.
addCompassion(BDD,
BDD),
popLastCompassion(),
compassionNum(),
pCompassionAt(int),
qCompassionAt(int),
allQCompassion()public abstract BDD[] allQCompassion()
Getter for all the q's, of the compassion requirements of the module.
addCompassion(BDD,
BDD),
popLastCompassion(),
compassionNum(),
pCompassionAt(int),
qCompassionAt(int),
allPCompassion()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".
The line numbers are the line numbers of that algorithm. Read the article for further details.
feasible in class ModuleWithWeakFairnessModule.feasible(),
ModuleWithWeakFairness.feasible()public BDD feasible2()
Version which allows justice and compassion requirement to refer to the next state.
feasible2 in class ModuleWithWeakFairnessfeasible(),
Module.feasible2(),
ModuleWithWeakFairness.feasible2()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||