@kometbomb/genetic-algorithm
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i @kometbomb/genetic-algorithm

    Weekly Downloads

    7

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    18.7 kB

    Total Files

    4

    Last publish

    Collaborators

    • kometbomb