Generate recursive C programs to solve a given problem
Switch branches/tags
Nothing to show
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.
GEInterface/src
grammars
grapher/src
headers
outputFiles
src
treeBuilder/src
trees
wrappers
.gitattributes
BradZacher_1194647_HonoursThesis_From_Pictures_to_Programs.pdf
Makefile
README.MD
build.xml
is-output.dat
settingsGA.txt
settingsGE.txt
treeBuilder.bash

README.MD

From Pictures to Programs with Genetic Programming

Genetic programming (GP) is a powerful and widely used tool for evolving complex programs. In the context of GP, recursive programs have always been a difficult problem to tackle. Their compact and expressive form may seem like an ideal candidate for GP, although their characteristic structure causes standard evolutionary techniques to be unable to reliably produce results. This project presents a method to adapt GP (through the use of grammatical evolution) and inform the algorithm's fitness function using a number of small fragments of the recursive function's call tree.

For full details, please read the included PDF thesis.

###Build

To build, this application requires GALib, as well as libGE.

  • Run the included Makefile to build the C++ GE.
  • Run the included Ant build script to build the Java GUI.

Usage

Launch the GUI application using the included bash script.

The application can be entirely controlled using the GUI - trees can be assembled and processed.

Some example trees can be found within the trees folder.