- Timestamp:
- 08/07/12 15:35:05 (12 years ago)
- Location:
- branches/RoutePlanning
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/RoutePlanning/HeuristicLab.Algorithms.GraphRouting/3.3/AStarAlgorithmV2.cs
r8408 r8426 36 36 37 37 while (openList.Count > 0) { 38 NodeData data = openList.M ax;38 NodeData data = openList.Min; 39 39 openList.Remove(data); 40 40 openListLookup.Remove(data.Node); -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning.Test/Program.cs
r8423 r8426 22 22 string file6 = @"C:\dev\osmfiles\oberosterreich.highway.osm"; 23 23 24 //TestD(file5, 529102170, 1001363194, true, false); // inz - inz 25 //Test(file5, 529102170, 1001363194, true, false); // inz - inz 26 //Test(file6, 529102170, 1001363194, true, false); // inz - inz 27 28 //IDataSource ds = TestLoad(file6); 29 //Graph.Graph graph = new Graph.Graph(ds); 30 //TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 31 //TestRouter(new AStarAlgorithmV2(graph), 529102170, 31372732, false); // inz - hgb 24 IDataSource ds = TestLoad(file6); 25 Graph.Graph graph = new Graph.Graph(ds); 26 TestRouter(new DijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 27 TestRouter(new AStarAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 28 TestRouter(new AStarAlgorithmV2(graph), 529102170, 31372732, false); // inz - hgb 29 TestRouter(new BidrectionalDijkstraAlgorithm(graph), 529102170, 31372732, false); // inz - hgb 32 30 33 31 //TestLoadAndRouter(file6, typeof(DijkstraAlgorithm), 529102170, 31372732, false, false); // inz - hgb 34 32 //TestLoadAndRouter(file6, typeof(AStarAlgorithm), 529102170, 31372732, false, false); // inz - hgb 35 //TestLoadAndRouter(file6, typeof(AStarAlgorithmV2), 529102170, 31372732, false, false); // inz - hgb 33 //TestLoadAndRouter(file6, typeof(AStarAlgorithmV2), 529102170, 31372732, false, true); // inz - hgb 34 35 //TestLoadAndRouter(file6, typeof(DijkstraAlgorithm), 529102170, 1001363194, true, false); 36 //TestLoadAndRouter(file6, typeof(AStarAlgorithm), 529102170, 1001363194, true, false); 37 //TestLoadAndRouter(file6, typeof(AStarAlgorithmV2), 529102170, 1001363194, true, false); 38 //TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 1001363194, true, false); 36 39 37 40 //TestLoadAndRouter(file5, typeof(DijkstraAlgorithm), 529102170, 1001363194, true, false); 38 41 //TestLoadAndRouter(file5, typeof(BidrectionalDijkstraAlgorithm), 529102170, 1001363194, true, true); 39 TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb42 //TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb 40 43 41 44 System.Console.Read(); -
branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning/3.3/Osm/Way.cs
r8423 r8426 73 73 if (base.Tags.ContainsKey(TagConstants.OneWayTag)) { 74 74 string value = base.Tags[TagConstants.OneWayTag]; 75 return value.Equals(TagConstants.YesValue) || value.Equals(TagConstants.TrueValue); 76 } else if (base.Tags.ContainsKey(TagConstants.JunctionTagKey)) { 77 string value = base.Tags[TagConstants.JunctionTagKey]; 78 return value.Equals(TagConstants.RoundaboutValue); 75 return value.Equals(TagConstants.YesValue); 79 76 } else { 80 77 return false;
Note: See TracChangeset
for help on using the changeset viewer.