A hybrid approach to automatic programming for the object-oriented programming paradigm

  • Authors:
  • Nelishia Pillay;Caryl K. A. Chalmers

  • Affiliations:
  • University of KwaZulu-Natal;University of KwaZulu-Natal

  • Venue:
  • Proceedings of the 2007 annual research conference of the South African institute of computer scientists and information technologists on IT research in developing countries
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper describes a first attempt at automatically inducing object-oriented programs. The system implemented for this purpose uses a rule-based expert system to firstly derive an object-oriented design (OOD) for the problem instance. Input to the system is a description of the entities in the given domain and their corresponding behaviors. The induced OOD is then input to a genetic programming (GP) system to automatically generate the programs representing the classes. Each class program is evolved in an internal representation language. In order to test the system a translator was developed to convert the evolved class programs to Java. The hybrid system was used to induce object-oriented programs typical of a first course on object-oriented programming (OOP). The paper presents a comparison of the evolved programs to that written by programmers.