From 07ff9602b884ed36b57052215c19483665566b93 Mon Sep 17 00:00:00 2001 From: glax Date: Fri, 31 Mar 2023 21:55:54 +0200 Subject: [PATCH] Temporary out of order --- Pathfinding/Pathfinder.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Pathfinding/Pathfinder.cs b/Pathfinding/Pathfinder.cs index 60f48b8..76cb637 100644 --- a/Pathfinding/Pathfinder.cs +++ b/Pathfinding/Pathfinder.cs @@ -6,8 +6,8 @@ namespace Pathfinding; public class Pathfinder { - - public static List CustomAStar(string workingDir, Coordinates start, Coordinates goal, OsmEdge.speedType vehicle) + /* + public static List CustomAStar(string workingDir, Coordinates start, Coordinates goal, OsmWay.speedType vehicle) { RegionManager regionManager = new RegionManager(workingDir); Region startRegion, goalRegion; @@ -48,7 +48,7 @@ public class Pathfinder } } - foreach (OsmEdge edge in closestNodeToGoal.edges) + foreach (OsmWay edge in closestNodeToGoal.edges) { OsmNode? neighbor = regionManager.GetNode(edge.neighborCoordinates); if (neighbor != null) @@ -100,5 +100,5 @@ public class Pathfinder } return closest; - } + }*/ } \ No newline at end of file