|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuchicago.src.sim.engine.SimModelImpl
uchicago.src.repastdemos.enn.EnnBase
uchicago.src.repastdemos.enn.EnnBatchModel
public class EnnBatchModel
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. Batch version of the EnnModel - virtually the same, but without any display classes, and an arbitrary run stop at 200 ticks
| Field Summary |
|---|
| Fields inherited from class uchicago.src.repastdemos.enn.EnnBase |
|---|
agentList, aspiration, bValue, DO_LOAD_GUI, DONT_LOAD_GUI, gridDensity, happyPlay, leftPercent, loadGui, recorder, schedule, shuffle, space, unhappyPlay, WORLD_X_SIZE, WORLD_Y_SIZE |
| Fields inherited from class uchicago.src.sim.engine.SimModelImpl |
|---|
descriptors, modelManipulator |
| Constructor Summary | |
|---|---|
EnnBatchModel()
|
|
| Method Summary | |
|---|---|
void |
begin()
Begins a simulation run. |
protected void |
initDataRecorder()
|
static void |
main(java.lang.String[] args)
|
void |
setup()
Prepares a model for a new run, typically by deallocating objects or setting them to some reasonable default. |
void |
stop()
Stops the simulation. |
| Methods inherited from class uchicago.src.repastdemos.enn.EnnBase |
|---|
buildModel, computeOAC, computeOSWA, computeRave, getAspiration, getBValue, getDoShuffle, getGridDensity, getHappyPlay, getInitParam, getLoadGui, getName, getPercentLeft, getSchedule, getUnhappyPlay, setAspiration, setBValue, setDoShuffle, setGridDensity, setHappyPlay, setLoadGui, setPercentLeft, setUnhappyPlay |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EnnBatchModel()
| Method Detail |
|---|
protected void initDataRecorder()
initDataRecorder in class EnnBasepublic void begin()
SimModel
public void setup()
SimModel
public void stop()
SimModelImpl
stop in class SimModelImplpublic static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||