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.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ValidationResult validate(AgentScope agentScope)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait