Temporary out of order

This commit is contained in:
glax 2023-03-31 21:55:54 +02:00
parent ac77708834
commit 07ff9602b8

View File

@ -6,8 +6,8 @@ namespace Pathfinding;
public class Pathfinder
{
public static List<OsmNode> CustomAStar(string workingDir, Coordinates start, Coordinates goal, OsmEdge.speedType vehicle)
/*
public static List<OsmNode> 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;
}
}*/
}