Uses of Record Class
com.tnsai.planning.PlanningAction
Packages that use PlanningAction
Package
Description
Planning system for goal-oriented agents.
Task list execution system for the Ralph Pattern.
-
Uses of PlanningAction in com.tnsai.planning
Methods in com.tnsai.planning that return PlanningActionModifier and TypeMethodDescriptionPlanningAction.Builder.build()static PlanningActionCreates a PlanningAction without method reference.Methods in com.tnsai.planning that return types with arguments of type PlanningActionModifier and TypeMethodDescriptionBackwardChainingPlanner.findActionsForGoal(PlanningGoal goal, Map<String, Object> state) Planner.findActionsForGoal(PlanningGoal goal, Map<String, Object> state) Finds actions that can help achieve a goal.UtilityAIPlanner.findActionsForGoal(PlanningGoal goal, Map<String, Object> state) BackwardChainingPlanner.findApplicableActions(Map<String, Object> state) Planner.findApplicableActions(Map<String, Object> state) Finds actions whose preconditions are satisfied.UtilityAIPlanner.findApplicableActions(Map<String, Object> state) default Optional<PlanningAction> Finds an action by name.BackwardChainingPlanner.getActions()Planner.getActions()Returns all registered actions.UtilityAIPlanner.getActions()UtilityAIPlanner.getActionsByUtility(Map<String, Object> state) Gets all actions sorted by utility (highest first).Creates a plan to achieve unsatisfied goals.default List<PlanningAction> Creates a plan with optional chaining.BackwardChainingPlanner.planForGoalWithChaining(PlanningGoal goal, Map<String, Object> state, int maxDepth) Plans for a single goal using backward chaining.UtilityAIPlanner.selectBestAction(Map<String, Object> state) Selects the action with highest utility score.Methods in com.tnsai.planning with parameters of type PlanningActionModifier and TypeMethodDescriptionUtilityAIPlanner.Builder.action(PlanningAction action) BackwardChainingPlanner.applyEffects(PlanningAction action, Map<String, Object> state) Planner.applyEffects(PlanningAction action, Map<String, Object> state) Simulates applying an action's effects to a state.UtilityAIPlanner.applyEffects(PlanningAction action, Map<String, Object> state) floatUtilityAIPlanner.calculateUtility(PlanningAction action, Map<String, Object> state) Calculates total utility score for an action.floatConsideration.evaluate(PlanningAction action, Map<String, Object> state) Evaluates this consideration for the given action and state.voidPlanExecutor.executeAction(PlanningAction action) Executes a single action on the role instance.default booleanPlanner.isPreconditionSatisfied(PlanningAction action, Map<String, Object> state) Checks if an action's precondition is satisfied.Method parameters in com.tnsai.planning with type arguments of type PlanningActionModifier and TypeMethodDescriptionUtilityAIPlanner.Builder.actions(List<PlanningAction> actions) static voidPlanExecutor.refuseProtectedSteps(Object roleInstance, List<PlanningAction> actions) Refuses planned actions that declare an execution policy or@Security. -
Uses of PlanningAction in com.tnsai.planning.tasklist
Method parameters in com.tnsai.planning.tasklist with type arguments of type PlanningActionModifier and TypeMethodDescriptionstatic TaskListTaskList.fromPlannerOutput(String name, List<PlanningAction> actions) Creates a TaskList from planner output, bridging GOAP planning to task execution.