Skip to content

Releases: willi-kappler/darwin-rs

Some new functions

26 Jun 11:32
Compare
Choose a tag to compare
  • Allow user to specify num_of_global_fittest, fixes #12 .
  • Use error_chain.
  • Add output_every, to only output every nth time a new fittest individual is found.
  • Add share_every, to only share fittest individual after a number of iterations.

Fixing bugs, some new features

29 Aug 21:46
Compare
Choose a tag to compare
  • Write output into a log file instead of using print!().
  • Remove new() from trait Individual, provide reset() instead.
  • All mutexes removed.
  • User must now provide whole population but can now use shared configuration / data instead of using lazy_static.
  • Calculate_fitness now needs (&mut self).
  • Add option share_fittest to share the fittest individual between all population after each iteration.
  • Add ocr2 example.
  • Add optional method new_fittest_found() to write out some statistics. Default implementation does nothing.
  • Add fitness counter statistic to population.
  • Fix bug in parallelization using jobsteal.
  • Fix bug in TSP2 example.

Multiple populations

16 Aug 13:43
Compare
Choose a tag to compare

This release contains:

  • Code refactoring.
  • Better documentation.
  • Bug fix in the example.
  • Allow user to add multiple populations to a simulation.
  • Multi-Threading: Now for each population instead for each individual.

Polish

13 Jun 20:25
Compare
Choose a tag to compare

This fixes typos and clippy warnings. The only new feature: allow user to specify reset limit.