Package com.embabel.agent.validation
Class GoapPathToCompletionValidator
-
- All Implemented Interfaces:
-
com.embabel.agent.validation.AgentValidator
@Component() public final class GoapPathToCompletionValidator implements AgentValidator
Validator that checks whether an agent definition has at least one possible path from its initial conditions, through available actions, to achieve its defined goals.
Uses the GOAP planner to validate that goals can be achieved through a sequence of actions. Reports specific errors when no such path exists.
-
-
Constructor Summary
Constructors Constructor Description GoapPathToCompletionValidator()
-
Method Summary
Modifier and Type Method Description ValidationResultvalidate(AgentScope agentScope)-
-
Method Detail
-
validate
ValidationResult validate(AgentScope agentScope)
-
-
-
-