|
||||||||||
| 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.FDSModule
public class FDSModule
An object which represent an FDS module.
Env.loadModule(String)| Constructor Summary | |
|---|---|
FDSModule(java.lang.String player_name)
The main constructor for this kind of module, which creates an empty module. |
|
FDSModule(java.lang.String player_name,
java.lang.String[] var_names)
A constructor which receive an array of variables to be declared with initiation. |
|
| Method Summary | |
|---|---|
void |
addInitial(net.sf.javabdd.BDD to_add)
Conjunct the initial condition with the given condition. |
void |
addJustice(net.sf.javabdd.BDD to_add)
Add weak (justice) winning condition to the module. |
void |
addVar(java.lang.String new_var)
Add a variable to the module. |
void |
conjunctTrans(net.sf.javabdd.BDD to_add)
Conjunct the transition relation with the given condition. |
void |
disjunctTrans(net.sf.javabdd.BDD to_add)
Disjunct the transition relation with the given condition. |
ModuleBDDField[] |
getAllFields()
Getter for all fields declared in this module. |
java.lang.String |
getFullInstName()
Getter for the instance string. |
java.lang.String |
getName()
Getter for the declared field name which holds this instance. |
java.lang.String |
getPath()
The path leading to this module. |
net.sf.javabdd.BDD |
initial()
Getter for the initial states in the module. |
net.sf.javabdd.BDD |
justiceAt(int i)
Getter for a justice condition defined at the given index in the module. |
int |
justiceNum()
Getter for the number of justice condition defined in the module. |
java.lang.String |
toString()
Prepare a string describing the module, its variables, define, statement, etc. |
net.sf.javabdd.BDD |
trans()
Getter for the transition relation of the module. |
| Methods inherited from class edu.wis.jtlv.env.module.Module |
|---|
allPred, allSucc, pred, prime, primeVars, succ, unprime, unprimeVars |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FDSModule(java.lang.String player_name)
player_name - The player name.
public FDSModule(java.lang.String player_name,
java.lang.String[] var_names)
player_name - The player name.var_names - An array of variables.
ModuleException - If there is a duplicate variable name.FDSModule(String)| Method Detail |
|---|
public void addVar(java.lang.String new_var)
throws ModuleException,
ModuleVariableException
ModuleAdd a variable to the module.
addVar in class Modulenew_var - The name of the new variable to add.
ModuleException - If there was a problem with adding the variable, e.g. a
variable with this name already exists.
ModuleVariableException
public void addInitial(net.sf.javabdd.BDD to_add)
throws ModuleException
ModuleConjunct the initial condition with the given condition.
addInitial in class Moduleto_add - The condition to add to the module.
ModuleException - If there was a problem with adding the condition, e.g. a
there where primed variables in the condition.Module.initial()
public void conjunctTrans(net.sf.javabdd.BDD to_add)
throws ModuleException
ModuleConjunct the transition relation with the given condition.
conjunctTrans in class Moduleto_add - The transition to conjunct with the module's transitions.
ModuleException - If there was a problem with adding relation.Module.trans(),
Module.disjunctTrans(BDD)
public void disjunctTrans(net.sf.javabdd.BDD to_add)
throws ModuleException
ModuleDisjunct the transition relation with the given condition.
disjunctTrans in class Moduleto_add - The transition disjunct with to the module's transitions.
ModuleException - If there was a problem with adding relation.Module.trans(),
Module.conjunctTrans(BDD)
public void addJustice(net.sf.javabdd.BDD to_add)
throws ModuleException
ModuleWithWeakFairnessAdd weak (justice) winning condition to the module.
addJustice in class ModuleWithWeakFairnessto_add - The winning condition to add to the module.
ModuleException - If there was a problem with adding the condition.ModuleWithWeakFairness.justiceNum(),
ModuleWithWeakFairness.justiceAt(int)public net.sf.javabdd.BDD initial()
ModuleGetter for the initial states in the module.
initial in class ModuleModule.addInitial(BDD)public net.sf.javabdd.BDD trans()
ModuleGetter for the transition relation of the module.
trans in class ModuleModule.disjunctTrans(BDD),
Module.conjunctTrans(BDD)public int justiceNum()
ModuleWithWeakFairnessGetter for the number of justice condition defined in the module.
justiceNum in class ModuleWithWeakFairnessModuleWithWeakFairness.addJustice(BDD),
ModuleWithWeakFairness.justiceAt(int)public net.sf.javabdd.BDD justiceAt(int i)
ModuleWithWeakFairnessGetter for a justice condition defined at the given index in the module.
justiceAt in class ModuleWithWeakFairnessi - The index of the justice condition to return.
ModuleWithWeakFairness.addJustice(BDD),
ModuleWithWeakFairness.justiceNum()public ModuleBDDField[] getAllFields()
ModuleGetter for all fields declared in this module.
getAllFields in class Modulepublic java.lang.String toString()
ModulePrepare a string describing the module, its variables, define, statement, etc.
toString in class Modulepublic java.lang.String getFullInstName()
ModuleGetter for the instance string.
getFullInstName in class Modulepublic java.lang.String getName()
ModuleGetter for the declared field name which holds this instance.
getName in class Modulepublic java.lang.String getPath()
ModuleThe path leading to this module.
getPath in class Module
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||