- Timestamp:
- 08/08/12 13:40:03 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning.Test/Program.cs
r8426 r8429 23 23 24 24 IDataSource ds = TestLoad(file6); 25 Graph.Graph graph = new Graph.Graph(ds);26 TestRouter(new DijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb27 TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb25 OsmGraph graph = new OsmGraph(ds); 26 //TestRouter(new DijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 27 //TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 28 28 TestRouter(new AStarAlgorithmV2(graph), 529102170, 31372732, false); // inz - hgb 29 TestRouter(new BidrectionalDijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb29 //TestRouter(new BidrectionalDijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 30 30 31 31 //TestLoadAndRouter(file6, typeof(DijkstraAlgorithm), 529102170, 31372732, false, false); // inz - hgb … … 96 96 Console.WriteLine("Loading Time: {0}", sw.Elapsed); 97 97 Console.WriteLine(); 98 Graph.Graph graph = new Graph.Graph(xmlDs);98 OsmGraph graph = new OsmGraph(xmlDs); 99 99 IRouter router = (IRouter)Activator.CreateInstance(routerType, graph); 100 100 Console.Write("Calculate route ... "); … … 122 122 } 123 123 124 private static void WriteGPXFile( Graph.Graph graph, long[] route, string file) {124 private static void WriteGPXFile(OsmGraph graph, long[] route, string file) { 125 125 XmlWriterSettings settings = new XmlWriterSettings(); 126 126 settings.Indent = true;
Note: See TracChangeset
for help on using the changeset viewer.