|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<AgentEvent>
com.azalient.apo.enums.AgentEvent
public enum AgentEvent
Events fired for agents in the simulation
| Enum Constant Summary | |
|---|---|
ARRIVE
Fired when an agent arrives at a destination AgentEventArrive |
|
DEPART
Fired when an agent departs form an origin AgentEventDepart |
|
LANE
Fired when a vehicle changes lane AgentEventLane |
|
LINK
Fired when a vehicle leaves or joins a link AgentEventLink |
|
LOOP
Fired when a vehicle changes the state of a loop AgentEventLoop |
|
MOVE
Fired for every agent on every move AgentEventMove |
|
OCCUPANT_IN
Fired when a driver/passenger gets in to a private vehicle AgentEventOccupantIn |
|
OCCUPANT_OUT
Fired when a driver/passenger gets out of a private vehicle AgentEventOccupantOut |
|
PASSENGER_OFF
Fired when a passenger gets off public transport AgentEventPassengerOff |
|
PASSENGER_ON
Fired when a passenger gets on to public transport AgentEventPassengerOn |
|
SIGN
Fired when a vehicle passes a sign AgentEventSign |
|
STAND
Fired when a public transport vehicle arrives at a stand AgentEventStand |
|
STOP
Fired when an agent stops, as defined in the calibration parameters AgentEventStop |
|
TEST_ARRIVAL
Fired when an agent is making an arrival decision AgentEventTestArrival |
|
TEST_ROUTE
Fired when an agent is making a route decision AgentEventTestRoute |
|
TIMESTEP
Fired for every agent at every time step AgentEventTimeStep |
|
UNRELEASED
Fired when an agent can not be released at the origin because of congestion AgentEventUnreleased |
|
WALKWAY
Fired when a person joins or leaves a walkway AgentEventWalkway |
|
| Method Summary | |
|---|---|
int |
mask()
|
static AgentEvent |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AgentEvent[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AgentEvent DEPART
AgentEventDepart
public static final AgentEvent ARRIVE
AgentEventArrive
public static final AgentEvent TIMESTEP
AgentEventTimeStep
public static final AgentEvent MOVE
AgentEventMove
public static final AgentEvent LOOP
AgentEventLoop
public static final AgentEvent SIGN
AgentEventSign
public static final AgentEvent STAND
AgentEventStand
public static final AgentEvent LINK
AgentEventLink
public static final AgentEvent LANE
AgentEventLane
public static final AgentEvent WALKWAY
AgentEventWalkway
public static final AgentEvent TEST_ROUTE
AgentEventTestRoute
public static final AgentEvent TEST_ARRIVAL
AgentEventTestArrival
public static final AgentEvent UNRELEASED
AgentEventUnreleased
public static final AgentEvent STOP
AgentEventStop
public static final AgentEvent PASSENGER_ON
AgentEventPassengerOn
public static final AgentEvent PASSENGER_OFF
AgentEventPassengerOff
public static final AgentEvent OCCUPANT_IN
AgentEventOccupantIn
public static final AgentEvent OCCUPANT_OUT
AgentEventOccupantOut
| Method Detail |
|---|
public static AgentEvent[] values()
for (AgentEvent c : AgentEvent.values()) System.out.println(c);
public static AgentEvent valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic int mask()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||