Interface IPolicyGraph
Interface for the policy graph
Namespace: Unity.AI.Planner
Syntax
public interface IPolicyGraph
Properties
NextAction
Action context for the optimal action at the root state of the graph
Declaration
ActionContext NextAction { get; }
Property Value
Type | Description |
---|---|
ActionContext |
Methods
Reset(Entity)
Resets the policy graph with a new state for the root
Declaration
void Reset(Entity stateEntity)
Parameters
Type | Name | Description |
---|---|---|
Entity | stateEntity | Entity corresponding to the state for the new policy root |
UpdatePlan(Entity)
Updates the policy root to the given state
Declaration
void UpdatePlan(Entity stateEntity)
Parameters
Type | Name | Description |
---|---|---|
Entity | stateEntity | Entity corresponding to the state for the new policy root |