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; }
public void SetUp() { ProblemsFolderPath = ProblemsFinder.FindProblemsFolderPath(); }