Interface IHeuristic<TStateData>
An interface that marks an implementation of a heuristic for estimating the value of a state in a specific domain
Namespace: Unity.AI.Planner
Syntax
public interface IHeuristic<TStateData>
where TStateData : struct
Type Parameters
Name | Description |
---|---|
TStateData |
Methods
Evaluate(TStateData)
Evaluate a state to provide an estimate
Declaration
float Evaluate(TStateData stateData)
Parameters
Type | Name | Description |
---|---|---|
TStateData | stateData | State to evaluate |
Returns
Type | Description |
---|---|
System.Single | Value estimate of the state |