public static enum V2ICoordinator.State extends Enum<V2ICoordinator.State>
Enum Constant and Description |
---|
V2I_AWAITING_RESPONSE
The agent has sent a reservation request and is awaiting a response
from the IntersectionManager.
|
V2I_CLEARING
The agent has exited the intersection, but is still in the controlled
zone after the intersection.
|
V2I_DEFAULT_DRIVING_BEHAVIOR
The agent simply follows the current lane and does not enter
the intersection
|
V2I_LANE_CHANGE
The agent is considering whether it should change lane.
|
V2I_MAINTAINING_RESERVATION
The agent has received a confirmation from the IntersectionManager and
must now attempt to keep that confirmed reservation.
|
V2I_PLANNING
The agent is planning what to do next
|
V2I_PREPARING_RESERVATION
The agent is determining what the parameters of the requested
reservation will be.
|
V2I_TERMINAL_STATE
It signals the end of the interaction with the current V2I intersection
manager.
|
V2I_TRAVERSING
The agent is crossing the intersection in accordance with the
reservation it made with the IntersectionManager.
|
Modifier and Type | Method and Description |
---|---|
static V2ICoordinator.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static V2ICoordinator.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final V2ICoordinator.State V2I_PLANNING
public static final V2ICoordinator.State V2I_DEFAULT_DRIVING_BEHAVIOR
public static final V2ICoordinator.State V2I_LANE_CHANGE
public static final V2ICoordinator.State V2I_PREPARING_RESERVATION
public static final V2ICoordinator.State V2I_AWAITING_RESPONSE
public static final V2ICoordinator.State V2I_MAINTAINING_RESERVATION
public static final V2ICoordinator.State V2I_TRAVERSING
public static final V2ICoordinator.State V2I_CLEARING
public static final V2ICoordinator.State V2I_TERMINAL_STATE
public static V2ICoordinator.State[] values()
for (V2ICoordinator.State c : V2ICoordinator.State.values()) System.out.println(c);
public static V2ICoordinator.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2013. All rights reserved.