|
||||||||||
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.hunt.HuntLauncher
public class HuntLauncher
Hunt simulation launcher
Field Summary |
---|
Fields inherited from class turtlekit.kernel.Launcher |
---|
COMMUNITY |
Constructor Summary | |
---|---|
HuntLauncher()
|
Method Summary | |
---|---|
void |
addSimulationAgents()
Override this method is compulsory (abstract). |
int |
getNbOfpredator()
|
int |
getNbOfprey()
|
int |
getPredatorVision()
|
void |
setNbOfpredator(int add)
|
void |
setNbOfprey(int add)
|
void |
setPredatorVision(int add)
|
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 HuntLauncher()
Method Detail |
---|
public void setNbOfprey(int add)
public int getNbOfprey()
public void setPredatorVision(int add)
public int getPredatorVision()
public void setNbOfpredator(int add)
public int getNbOfpredator()
public void addSimulationAgents()
Launcher
addSimulationAgents
in class Launcher
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |