geneticalgorithm
geneticalgorithm copied to clipboard
A fully generalized implementation of the Genetic Algorithm usable on any json based Phenotype
Support for async function in abeatsb and fitnesstest
No examples or documentation about setting mutation rate or cross over probability? I'm pretty sure you must have thought about this while writing a Genetic Algorithm framework. If possible add...
In order to use config() to create new algorithms as variations of an existing algorithm, it should return objects containing pointers to the provided functions, and not just population and...
I've hosted your example on this CDN, you may link it in the readme to let others try without git clone https://islandhop.surge.sh/examples/islandHop.html
The phenotype JSON is cloned twice when populating, once in [populate](https://github.com/panchishin/geneticalgorithm/blob/master/index.js#L42) and once in [mutate](https://github.com/panchishin/geneticalgorithm/blob/master/index.js#L53). Looks like a nice library. Will try it out in the coming days :)
The mutation amount, not just probability but also amplitude (amount per mutation), is an important parameter. The use case is to set the amplitude parameter to a relatively high value...
This commit introduces a new randomFunction option to the geneticAlgorithmConstructor to (among other things) support the use of seeded random number generators (RNG) for generating consistent results across different runs....