|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.wis.jtlv.old_lib.games.GR1Game
public class GR1Game
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
printWinningStrategy()
.
Field Summary | |
---|---|
BDD[][][] |
x_mem
|
BDD[][] |
y_mem
|
BDD[] |
z_mem
|
Constructor Summary | |
---|---|
GR1Game(ModuleWithWeakFairness env,
ModuleWithWeakFairness sys)
|
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. |
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 BDD[][][] x_mem
public BDD[][] y_mem
public BDD[] z_mem
Constructor Detail |
---|
public GR1Game(ModuleWithWeakFairness env, ModuleWithWeakFairness sys) throws GameException
GameException
Method Detail |
---|
public void printWinningStrategy()
Extracting an arbitrary implementation from the set of possible strategies.
printWinningStrategy
in interface Game
public 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 Game
public BDD[] playersWinningStates()
playersWinningStates
in interface Game
public BDD firstPlayersWinningStates()
firstPlayersWinningStates
in interface TwoPlayersGame
public BDD secondPlayersWinningStates()
secondPlayersWinningStates
in interface TwoPlayersGame
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |