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;
|
string parentFolder = new DirectoryInfo(workingDir).Parent!.FullName;
|
||||||
|
|
||||||
Pathfinder result = new Pathfinder(workingDir, 0.002, 0,
|
Pathfinder result = new Pathfinder(workingDir, 0.0215, 30).AStar(start,
|
||||||
0, 1, 30).AStar(start,
|
finish, Tag.SpeedType.car, 3);
|
||||||
finish, Tag.SpeedType.car);
|
|
||||||
|
|
||||||
Console.WriteLine($"Calc-time {result.pathResult!.calcTime} Path-length: {result.pathResult.pathNodes.Count} Visited-nodes: {result.gScore!.Count}");
|
Console.WriteLine($"Calc-time {result.pathResult!.calcTime} Path-length: {result.pathResult.pathNodes.Count} Visited-nodes: {result.gScore!.Count}");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user