A simple evolutionary algorithm framework for Haskell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AI
.gitignore
.travis.yml
LICENSE
README.md
Setup.hs
SimpleEA.cabal

README.md

Build Status

SimpleEA is a Haskell library for evolutionary algorithms. It is written to be easy to understand and use.

A simple example program using the library is included in AI/SimpleEA.hs. The documentation is also available at Hackage.

Given a function for evaluating a genome's fitness, a function for probabilistic selection among a pool of genomes, and recombination and mutation operators, an infinite list of generations is produced. You can choose to take a predefined number of these generations or takeWhile a predicate holds (e.g. that the fitness is below some value).

Utility functions for analyzing a run and for producing plotting data is included in AI/SimpleEA/Utils.hs.