Temporary out of order
This commit is contained in:
parent
ac77708834
commit
07ff9602b8
@ -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;
|
||||
}
|
||||
}*/
|
||||
}
|
Loading…
Reference in New Issue
Block a user