+ rank_population();
+ qsort(population1, conf_pop_size, sizeof(struct individual *), cmp_individual);
+
+ if (dbg_evolution)
+ dump_penalties(population1);
+
+
+ breed_pop_size = conf_breed_pop_size * conf_pop_size;
+ breed_rbest_size = conf_breed_rbest * conf_pop_size;
+ if (dbg_evolution)
+ {
+ printf("Breeding parameters:\n");
+ printf(" %d individuals are created\n", breed_pop_size);
+ printf(" %d best individuals in old population are considered\n", breed_rbest_size);
+ }
+
+ mutate_pop_size = conf_mutate_pop_size * conf_pop_size;
+ mutate_rbest_size = conf_mutate_rbest * conf_pop_size;
+ if (dbg_evolution)
+ {
+ printf("Mutation parameters:\n");
+ printf(" %d individuals are created\n", mutate_pop_size);
+ printf(" %d best individuals in old population are considered\n", mutate_rbest_size);
+ }