Companion
Companion object with factories for AIAgentPlannerStrategy
Functions
Link copied to clipboard
Creates a new instance of AIAgentPlannerStrategyBuilder with the specified name.
Link copied to clipboard
fun <Input : Any, Output : Any, State : GoapAgentState<Input, Output>> goap(name: String, initializeState: (Input) -> State, defineGoap: GOAPStrategyBuilder<Input, Output, State>.() -> Unit): AIAgentPlannerStrategy<Input, Output, State>
Creates a Goal-Oriented Action Planning (GOAP) strategy for an AI agent.
Link copied to clipboard
operator fun <State : Any> invoke(name: String, planner: AIAgentPlanner<State, *>): AIAgentPlannerStrategy<State, State, State>
Creates an instance of AIAgentPlannerStrategy with the specified name and planner.