Struct SquareGridHeuristicProviderManhattanDistance
Implements
Namespace: AnyPath.Graphs.SquareGrid
Assembly: AnyPath.dll
Syntax
public struct SquareGridHeuristicProviderManhattanDistance : IHeuristicProvider<SquareGridCell>
Methods
Heuristic(SquareGridCell)
Declaration
public float Heuristic(SquareGridCell a)
Parameters
Type | Name | Description |
---|---|---|
SquareGridCell | a |
Returns
Type | Description |
---|---|
float |
SetGoal(SquareGridCell)
Declaration
public void SetGoal(SquareGridCell goal)
Parameters
Type | Name | Description |
---|---|---|
SquareGridCell | goal |