示例#1
0
        public ComputationManager(EnvironmentOf <Creature> environment)
        {
            myEnvironment = environment;

            Creature foreFather = GetForeFather();

            CreateComputationCores(foreFather);
        }
示例#2
0
        public MutationManager(EnvironmentOf <Creature> environment, StartPool <Creature> startPool, Creature foreFather)
        {
            soursePool    = startPool;
            myEnvironment = environment;

            reproductionPicker = environment.GetReproductionPicker();
            lastCreature       = foreFather;
        }
示例#3
0
 public ComputationCore(EnvironmentOf <Creature> environment, StartPool <Creature> startPool, Creature foreFather)
 {
     myEnvironment   = environment;
     mutationManager = new MutationManager <Creature>(environment, startPool, foreFather);
 }
示例#4
0
 public EvolutionManager(EnvironmentOf <Creature> environment, ComputationManager <Creature> computationManager)
 {
     this.environment        = environment;
     this.computationManager = computationManager;
     CountToCatastrofy       = CatastrofyPeriod;
 }