|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<ISimulator.SimulationPhase>
com.azalient.api.a.ISimulator.SimulationPhase
public static enum ISimulator.SimulationPhase
An enumeration of phases within the main simulation loop
| Enum Constant Summary | |
|---|---|
FINISH
|
|
LOOK
LOOK phase calls AgentEventTimeStep.timeStep() |
|
MOVE
MOVE phase calls AgentEventMove.move() |
|
RELEASE
|
|
SORT
|
|
TRANSFER
|
|
WAIT
|
|
| Method Summary | |
|---|---|
static ISimulator.SimulationPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ISimulator.SimulationPhase[] |
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 ISimulator.SimulationPhase WAIT
public static final ISimulator.SimulationPhase RELEASE
public static final ISimulator.SimulationPhase MOVE
public static final ISimulator.SimulationPhase TRANSFER
public static final ISimulator.SimulationPhase SORT
public static final ISimulator.SimulationPhase LOOK
public static final ISimulator.SimulationPhase FINISH
| Method Detail |
|---|
public static ISimulator.SimulationPhase[] values()
for (ISimulator.SimulationPhase c : ISimulator.SimulationPhase.values()) System.out.println(c);
public static ISimulator.SimulationPhase 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 null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||