• DocumentCode
    710056
  • Title

    Automatic programming using genetic programming

  • Author

    Igwe, Kevin ; Pillay, Nelishia

  • Author_Institution
    Sch. of Math., Stat. & Comput. Sci., Univ. of KwaZulu-Natal, Natal, South Africa
  • fYear
    2013
  • fDate
    15-18 Dec. 2013
  • Firstpage
    337
  • Lastpage
    342
  • Abstract
    Genetic programming (GP) is an evolutionary algorithm which explores a program space rather than a solution space which is typical of other evolutionary algorithms such as genetic algorithms. GP finds solutions to problems by evolving a program, which when implemented will produce a solution. This paper investigates the use of genetic programming for automatic programming. The paper focuses on the procedural/imperative programming paradigm. More specifically the evolution of programs using memory, conditional and iterative programming constructs is investigated. An internal representation language is defined in which to evolve programs. The generational GP algorithm was implemented using the grow method to create the initial population, tournament selection to choose parents and reproduction, crossover and mutation for regeneration purposes. The paper also presents a form of incremental learning which facilitates modularization. The GP approach to automatic programming was tested on ten programming problems that are usually presented to novice programmers in a first year procedural programming course of an undergraduate degree in Computer Science. The GP approach evolved solutions for all ten problems, with incremental learning needed in two instances to produce a solution.
  • Keywords
    automatic programming; computer science education; educational courses; further education; genetic algorithms; iterative methods; learning (artificial intelligence); automatic programming; computer science; evolutionary algorithm; generational GP algorithm; genetic algorithms; genetic programming; imperative programming paradigm; incremental learning; internal representation language; iterative programming constructs; procedural programming paradigm; tournament selection; Evolutionary computation; Genetics; IP networks; Programming; Runtime; automatic programming; genetic programming; incremental learning; modularization;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information and Communication Technologies (WICT), 2013 Third World Congress on
  • Conference_Location
    Hanoi
  • Type

    conf

  • DOI
    10.1109/WICT.2013.7113158
  • Filename
    7113158