From 793dd68cfd5813181b06d6be16064c158ca84710 Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 29 Jul 2024 04:28:07 +0200 Subject: [PATCH] changed _explorationMultiplier to 150 --- astar/Astar.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astar/Astar.cs b/astar/Astar.cs index 6080dcd..568df6c 100644 --- a/astar/Astar.cs +++ b/astar/Astar.cs @@ -9,7 +9,7 @@ namespace astar public class Astar(ValueTuple? priorityWeights = null, int? explorationMultiplier = null, float? nonPriorityRoadSpeedPenalty = null) { private readonly ValueTuple DefaultPriorityWeights = priorityWeights ?? new(0.7f, 1.08f, 0, 0); - private readonly int _explorationMultiplier = explorationMultiplier ?? 200; + private readonly int _explorationMultiplier = explorationMultiplier ?? 150; private readonly float _nonPriorityRoadSpeedPenalty = nonPriorityRoadSpeedPenalty ?? 0.9f; public Route FindPath(float startLat, float startLon, float endLat, float endLon, float regionSize, bool car = true, PathMeasure pathing = PathMeasure.Distance, string? importFolderPath = null, ILogger? logger = null)