libpopulation.git
15 years agosrc/libpopulation.c: Changed insert code for more variance.
Florian Forster [Sat, 12 Jul 2008 09:37:51 +0000 (11:37 +0200)]
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.

15 years agosrc/libpopulation.c: Added code to send individuals to peers.
Florian Forster [Sat, 12 Jul 2008 09:32:06 +0000 (11:32 +0200)]
src/libpopulation.c: Added code to send individuals to peers.

15 years agoAdded a set method for serialization callback functions.
Florian Forster [Fri, 11 Jul 2008 15:35:12 +0000 (17:35 +0200)]
Added a set method for serialization callback functions.

15 years agosrc/libpopulation.c: Keep track of the fittest individual.
Florian Forster [Fri, 11 Jul 2008 15:27:27 +0000 (17:27 +0200)]
src/libpopulation.c: Keep track of the fittest individual.

So that the fittest doesn't _need_ to stay in the population all the
time..

15 years agoImport the initial code of the population library.
Florian Forster [Fri, 11 Jul 2008 11:10:05 +0000 (13:10 +0200)]
Import the initial code of the population library.