# Uses of Record Class
com.google.adk.planner.goap.AgentMetadata

Packages that use AgentMetadata
Package
Description
com.google.adk.planner.goap
com.google.adk.planner.p2p

- ## Uses of AgentMetadata in com.google.adk.planner.goap

  Method parameters in com.google.adk.planner.goap with type arguments of type AgentMetadata
  Modifier and Type
  Method
  Description
  `com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<String>>`
  AStarSearchStrategy.`searchGrouped(GoalOrientedSearchGraph graph, List<AgentMetadata> metadata, Collection<String> preconditions, String goal)`
  `static com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<String>>`
  DependencyGraphSearch.`searchGrouped(GoalOrientedSearchGraph graph, List<AgentMetadata> metadata, Collection<String> preconditions, String goal)`
  Groups agents into parallelizable execution levels.
  `com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<String>>`
  DfsSearchStrategy.`searchGrouped(GoalOrientedSearchGraph graph, List<AgentMetadata> metadata, Collection<String> preconditions, String goal)`
  `com.google.common.collect.ImmutableList<com.google.common.collect.ImmutableList<String>>`
  SearchStrategy.`searchGrouped(GoalOrientedSearchGraph graph, List<AgentMetadata> metadata, Collection<String> preconditions, String goal)`
  Searches for agent execution groups that produce the goal.
  Constructor parameters in com.google.adk.planner.goap with type arguments of type AgentMetadata
  Modifier
  Constructor
  Description
  ``
  `GoalOrientedPlanner(String goal, List<AgentMetadata> metadata)`
  ``
  `GoalOrientedPlanner(String goal, List<AgentMetadata> metadata, boolean validateOutputs)`
  ``
  `GoalOrientedPlanner(String goal, List<AgentMetadata> metadata, SearchStrategy searchStrategy, ReplanPolicy replanPolicy)`
  ``
  `GoalOrientedSearchGraph(List<AgentMetadata> metadata)`

- ## Uses of AgentMetadata in com.google.adk.planner.p2p

  Constructor parameters in com.google.adk.planner.p2p with type arguments of type AgentMetadata
  Modifier
  Constructor
  Description
  ``
  `P2PPlanner(List<AgentMetadata> metadata, int maxInvocations)`
  Creates a P2P planner that exits only on maxInvocations.
  ``
  `P2PPlanner(List<AgentMetadata> metadata, int maxInvocations, BiPredicate<Map<String,Object>, Integer> exitCondition)`
  Creates a P2P planner with a custom exit condition.