Class GoalOrientedSearchGraph
java.lang.Object
com.google.adk.planner.goap.GoalOrientedSearchGraph
Transforms
AgentMetadata into a dependency graph where:
- Each output key maps to the agent that produces it
- Each output key maps to the input keys (dependencies) required to produce it
Used by DependencyGraphSearch for backward-chaining dependency resolution.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the given output key is known in this graph.com.google.common.collect.ImmutableList<String> getDependencies(String outputKey) Returns the input keys (dependencies) needed to produce the given output key.getProducerAgent(String outputKey) Returns the agent name that produces the given output key.
-
Constructor Details
-
GoalOrientedSearchGraph
-
-
Method Details
-
getDependencies
-
getProducerAgent
-
contains
Returns true if the given output key is known in this graph.
-