|
||||||||||
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(net.sf.javabdd.BDD p,
net.sf.javabdd.BDD q)
Add strong (compassion) winning condition to the module. |
abstract int |
compassionNum()
Getter for the number of compassion condition defined in the module. |
abstract net.sf.javabdd.BDD |
pCompassionAt(int i)
Getter for a P part of the compassion condition defined at the given index in the module. |
abstract net.sf.javabdd.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, justiceAt, justiceNum |
Methods inherited from class edu.wis.jtlv.env.module.Module |
---|
addInitial, addVar, allPred, allSucc, conjunctTrans, disjunctTrans, getAllFields, getFullInstName, getName, getPath, initial, pred, prime, primeVars, succ, toString, trans, unprime, unprimeVars |
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(net.sf.javabdd.BDD p, net.sf.javabdd.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.compassionNum()
,
pCompassionAt(int)
,
qCompassionAt(int)
public abstract int compassionNum()
Getter for the number of compassion condition defined in the module.
addCompassion(BDD, BDD)
,
pCompassionAt(int)
,
qCompassionAt(int)
public abstract net.sf.javabdd.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)
,
compassionNum()
,
qCompassionAt(int)
public abstract net.sf.javabdd.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)
,
compassionNum()
,
pCompassionAt(int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |