Esempio n. 1
0
        public virtual Genome breed()
        {
            Client c1 = clients.random_element();
            Client c2 = clients.random_element();

            if (c1.Score > c2.Score)
            {
                return(Genome.crossOver(c1.Genome, c2.Genome));
            }
            return(Genome.crossOver(c2.Genome, c1.Genome));
        }