Example #1
0
        protected override void Run()
        {
            var graphs  = GraphLoader.GetRandomGraphsVariety(10);
            var options = new BenchmarkOptions()
            {
                EarlyStopTime = 5000,
            };

            var scenarios = new List <BenchmarkScenario <int> >()
            {
                // GetNonCorridorScenario(graphs),
                GetCorridorScenario(graphs),
            };

            var scenarioGroup = new MinimumDistanceScenario().GetScenario(graphs, new MinimumDistanceScenario.Options());

            var generators = new List <ILevelGeneratorFactory <int> >()
            {
                GetNewGenerator <int>(options),
                GetOldGenerator <int>(options),
                GetNewGenerator <int>(options),
                GetOldGenerator <int>(options),
                //GetNewGenerator<int>(options, true),
                //GetOldGenerator<int>(options, true),

                //GetNewGenerator<int>(options),
                //GetNewGenerator<int>(options, optimizeCorridorConstraints: true, name: "CorCons"),
                //GetNewGenerator<int>(options),
                //GetNewGenerator<int>(options, optimizeCorridorConstraints: true, name: "CorCons"),

                // GetNewGenerator<int>(options),
                // GetBeforeMasterThesisGenerator<int>(options),
                // GetOldGenerator<int>(options),
                // GetOldGenerator<int>(options, true),
                // GetNewGenerator<int>(options),
            };

            // LoadFromFolder<int>();
            RunBenchmark(scenarios, generators);
            // RunBenchmark(scenarioGroup, generators);
        }
        protected override void Run()
        {
            var graphs  = GraphLoader.GetRandomGraphsVariety(20);
            var options = new BenchmarkOptions()
            {
                EarlyStopTime = 5000,
            };

            var scenarios = new List <BenchmarkScenario <int> >()
            {
                GetDeformedScenario(graphs),
                GetNormalScenario(graphs),
            };

            var generators = new List <ILevelGeneratorFactory <int> >()
            {
                GetOldGenerator <int>(options),
                GetNewGenerator <int>(options),
            };

            RunBenchmark(scenarios, generators);
        }