public class WorkerBehavior extends PrivateDriverBehavior
Constructor and Description |
---|
WorkerBehavior(DriverBody agentBody,
Round round,
Personality personality,
org.liris.smartgov.simulator.core.environment.SmartGovContext context,
java.util.Random random)
WorkerBehavior constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
setUpListeners() |
provideAction
addRoundDepartureListener, addRoundEndListener, getRound
getContext, getCosts, getDestination, getOrigin, refresh, setCosts, updateAgentBodyPlan
public WorkerBehavior(DriverBody agentBody, Round round, Personality personality, org.liris.smartgov.simulator.core.environment.SmartGovContext context, java.util.Random random)
agentBody
- associated bodyround
- round to performpersonality
- personality associated to the agentcontext
- currentContextrandom
- an instantiated randompublic void setUpListeners()
setUpListeners
in class DriverBehavior