Population.rnghas been promoted toPopulation.RNG. This makes it easier to implement custom models in another package thangago- Renamed
EnhancetoEvolvefor esthetics - Refactored parallel code for reusability
Unclaimed project
Are you a maintainer of eaopt? Claim this project to take control of your public changelog and roadmap.
Changelog
:four_leaf_clover: Evolutionary optimization library for Go (genetic algorithm, partical swarm optimization, differential evolution)
Population.rng has been promoted to Population.RNG. This makes it easier to implement custom models in another package than gagoEnhance to Evolve for estheticsThe Genome's Crossover method now has to be done in-place. Although this breaks the API it is well worth as it makes it more consistent and requires less boilerplate code for deep copying.
Fixed a bug where the individuals were evaluated twice when ParallelEval was true.
The best individuals are now stored in the HallOfFame field. This is a breaking change because the Best field does not exists anymore.
Individuals can now be evaluated in parallel thanks to the GA's ParallelEval field.