Skip to content

fxnn/brainfuck-on-genetics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages