Click or drag to resize

AlgorithmsAStar Method

Overload List
  NameDescription
Public methodStatic memberAStarTCell, TPoint(IGridTCell, TPoint, TPoint, TPoint)
Find the shortest path between a start and goal node. The distance between nodes(as defined by TPoint.DistanceFrom) are used as the heuristic and actual cost between nodes.In some cases the result may be unintuitive, and an overload specifying a different cost should be used. See AStar<TCell, TPoint>(IGrid<TCell, TPoint>, TPoint, TPoint, Func<TPoint, TPoint, float>, Func<TCell, bool>, Func<TPoint, TPoint, float>)
Public methodStatic memberAStarTCell, TPoint(IGridTCell, TPoint, TPoint, TPoint, FuncTPoint, TPoint, Single, FuncTCell, Boolean) Obsolete.
Find the shortest path between a start and goal node. The distance between nodes(as defined by TPoint.DistanceFrom) are used as the actual cost between nodes.In some cases the result may be unintuitive, and an overload specifying a different cost should be used. Using an overload with an appropriate distance function can solve the issue. See AStar<TCell, TPoint>(IGrid<TCell, TPoint>, TPoint, TPoint, Func<TPoint, TPoint, float>, Func<TCell, bool>, Func<TPoint, TPoint, float>)
Public methodStatic memberAStarTCell, TPoint(IGridTCell, TPoint, TPoint, TPoint, FuncTPoint, TPoint, Single, FuncTCell, Boolean, FuncTPoint, TPoint, Single)
Top
See Also