示例#1
0
        public void SolveOneWithWheels()
        {
            //var seed = Guid.NewGuid().GetHashCode();
            var seed = -1635707027;

            Console.Out.WriteLine($"Seed: {seed}");
            var solver = new RandomWalkSolver(2, new Estimator(true, false, false), new Random(seed), 100, usePalka: true, useWheels: true);

            SolveOneProblem(solver, 22);
        }
示例#2
0
        public void SolveOne()
        {
            //var seed = Guid.NewGuid().GetHashCode();
            var seed = -1635707027;

            Console.Out.WriteLine($"Seed: {seed}");
            var solver = new RandomWalkSolver(2, new Estimator(false, zakoulochki: false, collectDrill: false), new Random(seed), 100, usePalka: true, false);

            SolveOneProblem(solver, 22);
        }
示例#3
0
        public void SolvePuzzleOneWithWheelsRandom()
        {
            //var seed = Guid.NewGuid().GetHashCode();
            var seed = -1635707027;

            Console.Out.WriteLine($"Seed: {seed}");
            var solver0 = new StupidSolver(true);
            var solver1 = new ParallelDeepWalkSolver(2, new Estimator(false, false, false), usePalka: false, useWheels: false, useDrill: false, new BoosterType[0]);
            var solver  = new RandomWalkSolver(2, new Estimator(true, false, false), new Random(seed), 100, usePalka: true, useWheels: true);

            SolvePuzzleProblem(solver, 2);
        }