Best factors for current heurisitc: roadPriority 0.0215, extraTime: 3
This commit is contained in:
parent
d497196f9f
commit
f525b88a3a
@ -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}");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user