Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/07/12 15:35:05 (12 years ago)
Author:
spimming
Message:

#1894 various error fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/RoutePlanning/HeuristicLab.Problems.RoutePlanning.Test/Program.cs

    r8423 r8426  
    2222      string file6 = @"C:\dev\osmfiles\oberosterreich.highway.osm";
    2323
    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
    3230
    3331      //TestLoadAndRouter(file6, typeof(DijkstraAlgorithm), 529102170, 31372732, false, false); // inz - hgb
    3432      //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);
    3639
    3740      //TestLoadAndRouter(file5, typeof(DijkstraAlgorithm), 529102170, 1001363194, true, false);
    3841      //TestLoadAndRouter(file5, typeof(BidrectionalDijkstraAlgorithm), 529102170, 1001363194, true, true);
    39       TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb
     42      //TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb
    4043
    4144      System.Console.Read();
Note: See TracChangeset for help on using the changeset viewer.