JOURNAL ARTICLE

Genetic programming for evolving programs with recursive structures

Abstract

Loops and recursions are important structures in human written computer programs. While various loops have been successfully evolved with genetic programming (GP), automatic generation of programs with recursions has not been achieved. To fill this gap, this paper develops three new methods at different levels of generality to evolve programs with recursive structures using GP. These new methods are examined and compared with two GP methods with loops and a standard GP method on three mathematic/symbolic regression problems including repeating characteristics and three artificial Ant problems. The results show that the new methods outperform the two GP methods with loops and standard GP on all these problems in terms of the correctness of the evolved solutions and evolutionary training time. While the more specifically designed method achieves the best results, the more general methods can still find perfect solutions and can be applied to different problems.

Keywords:
Genetic programming Generality Correctness Computer science Symbolic regression Artificial intelligence Theoretical computer science Programming language

Metrics

3
Cited By
0.28
FWCI (Field Weighted Citation Impact)
11
Refs
0.84
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Evolutionary Algorithms and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Metaheuristic Optimization Algorithms Research
Physical Sciences →  Computer Science →  Artificial Intelligence
Viral Infectious Diseases and Gene Expression in Insects
Life Sciences →  Biochemistry, Genetics and Molecular Biology →  Molecular Biology

Related Documents

JOURNAL ARTICLE

Evolving Recursive Programs by Using Adaptive Grammar Based Genetic Programming

Man Leung WongTuen Mun

Journal:   Genetic Programming and Evolvable Machines Year: 2005 Vol: 6 (4)Pages: 421-455
JOURNAL ARTICLE

Evolving recursive programs by using adaptive grammar based genetic programming

Man Leung Wong

Journal:   Genetic Programming and Evolvable Machines Year: 2006 Vol: 7 (1)Pages: 127-127
BOOK-CHAPTER

Evolving Hierarchical and Recursive Teleo-reactive Programs through Genetic Programming

Mykel J. Kochenderfer

Lecture notes in computer science Year: 2003 Pages: 83-92
BOOK-CHAPTER

Evolving Programs: Genetic Programming

Year: 2009 Pages: 53-92
© 2026 ScienceGate Book Chapters — All rights reserved.