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