Any type of data.
Any type of data.
The grid for which to compute the path finding.
The topology of the grid.
A callback function used to determine if a cell is a blocking one.
Initializes the grid used to compute a path.
A mandatory step before calling the search method.
Should be called after the init method.
The start Position.
The end Position.
A block testing function, different from the constructor one.
Generated using TypeDoc
Represents a shortest path finder using the A Star algorithm.
See: https://en.wikipedia.org/wiki/A*_search_algorithm
It works for a 4 or 8 topology. The heuristic used is the Manhattan distance and the octile distance respectively.