Package "Graph" renamed to "GeoGraph"

This commit is contained in:
C9Glax 2022-11-17 20:39:50 +01:00
parent f1c7ff4b47
commit 94234b3498
3 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
using Graph;
using GeoGraph;
using Logging;
using astar;
using OSM_XML_Importer;
@ -43,7 +43,7 @@ switch (args.Length)
return;
}
Graph.Graph graph = Importer.Import(xmlPath, onlyJunctions, logger);
Graph graph = Importer.Import(xmlPath, onlyJunctions, logger);
Random r = new();
Route _route;

View File

@ -1,6 +1,6 @@
using Logging;
using Graph;
using Graph.Utils;
using GeoGraph;
using GeoGraph.Utils;
namespace astar
{
@ -10,7 +10,7 @@ namespace astar
private Dictionary<Node, float> goalDistance = new();
private Dictionary<Node, Node> previousNode = new();
public Route FindPath(Graph.Graph graph, Node start, Node goal, Logger? logger)
public Route FindPath(Graph graph, Node start, Node goal, Logger? logger)
{
logger?.Log(LogLevel.INFO, "From {0:000.00000}#{1:000.00000} to {2:000.00000}#{3:000.00000} Great-Circle {4:00000.00}km", start.lat, start.lon, goal.lat, goal.lon, Utils.DistanceBetweenNodes(start, goal)/1000);
List<Node> toVisit = new();

View File

@ -1,4 +1,4 @@
using Graph;
using GeoGraph;
namespace astar
{
public class Route