Project #2a - Genetic Program

Evolutionary Computation
Spring 2014
Due March 7th

This is the first subproject of the GP project. The goal of this subproject is to create a population of GP tree structures for a symbolic regression problem.

If you want to use it, or refer to it, I have written a node and an individual class that uses pointers to build and evaluate random expression trees. Trees are build of nodes, which point to each other.

To compile the test main program use:
g++ test.cpp node.cpp individual.cpp

For this subproject you only need the following functionallity:

Individuals should represent expression trees, but may be coded as a different type of data structure (e.g. a tree stored in an array). For now you may choose your own fitness function, i.e. your own set of x,y points that the GP should evolved an expression to fit.
  • Project Write-up: Write a short paper describing the results of your project that includes the following sections: