Package org.baseagent
Class Pheromone
- All Implemented Interfaces:
MessageListener
,HasFineGridPosition
,HasGridPosition
,HasStep
,SimulationListener
,Drawable
A pheromone is a beacon that dissipates over time and eventually goes away
-
Nested Class Summary
Nested classes/interfaces inherited from class org.baseagent.sim.SimulationComponent
SimulationComponent.Type
-
Field Summary
Fields inherited from class org.baseagent.Agent
SIMPLE_ID_COUNTER
-
Constructor Summary
-
Method Summary
Methods inherited from class org.baseagent.Beacon
getSignalValueAt, getSignalValueAt, getType, reaches, reaches
Methods inherited from class org.baseagent.sim.GridAgent
continueMovingToward, drop, getCellX, getCellY, getDown, getFineX, getFineY, getGrid, getGridLayer, getGridLayer, getGridPosition, getHeading, getLeft, getObjectFromLayer, getObjectFromLayer, getObjectFromLayer, getRight, getUp, isAt, isAt, isOn, isOn, moveAlong, moveAlong, moveBackward, moveBackward, moveDelta, moveDelta, moveDown, moveForward, moveForward, moveLeft, moveRandomly, moveRandomly, moveRandomly, moveRight, moveTo, moveTo, moveToward, moveToward, moveToward, moveUp, placeAt, placeRandomly, placeRandomly, rotateDelta, rotateTo, setCell, setCell, setCellX, setCellY, setFineX, setFineY, setHeading, startMovingToward, startMovingToward, take, turnAround, turnLeft, turnRight
Methods inherited from class org.baseagent.ui.DrawableAgent
draw, getColor, getColorOrUse, getDrawable, getDrawX, getDrawY, removeDrawable, setColor, setDrawable, setDrawX, setDrawY
Methods inherited from class org.baseagent.Agent
addBehavior, addBehavior, getBehavior, getBehaviorPolicy, getBehaviors, getInventory, getKnowledge, getSimpleID, getState, give, isState, onMessageReceived, receive, removeBehavior, removeBehavior, sendDirectedMessage, sendMessage, setBehaviorPolicy, setKnowledge, setState, step, take
Methods inherited from class org.baseagent.sim.SimulationComponent
getSimulation, getUUID, setSimulation
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.baseagent.ui.Drawable
drawAfter, drawBefore
Methods inherited from interface org.baseagent.sim.SimulationListener
onAfterStepEnded, onAfterStepStarted, onBeforeStepEnded, onBeforeStepStarted, onSimulationComponentAdded, onSimulationComponentRemoved, onSimulationEnded, onSimulationPaused, onSimulationResumed, onSimulationStarted, onSimulationStopped, onStepEnded, onStepStarted
-
Constructor Details
-
Pheromone
public Pheromone()
-