Galapagos is a simple, cross-plataform tool to visualize evolution in genetic programming, developed on DCC/UFMG, Brazil. It's free software released under GPLv3 license.
If are not on the mood for some compiling, binary versions are available on the bin/
folder.
Otherwise, to compile:
- Download Qt SDK on http://qt.nokia.com/downloads
- Run qmake on the base folder
- Compile using GNU Make (on Linux), XCode (on Mac OS X) or Visual Studio (on Windows)
- Run
To load an input file, first click on "Select file" to choose an input file, then on "Read file" to use it.
The input file must obey this format:
definition:
ops: (<node string>,<node degree>)
generation:
ind: <fitness> <tree in stack notation>
breed: <parents ids separated by space> -> <offspring id>
Where nodes
are nodes, terms
are terminal nodes, ind
is an individual and breed
is a breeding.
Individual ids and generation numbers are assigned by order of appearance, starting from 0.
A little example, showing the input file for simple arithmetic with <TAB>
as \t
and <SPACE>
as a single whitespace:
definition:
<TAB>nodes:<SPACE>(+,2)<SPACE>(-,2)<SPACE>(*,2)<SPACE>(/,2)<SPACE>(sqrt,1)<SPACE>(x,0)<SPACE>(y,0)
generation:
<TAB>ind:<TAB>0.1245<TAB>+<SPACE>1<SPACE>2
<TAB>ind:<TAB>0.2513<TAB>sqrt<SPACE>2<SPACE>+<SPACE>7<SPACE>10
<TAB>breed: 0<SPACE>1<SPACE>-><SPACE>0
<TAB>breed: 1<SPACE>1<SPACE>-><SPACE>1
Some more examples in the test/
folder.