public class BasicOperatorCheckInActivity extends OperatorCheckInActivity
| Modifier and Type | Field and Description |
|---|---|
private java.util.Collection<Passenger> |
alreadyInstructed
The
Passengers 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 |
|---|
BasicOperatorCheckInActivity(Desk desk,
MathDistribution waitingTime)
Creates a check-in activity for the check-in 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, isInProgressprivate java.util.Collection<Passenger> alreadyInstructed
Passengers that he already instructed.private MathDistribution waitingTime
private Desk desk
public BasicOperatorCheckInActivity(Desk desk, MathDistribution waitingTime)
desk - The desk.waitingTime - The distribution of waiting times.public boolean canStart(int timeStep)
Activitypublic Position getActivityPosition()
ActivitygetActivityPosition in class Activitypublic void startActivity()
ActivitystartActivity in class Activitypublic void update(int timeStep)
UpdatabletimeStep - The time step of the simulation (in milliseconds).