FLUTTER ECOSYSTEM

filiph/darwin

A genetic algorithm library for Dart.

darwin project cover
Stars
41
Forks
12
Last push (UTC)
Jan 10, 2023
Project status
Active
Filip Hracek GitHub avatar
GITHUB User

Filip Hracek ↗

Builds games and silly software experiments in @flutter, @dart-lang and sometimes other technologies.

RaindeadPrague, CzechiaOfficial website ↗
LanguagesDart

Packages published by this repository

Dependencies used

Dependency list 3 items

Original README

English project snapshot. Visit GitHub for the latest content.

Expand / collapse project README

darwin

Build Status

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 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
  • Multi-objective optimization via Pareto rank
  • Experimental support for multi-threaded computation

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