Struct LineGraphHeuristic
Simple heuristic provider for LineGraph
Implements
Namespace: AnyPath.Graphs.Line
Assembly: AnyPath.dll
Syntax
public struct LineGraphHeuristic : IHeuristicProvider<LineGraphLocation>
Methods
SetGoal(LineGraphLocation)
Gets called by A* before the algorithm begins, keep track of the goal internally.
Declaration
public void SetGoal(LineGraphLocation goal)
Parameters
| Type | Name | Description |
|---|---|---|
| LineGraphLocation | goal |