src/libpopulation.c: Changed insert code for more variance.
authorFlorian Forster <octo@leeloo.home.verplant.org>
Sat, 12 Jul 2008 09:37:51 +0000 (11:37 +0200)
committerFlorian Forster <octo@leeloo.home.verplant.org>
Sat, 12 Jul 2008 09:37:51 +0000 (11:37 +0200)
commitca8b232dea5a95b5b68d37c12d17d9ab0445695e
tree8389e035f1aa52c5432847853a9ae97aa961ca53
parent75002085c2d5746270796f0d0332752e52702331
src/libpopulation.c: Changed insert code for more variance.

The new code gives every individual a chance to get in the population,
and even the best known solution may be removed from the population.
That's why the best ever solution is stored separately, so it is not
"lost".

Hopefully this code creates some more diversion.
src/libpopulation.c