DocumentCode
2325454
Title
Evolving programs with parameters and loops
Author
Wijesinghe, Gayan ; Ciesielski, Vic
Author_Institution
Sch. of Comput. Sci. & Inf. Technol., RMIT Univ., Melbourne, VIC, Australia
fYear
2010
fDate
18-23 July 2010
Firstpage
1
Lastpage
8
Abstract
At the current state of the art, genetic programs do not contain two constructs that commonly occur in programs written by humans, that is, loops and functions with parameters. In this paper we describe an investigation into the evolution of programs for a problem that can only be solved by evolving a parameterised program with one or more loops. We provide training examples of the desired program behaviour for a number of problem sizes and require the evolution of a program P(n) that will give the correct output for any value of n. We have chosen a problem, that of reproducing a binary string to a given number of bits, that can be made harder or easier by adjusting various aspects of the formulation. We are interested seeing in which formulations lead to success and which do not. We conclude that programs with parameters and loops can be successfully evolved if the search space is appropriately restricted by (1) grammars which restrict the possible program structures, (2) limits on program depth and (3) limits on the range of random constants.
Keywords
genetic algorithms; grammars; program control structures; binary string; genetic program; grammar; parameterised program; program behaviour; program evolution; program loop; program parameter; program structure; random constant; search space; Complexity theory; Genetic programming; Grammar; Indexes; Sorting; Testing; Training;
fLanguage
English
Publisher
ieee
Conference_Titel
Evolutionary Computation (CEC), 2010 IEEE Congress on
Conference_Location
Barcelona
Print_ISBN
978-1-4244-6909-3
Type
conf
DOI
10.1109/CEC.2010.5586018
Filename
5586018
Link To Document