AIAgentPlanner

constructor(stateType: TypeToken? = null, planType: TypeToken? = null)(source)

Parameters

stateType

TypeToken of the State.

planType

TypeToken of the Plan.

stateType and planType are required for features which require serialization, e.g. persistence. if you use such features, you should provide the type tokens for the state and plan types. otherwise these parameters can be omitted.

Type Parameters

Input

The type of input provided to the planner.

Output

The type of output produced by the planner.

State

The internal state type managed by the planner.

Plan

The type of plan produced by buildPlan.