public static enum Agent.Phase extends java.lang.Enum<Agent.Phase>
Amas.ExecutionPolicy
Enum Constant and Description |
---|
DECISION_AND_ACTION
Agent is deciding and acting
|
DECISION_AND_ACTION_DONE
Agent is ready to perceive or die
|
INITIALIZING
Agent haven't started to perceive, decide or act
|
PERCEPTION
Agent is perceiving
|
PERCEPTION_DONE
Agent is ready to decide
|
Modifier and Type | Method and Description |
---|---|
static Agent.Phase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Agent.Phase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Agent.Phase PERCEPTION
public static final Agent.Phase DECISION_AND_ACTION
public static final Agent.Phase INITIALIZING
public static final Agent.Phase PERCEPTION_DONE
public static final Agent.Phase DECISION_AND_ACTION_DONE
public static Agent.Phase[] values()
for (Agent.Phase c : Agent.Phase.values()) System.out.println(c);
public static Agent.Phase valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null