|
||||||||||
| 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.gisModel.GisBugsModel
public class GisBugsModel
A simple model where "bugs" run around a landscape created out of a GIS raster file.
| Field Summary |
|---|
| Fields inherited from class uchicago.src.sim.engine.SimModelImpl |
|---|
descriptors, modelManipulator |
| Constructor Summary | |
|---|---|
GisBugsModel()
|
|
| Method Summary | |
|---|---|
void |
begin()
Begins a simulation run. |
java.lang.String[] |
getInitParam()
Gets the names of the initial model parameters to set. |
double |
getMaxDistance()
|
java.lang.String |
getName()
Gets the name of the model/simulation. |
int |
getNumAgents()
|
int |
getPause()
|
float |
getRandomMoveProbability()
|
Schedule |
getSchedule()
Gets the Schedule created by the model. |
static void |
main(java.lang.String[] args)
|
void |
setMaxDistance(double max)
|
void |
setNumAgents(int agents)
|
void |
setPause(int tick)
|
void |
setRandomMoveProbability(float chance)
|
void |
setup()
Prepares a model for a new run, typically by deallocating objects or setting them to some reasonable default. |
void |
step()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GisBugsModel()
| Method Detail |
|---|
public void step()
public void begin()
SimModel
public void setup()
SimModel
public int getNumAgents()
public void setNumAgents(int agents)
public float getRandomMoveProbability()
public void setRandomMoveProbability(float chance)
public double getMaxDistance()
public void setMaxDistance(double max)
public java.lang.String[] getInitParam()
SimModel
public Schedule getSchedule()
SimModel
public java.lang.String getName()
SimModel
public void setPause(int tick)
public int getPause()
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||