Package com.embabel.agent.api.common
Enum PlannerType
-
- All Implemented Interfaces:
-
java.io.Serializable,kotlin.Comparable
public enum PlannerType extends Enum<PlannerType>
Specifies the type of planner that an agent uses.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanneedsGoalsprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<PlannerType>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description GOAPGoal Oriented Action Planning. This is the default planner. It uses goals, actions and conditions to plan actions.
UTILITYUtility AI planning. This planner uses utility functions to evaluate actions.
SUPERVISOR
-
Method Summary
Modifier and Type Method Description final PlannerTypevalueOf(String value)Returns the enum constant of this type with the specified name. final Array<PlannerType>values()Returns an array containing the constants of this enum type, in the order they're declared. final BooleangetNeedsGoals()final EnumEntries<PlannerType>getEntries()Specifies the type of planner that an agent uses. -
-
Method Detail
-
valueOf
final PlannerType valueOf(String value)
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:
value- Whether the planner requires at least one goal to function.
-
values
final Array<PlannerType> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getNeedsGoals
final Boolean getNeedsGoals()
-
getEntries
final EnumEntries<PlannerType> getEntries()
Specifies the type of planner that an agent uses.
-
-
-
-