Evolving multi-line compilable c programs

Michael O’neill, Conor Ryan

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

We describe a Genetic Algorithm called Grammatical Evolution (GE) that can evolve complete programs in an arbitrary language using a variable length linear genome. The binary genome determines which production rules in a Backus Naur Form grammar definition are used in a genotype to phenotype mapping process to a program. Expressions and programs of arbitrary complexity may be evolved using this system. Since first describing this system, GE has been applied to other problem domains, and during this time GE has undergone some evolution. This paper serves to report these changes, and also describes how we evolved multi-line C-code to solve a version of the Santa Fe Ant Trail. The results obtained are then compared to results produced by Genetic Programming, and it is found that GE outperforms GP on this problem.

Original languageEnglish
Title of host publicationGenetic Programming - 2nd European Workshop, EuroGP 1999, Proceedings
EditorsRiccardo Poli, Peter Nordin, William B. Langdon, Terence C. Fogarty
PublisherSpringer Verlag
Pages83-92
Number of pages10
ISBN (Print)3540658998, 9783540658993
DOIs
Publication statusPublished - 1999
Event2nd European Workshop on Genetic Programming, EuroGP 1999 - Goteborg, Sweden
Duration: 26 May 199927 May 1999

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume1598
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference2nd European Workshop on Genetic Programming, EuroGP 1999
Country/TerritorySweden
CityGoteborg
Period26/05/9927/05/99

Fingerprint

Dive into the research topics of 'Evolving multi-line compilable c programs'. Together they form a unique fingerprint.

Cite this