PushGP

Description for class PushGP:

This class is a special control class used to implement experiments using the Push Genetic Programming (PushGP) system. PushGP is a system which uses genetic programming and the Push programming language to attempt to evolve solutions to a wide variety of problems. For more information on Push and PushGP, see the class PushInterpreter.

This class is appropriate for evolving Push programs which are only run once per fitness case.

To implement a PushGP experiment you will need to setup a PushGP object which overrides two methods: setup-fitness-test, which sets up a fitness test and compute-error, which is used to compute the fitness of an individual.

Additionally, other methods in this class are useful for configuring the genetic programming environment and a variety of parameters including population size, mutation rate, crossover rate, and the Push language interpreter set.

Finally, you may also wish to add custom instructions to the Push interpreter objects which manipulate data or trigger actions in the simulated world. The Push interpreter can be retrieved using the method get-interpreter, and adding instructions is documented in PushInterpreter.

Inherits from Object

Full API documentation for the class PushGP: