Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/filiph/darwin

A genetic algorithm library for Dart.
https://github.com/filiph/darwin

Last synced: 21 days ago
JSON representation

A genetic algorithm library for Dart.

Awesome Lists containing this project

README

        

# darwin

[![Build Status](https://travis-ci.org/filiph/darwin.svg?branch=master)](https://travis-ci.org/filiph/darwin)

A genetic/evolutionary algorithm library for Dart. Given a population
of phenotypes, an evaluator (fitness function), and time, the algorithm
will evolve the population until it crosses given fitness threshold.

[Read more](https://en.wikipedia.org/wiki/Genetic_algorithm)
about genetic algorithms on Wikipedia.

Features of this library:

* Generic approach (anything can be a gene, as long as it can mutate)
* User can tune crossover probability, mutation rate, mutation strength, etc.
* Niching via [fitness sharing](https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.33.8352&rep=rep1&type=pdf)
* Multi-objective optimization via [Pareto rank](https://www.eng.auburn.edu/~aesmith/files/Multi-objective%20optimization%20using%20genetic%20algorithms.pdf)
* Experimental support for multi-threaded computation

For an up-to-date example use, please see `example/example.dart`.