|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use GameChoice | |
|---|---|
| uchicago.src.sim.games | |
| Uses of GameChoice in uchicago.src.sim.games |
|---|
| Fields in uchicago.src.sim.games declared as GameChoice | |
|---|---|
static GameChoice |
GameChoice.COOPERATE
|
static GameChoice |
GameChoice.DEFECT
|
| Methods in uchicago.src.sim.games that return GameChoice | |
|---|---|
GameChoice |
TitForTat.calculateMove(GameChoice opponentLastMove)
Returns the opponent's last move. |
GameChoice |
Strategy.calculateMove(GameChoice opponentMove)
Returns a new GameChoice. |
GameChoice |
AntiTitForTat.calculateMove(GameChoice opponentLastMove)
Returns the opposite of the opponent's last move. |
GameChoice |
AlwaysDefect.calculateMove(GameChoice opponentMove)
|
GameChoice |
AlwaysCooperate.calculateMove(GameChoice opponentMove)
|
| Methods in uchicago.src.sim.games with parameters of type GameChoice | |
|---|---|
GameChoice |
TitForTat.calculateMove(GameChoice opponentLastMove)
Returns the opponent's last move. |
GameChoice |
Strategy.calculateMove(GameChoice opponentMove)
Returns a new GameChoice. |
GameChoice |
AntiTitForTat.calculateMove(GameChoice opponentLastMove)
Returns the opposite of the opponent's last move. |
GameChoice |
AlwaysDefect.calculateMove(GameChoice opponentMove)
|
GameChoice |
AlwaysCooperate.calculateMove(GameChoice opponentMove)
|
float |
PayoffMatrix.getColPayoff(GameChoice row,
GameChoice col)
|
float |
PayoffMatrix.getRowPayoff(GameChoice row,
GameChoice col)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||