|
||||||||||
| 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.jain.JainModel
public class JainModel
| Field Summary |
|---|
| Fields inherited from class uchicago.src.sim.engine.SimModelImpl |
|---|
descriptors, modelManipulator |
| Constructor Summary | |
|---|---|
JainModel()
|
|
| Method Summary | |
|---|---|
void |
begin()
Begins a simulation run. |
void |
buildDisplay()
|
void |
buildModel()
|
void |
createInitialLinks()
|
void |
createInitialPop()
|
java.lang.String[] |
getInitParam()
Gets the names of the initial model parameters to set. |
java.lang.String |
getLayoutType()
|
double |
getLinkProb()
|
java.lang.String |
getName()
Gets the name of the model/simulation. |
int |
getNumNodes()
|
Schedule |
getSchedule()
Gets the Schedule created by the model. |
int |
getUpdateEveryN()
|
int |
getWorldXSize()
|
int |
getWorldYSize()
|
void |
initialAction()
|
static void |
main(java.lang.String[] args)
|
void |
mainAction()
|
void |
removeInitialAction()
|
void |
setLayoutType(java.lang.String type)
|
void |
setLinkProb(double prob)
|
void |
setNumNodes(int n)
|
void |
setup()
Prepares a model for a new run, typically by deallocating objects or setting them to some reasonable default. |
void |
setUpdateEveryN(int updates)
|
void |
setWorldXSize(int size)
|
void |
setWorldYSize(int size)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JainModel()
| Method Detail |
|---|
public java.lang.String getLayoutType()
public void setLayoutType(java.lang.String type)
public void setUpdateEveryN(int updates)
public int getUpdateEveryN()
public double getLinkProb()
public void setLinkProb(double prob)
public void setNumNodes(int n)
public int getNumNodes()
public int getWorldXSize()
public void setWorldXSize(int size)
public int getWorldYSize()
public void setWorldYSize(int size)
public void buildModel()
public void removeInitialAction()
public void createInitialPop()
public void createInitialLinks()
public void initialAction()
public void mainAction()
public void buildDisplay()
public void begin()
SimModel
public void setup()
SimModel
public java.lang.String[] getInitParam()
SimModel
public Schedule getSchedule()
SimModel
public java.lang.String getName()
SimModel
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||