@kometbomb/genetic-algorithm
v1.1.1
Published
Simple genetic algorithm helper class. Supports asynchronous fitness evaluation.
Downloads
17
Maintainers
Readme
genetic-algorithm
This is a rewrite or interpretation of sorts of @panchishin's geneticalalgorithm project. The main difference is that it is written in Typescript and supports asynchronous fitness evaluation (suitable for splitting the evaluation in multiple chunks for multi-threading, AWS Lambdas etc.). The interface is very close to the original and some other annoyances/unused features have been fixed.
Usage
See src/examples/weasel.ts
for a simple example.