public void Setup()
        {
            var weightCount = getNewBrain(SimpleSweeper.BrainInputs, SimpleSweeper.BrainOutputs).AllWeightsCount();

            Population = new Population(new GeneticAlgorithm(Settings));
            Population.Populate(Settings.SweeperCount, weightCount);

            _sweepers = createSweepers(Settings.SweeperCount).ToList();
            for (int i = 0; i < _sweepers.Count; i++)
            {
                _sweepers[i].Brain.UpdateGenome(Population.Genomes[i]);
            }

            _mines.AddRange(getMines(Settings.MineCount));
        }
        public void Setup()
        {
            _sweepers = createSweepers(Settings.SweeperCount).ToList();

            Population = new Population(new GeneticAlgorithm(Settings));
            Population.Populate(_sweepers.Select(x => x.Brain.Genome));

            createNewObjects();
        }
        public void Setup()
        {
            _sweepers = createSweepers(Settings.SweeperCount - 1).ToList();

            Population = new Population(new GeneticAlgorithm(Settings));
            Population.Populate(_sweepers.Select(x => x.Brain.Genome));

            Population.Genomes.Add(new EliteSweeper2070Genome());

            _mines.AddRange(getMines(Settings.MineCount));
        }