Automatic generation of object-oriented programs using genetic programming
Wilker Shane Bruce · 1996
This research addresses the application of genetic programming to the generation of object-oriented programs. An extended chromosome data structure is presented where the set of methods associated with an object is stored as an array of program trees. Modified genetic operators are defined to manipulate this structure. Indexed memory is used to allow the programs generated by the system to access and modify object memory. These extensions to the standard genetic programming environment result in a system that can simultaneously generate all of the methods associated with an object. Experiments were performed to compare sequential generation of individual object methods with two variants of simultaneous generation. The first variant used information about both method return values and object internal memory state in its fitness function. The second variant used information about method return values only. It was found that simultaneous generation of methods is po...