|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectuchicago.src.sim.games.AlwaysCooperate
| Method Summary | |
GameChoice |
calculateMove(GameChoice opponentMove)
Returns a new GameChoice. |
static AlwaysCooperate |
getInstance()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public static AlwaysCooperate getInstance()
public GameChoice calculateMove(GameChoice opponentMove)
Strategy
calculateMove in interface Strategypublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||