diff --git a/astar/Astar.cs b/astar/Astar.cs index becd61c..a73360f 100644 --- a/astar/Astar.cs +++ b/astar/Astar.cs @@ -8,9 +8,9 @@ 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 ?? 150; - private readonly float _nonPriorityRoadSpeedPenalty = nonPriorityRoadSpeedPenalty ?? 0.9f; + private readonly ValueTuple DefaultPriorityWeights = priorityWeights ?? new(.6f, 1, 0, 0); + private readonly int _explorationMultiplier = explorationMultiplier ?? 1500; + private readonly float _nonPriorityRoadSpeedPenalty = nonPriorityRoadSpeedPenalty ?? 0.75f; 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) {