public static enum AutoV2VDriver.State extends Enum<AutoV2VDriver.State>
Enum Constant and Description |
---|
ANALYZING_INTERSECTION_MANAGEMENT
The agent has not yet initiated communication with the
IntersectionManager and is determining what kind of management
is present at the intersection.
|
CRUISING
There was no intersection detected ahead - might just be too far.
|
V2V_CALCULATING_CLAIM
The agent is preparing to broadcast a CLAIM message.
|
V2V_CLAIMED
The agent is still broadcasting a CLAIM message, and has broadcast
it long enough to cross the intersection safely.
|
V2V_CLAIMING
The agent is broadcasting a CLAIM message, but has not broadcast it
long enough to cross the intersection safely.
|
V2V_LURKING
The agent is silently listening to the CLAIM messages of other vehicles
nearing the intersection.
|
V2V_TRAVERSING
The agent is traversing the intersection in accordance with its CLAIM
message.
|
Modifier and Type | Method and Description |
---|---|
static AutoV2VDriver.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AutoV2VDriver.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoV2VDriver.State ANALYZING_INTERSECTION_MANAGEMENT
public static final AutoV2VDriver.State CRUISING
public static final AutoV2VDriver.State V2V_LURKING
public static final AutoV2VDriver.State V2V_CALCULATING_CLAIM
public static final AutoV2VDriver.State V2V_CLAIMING
public static final AutoV2VDriver.State V2V_CLAIMED
public static final AutoV2VDriver.State V2V_TRAVERSING
public static AutoV2VDriver.State[] values()
for (AutoV2VDriver.State c : AutoV2VDriver.State.values()) System.out.println(c);
public static AutoV2VDriver.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.