From f525b88a3a53b2fb477b3e72c2534e246864414b Mon Sep 17 00:00:00 2001 From: glax Date: Mon, 24 Apr 2023 19:38:09 +0200 Subject: [PATCH] Best factors for current heurisitc: roadPriority 0.0215, extraTime: 3 --- Server/Server.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Server/Server.cs b/Server/Server.cs index 9517d75..edb8057 100644 --- a/Server/Server.cs +++ b/Server/Server.cs @@ -44,9 +44,8 @@ public class Server /* string parentFolder = new DirectoryInfo(workingDir).Parent!.FullName; - Pathfinder result = new Pathfinder(workingDir, 0.002, 0, - 0, 1, 30).AStar(start, - finish, Tag.SpeedType.car); + Pathfinder result = new Pathfinder(workingDir, 0.0215, 30).AStar(start, + finish, Tag.SpeedType.car, 3); Console.WriteLine($"Calc-time {result.pathResult!.calcTime} Path-length: {result.pathResult.pathNodes.Count} Visited-nodes: {result.gScore!.Count}");