Creating Objects Using Genetic Programming Techniques
Yandu Oppacher, Franz Oppacher, Dwight Deugo · 2009
Grammar-based object oriented genetic programming leverages the object oriented programming paradigm in evolutionary computation. The difference between our approach and others is that the resulting solution is a syntactically correct and executable Java program. Candidate solutions are created and tested against a JUnit test suite. Evolved solutions incorporate useful object oriented patterns. To create and compile the Java classes, a new framework for grammar-based genetic programming was created. The framework is entirely written in Java. By externally compiling and then loading the classes into the framework for testing, true object-oriented encapsulation is achieved. For the first time state and behavior are passed around as an object.