|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Agent
turtlekit.kernel.Launcher
turtlekit.simulations.termites.TermiteLauncher
public class TermiteLauncher
Termite simulation launcher
Field Summary |
---|
Fields inherited from class turtlekit.kernel.Launcher |
---|
COMMUNITY |
Constructor Summary | |
---|---|
TermiteLauncher()
redefine this method is not compulsory, but it is where you have to initialize the simulation variables and specialy the patch variables and their properties(evaporation, diffusion...) |
Method Summary | |
---|---|
void |
addSimulationAgents()
This method is compulsory (abstract in super class). |
float |
getDensityRate()
|
int |
getNbOfTermites()
|
void |
setDensityRate(float add)
With these accessors this variable will be directly accessible during the simulation in the Launcher's properties Box, So you can change this value when doing a reset to obtain another simulation based on different parameters |
void |
setNbOfTermites(int add)
With these accessors this variable will be directly accessible during the simulation in the Launcher's properties Box |
Methods inherited from class turtlekit.kernel.Launcher |
---|
activate, addMyScheduler, addObserver, addObserver, addPatchVariable, addTurtle, addTurtle, addViewer, addViewer, addViewer, addViewer, addViewer, addViewer, end, getCellSize, getHeight, getSimulationName, getWidth, initGUI, initializePatchVariables, launchPython, live, setCellSize, setCyclePause, setHeight, setSimulationName, setWidth, setWrapModeOn, stopOrResumeSimulation |
Methods inherited from class madkit.kernel.Agent |
---|
connectAgencyToAgency, createPlace, createPlace, enableMobility, enableMobility, exitImmediatlyOnKill, getAgencyNamed, joinPlace, joinPlace, joinPlace, pause, receiveMessage, run, waitNextMessage, waitNextMessage |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TermiteLauncher()
Method Detail |
---|
public void setNbOfTermites(int add)
public int getNbOfTermites()
public void setDensityRate(float add)
public float getDensityRate()
public void addSimulationAgents()
addSimulationAgents
in class Launcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |