uchicago.src.sim.enn
Class EnnGame
java.lang.Object
|
+--uchicago.src.sim.games.Game
|
+--uchicago.src.sim.enn.EnnGame
- public class EnnGame
- extends Game
A partial implementation of Randal Picker's Endogenous
Neighborhood * game as described in his as yet unpublished
"Endogenous Neighborhoods and Norms." This simulation extends prior
work by Randal Picker. See "Simple Games in a Complex World: A
Generative Approach to the Adoption of Norms", 64 University of
Chicago Law Review 1225 (1997). Thanks to Randal Picker * for
allowing us to include this with Repast. * * Randall Picker's game
from Endogneous Neighborhoods and Norms. Here * an agent plays the
each of its neighbors in a 5x5 grid centered on the * agent. * *
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnnGame
public EnnGame()
play
public void play(GameAgent player,
List neighbors)
- Plays the game. The specified agent plays each of its neighbors
(the * members of the specified List) and its payoff is set
accordingly.
- Parameters:
player - the agent who plays its
neighboring agents and whose payoff is recalculated.neighbors - the neighbors of the playing agent
Bug reports and feature requests to RePast