|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.wis.jtlv.experimental.games.OldParallelGRGame
public class OldParallelGRGame
Nir Piterman, Amir Pnueli, and Yaniv Sa’ar. Synthesis of Reactive(1) Designs. In VMCAI, pages 364–380, Charleston, SC, Jenuary 2006.
To execute, create an object with two Modules, one for the system and the
other for the environment, and then just extract the strategy through
OldParallelGRGame#calculate_strategy().
| Nested Class Summary | |
|---|---|
class |
OldParallelGRGame.InnerX
|
| Field Summary | |
|---|---|
static java.util.HashMap<java.lang.Integer,BDD> |
idx2envTrans
|
static java.util.HashMap<java.lang.Integer,BDD> |
idx2sysTrans
|
| Constructor Summary | |
|---|---|
OldParallelGRGame(ModuleWithWeakFairness env,
ModuleWithWeakFairness sys)
for this implementation, pool_size must be set to 10. |
|
| Method Summary | |
|---|---|
void |
calculate_strategy(int kind)
Extracting an implementation from the set of possible strategies with the given priority to the next step. |
BDD |
envWinningStates()
Getter for the system's winning states. |
BDD |
firstPlayersWinningStates()
|
BDD |
gameInitials()
|
ModuleWithWeakFairness |
getEnvPlayer()
Getter for the environment player. |
ModuleWithWeakFairness |
getSysPlayer()
Getter for the system player. |
BDD[] |
playersWinningStates()
|
void |
printWinningStrategy()
Extracting an arbitrary implementation from the set of possible strategies. |
void |
runIt(int j,
int i,
int cy,
BDD X,
BDD start)
|
BDD |
secondPlayersWinningStates()
|
BDD |
sysWinningStates()
Getter for the environment's winning states. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.util.HashMap<java.lang.Integer,BDD> idx2sysTrans
public static java.util.HashMap<java.lang.Integer,BDD> idx2envTrans
| Constructor Detail |
|---|
public OldParallelGRGame(ModuleWithWeakFairness env,
ModuleWithWeakFairness sys)
throws GameException
env - sys -
GameException| Method Detail |
|---|
public void runIt(int j,
int i,
int cy,
BDD X,
BDD start)
public void printWinningStrategy()
Extracting an arbitrary implementation from the set of possible strategies.
printWinningStrategy in interface Gamepublic void calculate_strategy(int kind)
Extracting an implementation from the set of possible strategies with the given priority to the next step.
Possible priorities are:
3 - Z Y X.
7 - Z X Y.
11 - Y Z X.
15 - Y X Z.
19 - X Z Y.
23 - X Y Z.
kind - The priority kind.public ModuleWithWeakFairness getEnvPlayer()
Getter for the environment player.
public ModuleWithWeakFairness getSysPlayer()
Getter for the system player.
public BDD sysWinningStates()
Getter for the environment's winning states.
public BDD envWinningStates()
Getter for the system's winning states.
public BDD gameInitials()
gameInitials in interface Gamepublic BDD[] playersWinningStates()
playersWinningStates in interface Gamepublic BDD firstPlayersWinningStates()
firstPlayersWinningStates in interface TwoPlayersGamepublic BDD secondPlayersWinningStates()
secondPlayersWinningStates in interface TwoPlayersGame
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||