public IEvolutionGame EvolutionnateGame()
        {
            IEvolutionGame last = this.currentGame.EvolutionnateGame();

            for (int generation = 1; generation <= numberOfGeneration; generation++)
            {
                last = last.EvolutionnateGame();
            }
            return(last);
        }
Beispiel #2
0
 public DTONextEvolution(IEvolutionGame game)
 {
     this.game = game;
 }
 public EvolutionUntil(int numberOfGeneration, IEvolutionGame currentGame)
 {
     this.numberOfGeneration = numberOfGeneration;
     this.currentGame        = currentGame;
 }