Exemplo n.º 1
0
        public static void ResetSimulation()
        {
            var problemsPath = ProblemsFinder.FindProblemsFolderPath();

            problem = ProblemLoader.LoadProblem(Path.Combine(problemsPath, "prob-150.desc"), null);

            controller = new ScoreNActionsController(problem, new SmartIslandController(problem, null));
            //controller = new ScoreNActionsController(problem, new IslandFinderController(problem, new ScoreNActionsController(problem, new DijkstraController(problem))));
            //controller = new CachingScoreTurnActionsController(problem, new SmartIslandController(problem, null));
            //controller = new ScoreTurnActionsController(problem, new SmartIslandController(problem, null));
            //controller = new ScoreTurnActionsController(problem, new IslandFinderController(problem, new ScoreSingleActionsController(problem, new DijkstraController(problem))));
            //controller = new IslandFinderController(problem, new ScoreSingleActionsController(problem, new DijkstraController(problem)));
            //controller = new ScoreTurnActionsController(problem, new ScoreSingleActionsController(problem, new DijkstraController(problem)));
            start = false;
        }
Exemplo n.º 2
0
 public void SetUp()
 {
     ProblemsFolderPath = ProblemsFinder.FindProblemsFolderPath();
 }