new BiBestFirstFinder(allowDiagonal, [heuristic])
Bi-direcitional Best-First-Search path-finder.
- Source:
- ./src/modules/BiBestFirst.js, line 9
Parameters:
Name | Type | Argument | Description |
---|---|---|---|
allowDiagonal |
boolean | Whether diagonal movement is allowed. | |
heuristic |
function(number, number): number |
<optional> |
Heuristic function being used to estimate the distance(defaults to manhattan). |