Modifier and Type | Field and Description |
---|---|
private java.util.Collection<Passenger> |
alreadyInstructed
The
Passenger s that he already instructed. |
private Desk |
desk
The desk it operates at.
|
private MathDistribution |
waitingTime
The distribution of waiting times.
|
activityModule, agent, map, movement, navigationModule, observations
Constructor and Description |
---|
BasicOperatorBorderControlActivity(Desk desk,
MathDistribution waitingTime)
Creates a border control activity for the border operator.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canStart(int timeStep)
Determines if the activity can start.
|
Position |
getActivityPosition()
Gets the activity position.
|
void |
startActivity()
Starts the activity.
|
void |
update(int timeStep)
Updates the updatable element.
|
endActivity, getActivityState, goToActivity, init, isFinished, isGoingToActivity, isInProgress
private java.util.Collection<Passenger> alreadyInstructed
Passenger
s that he already instructed.private Desk desk
private MathDistribution waitingTime
public BasicOperatorBorderControlActivity(Desk desk, MathDistribution waitingTime)
desk
- The desk.waitingTime
- The distribution of waiting times.public boolean canStart(int timeStep)
Activity
public Position getActivityPosition()
Activity
getActivityPosition
in class Activity
public void startActivity()
Activity
startActivity
in class Activity
public void update(int timeStep)
Updatable
timeStep
- The time step of the simulation (in milliseconds).