… is a simplistic library for implementing genetic algorithms in Haskell. While it was originally created to randomly assign topics to students in seminars while respecting their priorities, since then, it has become slightly more general with the outlook of one day being a fully fledged GA library usable for many different problems. Haga is also used as a test bed for fun ideas such as representing improvements in the population's fitness using MIDI sound.
nix develop
cabal update
cabal build
nix develop
fish run
Compile with -threaded
as a GHC option. Then run with additional option +RTS -N
.
Use build-remote
to build first and then run-remote
to run it.