diff --git a/dist/index.d.ts b/dist/index.d.ts index 6bf4456..f0ea79d 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -3856,7 +3856,7 @@ interface PathFinderOpts { * Weight to apply to the heuristic in the A* formula `F = G + weight * H`. * * Use this option only if you understand the underlying A* algorithm mechanics! - * @default 1 + * @default 1.2 */ heuristicWeight?: number; diff --git a/src/path-finder.ts b/src/path-finder.ts index 19799f1..7cc278b 100644 --- a/src/path-finder.ts +++ b/src/path-finder.ts @@ -110,7 +110,7 @@ interface PathFinderOpts { * Weight to apply to the heuristic in the A* formula `F = G + weight * H`. * * Use this option only if you understand the underlying A* algorithm mechanics! - * @default 1 + * @default 1.2 */ heuristicWeight?: number;