Ejemplo n.º 1
0
        public Population(char[] target, float mutationRate, int popMax)
        {
            this.Target       = target;
            this.MutationRate = mutationRate;
            this.PopMax       = popMax;

            for (int i = 0; i < popMax; i++)
            {
                CurrentPopulation.Add(new DNA(target.Length));
            }
        }