Package eu.su.mas.dedale.env
Enum Class Observation
- All Implemented Interfaces:
Serializable
,Comparable<Observation>
,Constable
Known by the user
The type of data the agents can observe from the environment
- Author:
- hc
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe name of an agent observed in the vicinitytreasure type of the entitytreasure type of the entitytreasure type of the entityThe lockpicking expertise of an agent, part of its expertiseThe status of a treasure locktreasure type of the entityA golem releases its stench in its vicinityThe strength of an agent, part of its expertiseA well generates wind around itself -
Method Summary
Modifier and TypeMethodDescriptiongetName()
toString()
static Observation
Returns the enum constant of this class with the specified name.static Observation[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GOLD
treasure type of the entity -
DIAMOND
treasure type of the entity -
ANY_TREASURE
treasure type of the entity -
NO_TREASURE
treasure type of the entity -
STENCH
A golem releases its stench in its vicinity -
WIND
A well generates wind around itself -
LOCKSTATUS
The status of a treasure lock -
STRENGH
The strength of an agent, part of its expertise -
LOCKPICKING
The lockpicking expertise of an agent, part of its expertise -
AGENTNAME
The name of an agent observed in the vicinity
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<Observation>
-
getName
-