SGE: A Structured Representation for Grammatical Evolution

  • Nuno LourençoEmail author
  • Francisco B. Pereira
  • Ernesto Costa
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9554)


This paper introduces Structured Grammatical Evolution, a new genotypic representation for Grammatical Evolution, where each gene is explicitly linked to a non-terminal of the grammar being used. This one-to-one correspondence ensures that the modification of a gene does not affect the derivation options of other non-terminals, thereby increasing locality. The performance of the new representation is accessed on a set of benchmark problems. The results obtained confirm the effectiveness of the proposed approach, as it is able to outperform standard grammatical evolution on all selected optimization problems.


Genetic Programming Production Rule Derivation Tree Grammatical Evolution Executable Program 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.



This work was partially supported by Fundação para a Ciência e Tecnologia (FCT), Portugal, under the grant SFRH/BD/79649/2011.


  1. 1.
    Fagan, D., O’Neill, M., Galván-López, E., Brabazon, A., McGarraghy, S.: An analysis of genotype-phenotype maps in grammatical evolution. In: Esparcia-Alcázar, A.I., Ekárt, A., Silva, S., Dignum, S., Uyar, A.Ş. (eds.) EuroGP 2010. LNCS, vol. 6021, pp. 62–73. Springer, Heidelberg (2010)CrossRefGoogle Scholar
  2. 2.
    Field, A.P.: How to Design and Report Experiments. SAGE, Chicago (2003)Google Scholar
  3. 3.
    Keijzer, M., O’Neill, M., Ryan, C., Cattolico, M.: Grammatical evolution rules: the mod and the bucket rule. In: Foster, J.A., Lutton, E., Miller, J., Ryan, C., Tettamanzi, A.G.B. (eds.) EuroGP 2002. LNCS, vol. 2278, pp. 123–130. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  4. 4.
    Koza, J.R.: Genetic Programming: On the Programming of Computers by Means of Natural Selection. MIT Press, Cambridge, MA, USA (1992)zbMATHGoogle Scholar
  5. 5.
    Lourenço, N., Pereira, F.B., Costa, E.: An inquiry into the properties of structured grammatical evolution. Technical report, ECOS-CISUC (2014)Google Scholar
  6. 6.
    O’Neill, M., Ryan, C.: Grammatical Evolution: Evolutionary Automatic Programming in an Arbitrary Language. Kluwer Academic Publishers, Norwell (2003)CrossRefzbMATHGoogle Scholar
  7. 7.
    O’Neill, M., Brabazon, A., Nicolau, M., Garraghy, S.M., Keenan, P.: \(\Pi \)Grammatical Evolution. In: Deb, K., Tari, Z. (eds.) GECCO 2004. LNCS, vol. 3103, pp. 617–629. Springer, Heidelberg (2004)CrossRefGoogle Scholar
  8. 8.
    O’Neill, M., Hemberg, E., Gilligan, C., Bartley, E., McDermott, J., Brabazon, A.: GEVA - grammatical evolution in Java. Technical report (2008)Google Scholar
  9. 9.
    Rothlauf, F., Oetzel, M.: On the locality of grammatical evolution. In: Collet, P., Tomassini, M., Ebner, M., Gustafson, S., Ekárt, A. (eds.) EuroGP 2006. LNCS, vol. 3905, pp. 320–330. Springer, Heidelberg (2006)CrossRefGoogle Scholar
  10. 10.
    Ryan, C., Azad, R.M.A., Sheahan, A., O’Neill, M.: No coercion and no prohibition, a position independent encoding scheme for evolutionary algorithms - the chorus system. In: Foster, J.A., Lutton, E., Miller, J., Ryan, C., Tettamanzi, A.G.B. (eds.) EuroGP 2002. LNCS, vol. 2278, pp. 131–141. Springer, Heidelberg (2002)CrossRefGoogle Scholar
  11. 11.
    Urbano, P., Georgiou, L.: Improving grammatical evolution in santa fe trail using novelty search. Adv. Artif. Life ECAL 12, 917–924 (2013)Google Scholar
  12. 12.
    White, D.R., McDermott, J., Castelli, M., Manzoni, L., Goldman, B.W., Kronberger, G., Jaśkowski, W., O’Reilly, U.M., Luke, S.: Better gp benchmarks: community survey results and proposals. Genet. Programm. Evolvable Mach. 14(1), 3–29 (2013)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2016

Authors and Affiliations

  • Nuno Lourenço
    • 1
    Email author
  • Francisco B. Pereira
    • 1
    • 2
  • Ernesto Costa
    • 1
  1. 1.CISUC, Department of Informatics EngineeringUniversity of CoimbraCoimbraPortugal
  2. 2.Polytechnic Institute of CoimbraCoimbraPortugal

Personalised recommendations