- Timestamp:
- 08/21/12 15:53:54 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning.Test/Program.cs
r8509 r8514 30 30 31 31 //IDataSource ds = TestLoad(typeof(XmlDataSource), file7); 32 IDataSource ds = TestLoad(typeof(OsmDataSource), file6);32 //IDataSource ds = TestLoad(typeof(OsmDataSource), file6); 33 33 //OsmGraph graph = new OsmGraph(ds); 34 34 35 35 //IGraph graphNew = TestGetRoutingGraph(ds); 36 //ExecuteBenchmark(graphNew, typeof(AStarAlgorithmV3), 2048, 1000); 36 //ExecuteBenchmark(graphNew, typeof(AStarAlgorithmV3), 262144, 20); 37 38 //IRouter router = new AStarAlgorithmV3(graphNew); 39 //long[] r = router.Calculate(266733493, 986825165); 40 ////long[] r = router.Calculate(998717680, 986825165); 37 41 38 42 //IDataSource ds = new DIMACSDataSource(fileNYCoords, fileNYArcs); … … 70 74 //TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb 71 75 76 TestLoadAndRouterNew(file6, typeof(AStarAlgorithmV3), 529102170, 31372732, false, true); // inz - hgb 72 77 //TestLoadAndRouterNew(file6, typeof(DijkstraAlgorithmV2), 529102170, 31372732, false, true); 73 78 //TestLoadAndRouterNew(file6, typeof(BidrectionalDijkstraAlgorithmV2), 529102170, 31372732, false, true); … … 166 171 Console.Write("Loading data ... "); 167 172 var sw = Stopwatch.StartNew(); 168 XmlDataSource xmlDs = new XmlDataSource(filepath); 173 //XmlDataSource xmlDs = new XmlDataSource(filepath); 174 IDataSource xmlDs = new OsmDataSource(filepath); 169 175 sw.Stop(); 170 176 Console.WriteLine("done.");
Note: See TracChangeset
for help on using the changeset viewer.