| Modifier and Type | Field and Description |
|---|---|
private BorderControlGateArea |
gate
The gate.
|
private Desk |
servingDesk
The serving desk.
|
private double |
waitingTimeLeft
Agent waited.
|
activityModule, agent, map, movement, navigationModule, observations| Constructor and Description |
|---|
BasicPassengerBorderControlActivity(Flight flight)
Creates a check-in activity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canStart(int timeStep)
Determines if the activity can start.
|
Position |
getActivityPosition()
Gets the activity position.
|
private java.util.List<Desk> |
getClosestDesks()
Gets the closest desk.
|
private Position |
getTemporaryPosition()
Gets a temporary position to prevent getting stuck behind other
passengers.
|
void |
goToActivity()
Sends the agent to the activity area.
|
void |
startActivity()
Starts the activity.
|
void |
update(int timeStep)
Updates the updatable element.
|
endActivity, getActivityState, init, isFinished, isGoingToActivity, isInProgressprivate BorderControlGateArea gate
private Desk servingDesk
private double waitingTimeLeft
public BasicPassengerBorderControlActivity(Flight flight)
flight - The flight.public boolean canStart(int timeStep)
Activitypublic Position getActivityPosition()
ActivitygetActivityPosition in class Activityprivate java.util.List<Desk> getClosestDesks()
private Position getTemporaryPosition()
public void goToActivity()
ActivitygoToActivity in class Activitypublic void startActivity()
ActivitystartActivity in class Activitypublic void update(int timeStep)
UpdatabletimeStep - The time step of the simulation (in milliseconds).