Package | Description |
---|---|
magma.agent.belief.impl | |
magma.agent.flags | |
magma.agent.flags.impl |
Constructor and Description |
---|
SimpleFlagBelief(java.lang.String name,
IThoughtModel thoughtModel,
Flag flag) |
Modifier and Type | Method and Description |
---|---|
static Flag |
Flag.byName(java.lang.String name)
Search for a Flag with a given name.
|
static Flag |
Flag.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Flag[] |
Flag.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
IFlagModel.clear(Flag flag)
Clear the given flag (assign false).
|
boolean |
IFlagModel.isSet(Flag flag)
Check if the given flag is set or not.
|
void |
IFlagModel.set(Flag flag)
Set the given flag (assign true).
|
void |
IFlagModel.set(Flag flag,
boolean value)
Set the given flag to the specified value.
|
Modifier and Type | Method and Description |
---|---|
void |
FlagModel.clear(Flag flag) |
boolean |
FlagModel.isSet(Flag flag) |
void |
FlagModel.set(Flag flag) |
void |
FlagModel.set(Flag flag,
boolean value) |