Exemplo n.º 1
0
 public static void GetMoreAndLessFit(Genome gen2, Genome gen1, out Genome moreFit, out Genome lessFit)
 {
     if (gen1.OriginalFitness >= gen2.OriginalFitness)
     {
         moreFit = gen1;
         lessFit = gen2;
     }
     else
     {
         moreFit = gen2;
         lessFit = gen1;
     }
 }