Enum GroundedGameSystem.AgentFaction
- java.lang.Object
-
- java.lang.Enum<GroundedGameSystem.AgentFaction>
-
- net.sf.tweety.agents.dialogues.oppmodels.GroundedGameSystem.AgentFaction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<GroundedGameSystem.AgentFaction>
,java.lang.constant.Constable
- Enclosing class:
- GroundedGameSystem
public static enum GroundedGameSystem.AgentFaction extends java.lang.Enum<GroundedGameSystem.AgentFaction>
The factions of agents in this game.
-
-
Method Summary
Modifier and Type Method Description GroundedGameSystem.AgentFaction
getComplement()
static GroundedGameSystem.AgentFaction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static GroundedGameSystem.AgentFaction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRO
public static final GroundedGameSystem.AgentFaction PRO
-
CONTRA
public static final GroundedGameSystem.AgentFaction CONTRA
-
-
Method Detail
-
values
public static GroundedGameSystem.AgentFaction[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GroundedGameSystem.AgentFaction valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getComplement
public GroundedGameSystem.AgentFaction getComplement()
-
-