|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.games.Game
uchicago.src.repastdemos.enn.EnnGame
public class EnnGame
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. * *
| Constructor Summary | |
|---|---|
EnnGame()
|
|
| Method Summary | |
|---|---|
void |
play(GameAgent player,
java.util.List neighbors)
Plays the game. |
| Methods inherited from class uchicago.src.sim.games.Game |
|---|
getP1Payoff, getP2Payoff, setPayoffs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnnGame()
| Method Detail |
|---|
public void play(GameAgent player,
java.util.List neighbors)
player - the agent who plays its
neighboring agents and whose payoff is recalculated.neighbors - the neighbors of the playing agent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||