Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/21/12 15:53:54 (10 years ago)
Author:
spimming
Message:

#1894: experimented with different settings in cost and heuristic function

File:
1 edited

Legend:

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

    r8509 r8514  
    3030
    3131      //IDataSource ds = TestLoad(typeof(XmlDataSource), file7);
    32       IDataSource ds = TestLoad(typeof(OsmDataSource), file6);
     32      //IDataSource ds = TestLoad(typeof(OsmDataSource), file6);
    3333      //OsmGraph graph = new OsmGraph(ds);
    3434
    3535      //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);
    3741
    3842      //IDataSource ds = new DIMACSDataSource(fileNYCoords, fileNYArcs);
     
    7074      //TestLoadAndRouter(file6, typeof(BidrectionalDijkstraAlgorithm), 529102170, 31372732, false, true); // inz - hgb
    7175
     76      TestLoadAndRouterNew(file6, typeof(AStarAlgorithmV3), 529102170, 31372732, false, true); // inz - hgb
    7277      //TestLoadAndRouterNew(file6, typeof(DijkstraAlgorithmV2), 529102170, 31372732, false, true);
    7378      //TestLoadAndRouterNew(file6, typeof(BidrectionalDijkstraAlgorithmV2), 529102170, 31372732, false, true);
     
    166171      Console.Write("Loading data ... ");
    167172      var sw = Stopwatch.StartNew();
    168       XmlDataSource xmlDs = new XmlDataSource(filepath);
     173      //XmlDataSource xmlDs = new XmlDataSource(filepath);
     174      IDataSource xmlDs = new OsmDataSource(filepath);
    169175      sw.Stop();
    170176      Console.WriteLine("done.");
Note: See TracChangeset for help on using the changeset viewer.