Genetic algorithms with brainfuck.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
.travis.yml
LICENSE
README.md
pom.xml

README.md

brainfuck-on-genetics

This project explores genetic algorithms running with Brainfuck.

Backed by my own Brainfuck interpreter github.com/fxnn/brainfuck, these genetic algorithms modify Brainfuck programs according to a target function.

The sources contain

  • a general framework for building genetic algorithms (cf. de.fxnn.genetics) and
  • an implementation for Brainfuck programs (cf. de.fxnn.brainfuckongenetics).

Among the Brainfuck implementation are

  • fitness functions (cf. de.fxnn.brainfuckongenetics.fitness),
  • operators for modifying / mutating Brainfuck programs (cf. de.fxnn.brainfuckongenetics.operators) and
  • an interactive commandline interface (cf. de.fxnn.brainfuckongenetics.cli).

Build Status

Usage

Please note that you need to mvn install the github.com/fxnn/brainfuck project first, as it's not published in a public Maven repository.

$ git clone https://github.com/fxnn/brainfuck
$ cd brainfuck
$ mvn install
$ cd ..

Then you may build this project.

$ git clone https://github.com/fxnn/brainfuck-on-genetics
$ cd brainfuck-on-genetics
$ mvn package

Related work

Yet to come. Until then, have a look at the machine learning showcase on GitHub.

License

Licensed under MIT, see for LICENSE file.