random-genetic-algorithm

0.0.4 • Public • Published

This code demonstrates a simple genetic algorithm trying to evolve a population of strings to match a target string over several generations. It involves random string generation, selection, crossover, and mutation. Feel free to experiment with the parameters and understand how they affect the evolution process!

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i random-genetic-algorithm

    Weekly Downloads

    1

    Version

    0.0.4

    License

    ISC

    Unpacked Size

    2.95 kB

    Total Files

    3

    Last publish

    Collaborators

    • afraid-rebuke