Class ParallelPlanner
java.lang.Object
com.google.adk.planner.ParallelPlanner
- All Implemented Interfaces:
Planner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Single<PlannerAction> firstAction(PlanningContext context) Select the first action to execute.io.reactivex.rxjava3.core.Single<PlannerAction> nextAction(PlanningContext context) Select the next action based on updated state and events.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Planner
initModifier and TypeMethodDescriptiondefault voidinit(PlanningContext context) Initialize the planner with context and available agents.
-
Constructor Details
-
ParallelPlanner
public ParallelPlanner()
-
-
Method Details
-
firstAction
Description copied from interface:PlannerSelect the first action to execute.- Specified by:
firstActionin interfacePlanner
-
nextAction
Description copied from interface:PlannerSelect the next action based on updated state and events.- Specified by:
nextActionin interfacePlanner
-