Skip to main content

Mapping in Grammatical Evolution

  • Chapter
  • First Online:
Handbook of Grammatical Evolution

Abstract

The act of going from genotype to phenotype in Grammatical Evolution requires the application of a mapping process. This mapping process works in conjunction with a grammar, to transform an ordinary string of integers into a possible solution to a problem. In this chapter, the reader is exposed to the rich vein of research exploring mappings in Grammatical Evolution. A comprehensive survey of the field of Mapping in GE is presented before the chapter focuses on the main theme, Position Independent Mappings. Firstly πGE is presented outlining some of the benefits of the approach, before the reader is presented with a position independent mapping that utilises advances in mappings and grammars to present a very powerful variant of GE, TAGE. The chapter concludes by briefly exploring a highly complex developmental variant of the TAGE mapping.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 169.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    A grammar is said to be finitely ambiguous if all finite length sentences produced by that grammar cannot be analysed in an infinite number of ways.

References

  1. H. Abbass, N.X. Hoai, R.I.B. McKay, AntTAG: a new method to compose computer programs using colonies of ants, in Proceedings, 2002 World Congress on Computational Intelligence, vol. 2 (IEEE Press, New York, 2002), pp. 1654–1666. https://doi.org/10.1109/CEC.2002.1004490

    Google Scholar 

  2. R.M.A. Azad, A position independent representation for evolutionary automatic programming algorithms - the chorus system. Ph.D. Thesis, University of Limerick, Ireland, 2003

    Google Scholar 

  3. W. Banzhaf, A. Leier, Evolution on neutral networks in genetic programming, in Genetic Programming Theory and Practice III, ed. by T. Yu, R.L. Riolo, B. Worzel. Genetic Programming, vol. 9, chap. 14 (Springer, Ann Arbor, 2005), pp. 207–221. https://doi.org/10.1007/0-387-28111-8_14

  4. A. Brabazon, M. O’Neill, S. McGarraghy, Natural Computing Algorithms, Part V (Springer, Berlin, 2015)

    Book  Google Scholar 

  5. M.N.F. dos Santos Nicolau, Genetic algorithms using grammatical evolution. Ph.D. Thesis, University of Limerick, 2006

    Google Scholar 

  6. M. Ebner, M. Shackleton, R. Shipman, How neutral networks influence evolvability. Complexity 7(2), 19–33 (2001). https://doi.org/10.1002/cplx.10021

    Article  MathSciNet  Google Scholar 

  7. M. Ebner, P. Langguth, J. Albert, M. Shackleton, R. Shipman, On neutral networks and evolvability, in Proceedings of the 2001 Congress on Evolutionary Computation CEC2001, Seoul, Korea (IEEE Press, New York, 2001), pp. 1–8

    Google Scholar 

  8. D. Fagan, Analysing the genotype-phenotype map in grammatical evolution. Ph.D. Thesis, University College Dublin, Ireland, 2013. http://ncra.ucd.ie/papers/DavidFaganPhDThesis2014.pdf

  9. D. Fagan, M. O’Neill, E. Galván-López, A. Brabazon, S. McGarraghy, An analysis of genotype-phenotype maps in grammatical evolution, in Proceedings of the 13th European Conference on Genetic Programming, EuroGP 2010, Istanbul, ed. by A.I. Esparcia-Alcazar, A. Ekárt, S. Silva, S. Dignum, A.S. Uyar. Lecture Notes in Computer Science, vol. 6021 (Springer, Berlin, 2010), pp. 62–73. https://doi.org/10.1007/978-3-642-12148-7_6

  10. D. Fagan, M. Nicolau, M. O’Neill, E. Galván-López, A. Brabazon, S. McGarraghy, Investigating mapping order in πGE, in 2010 IEEE World Congress on Computational Intelligence, pp. 3058–3064, Barcelona, Spain (IEEE Computational Intelligence Society/IEEE Press, New York, 2010). https://doi.org/10.1109/CEC.2010.5586204

  11. D. Fagan, M. Nicolau, E. Hemberg, M. O’Neill, A. Brabazon, S. McGarraghy, Investigation of the performance of different mapping orders for GE on the Max problem, in Proceedings of the 14th European Conference on Genetic Programming, EuroGP 2011, Turin, Italy, ed. by S. Silva, J.A. Foster, M. Nicolau, M. Giacobini, P. Machado. Lecture Notes in Computer Science, vol. 6621 (Springer, Berlin, 2011), pp. 286–297. https://doi.org/10.1007/978-3-642-20407-4_25

  12. D. Fagan, E. Hemberg, M. O’Neill, S. McGarraghy, Fitness reactive mutation in grammatical evolution, in 18th International Conference on Soft Computing, MENDEL 2012, ed. by R. Matousek (Brno University of Technology, Brno, 2012), pp. 144–149

    Google Scholar 

  13. D. Fagan, E. Hemberg, M. Nicolau, M. O’Neill, S. McGarraghy, Towards adaptive mutation in grammatical evolution, in GECCO Companion ‘12: Proceedings of the Fourteenth International Conference on Genetic and Evolutionary Computation Conference Companion, Philadelphia, Pennsylvania, USA, ed. by T. Soule, A. Auger, J. Moore, D. Pelta, C. Solnon, M. Preuss, A. Dorin, Y.S. Ong, C. Blum, D.L. Silva, F. Neumann, T. Yu, A. Ekart, W. Browne, T. Kovacs, M.L. Wong, C. Pizzuti, J. Rowe, T. Friedrich, G. Squillero, N. Bredeche, S. Smith, A. Motsinger-Rei, J. Lozano, M. Pelikan, S. Meyer-Nienber, C. Igel, G. Hornby, R. Doursat, S. Gustafson, G. Olague, S. Yoo, J. Clark, G. Ochoa, G. Pappa, F. Lobo, D. Tauritz, J. Branke, K. Debpp (ACM, New York, 2012), pp. 1481–1482. https://doi.org/10.1145/2330784.2331002

  14. D. Fagan, E. Hemberg, M. O’Neill, S. McGarraghy, Understanding expansion order and phenotypic connectivity in πGE, in Proceedings of the 16th European Conference on Genetic Programming, EuroGP 2013, Vienna, Austria, ed. by K. Krawiec, A. Moraglio, T. Hu, A.S. Uyar, B. Hu. Lecture Notes in Computer Science, vol. 7831 (Springer, Berlin, 2013), pp. 37–48. https://doi.org/10.1007/978-3-642-37207-0_4

  15. D.E. Goldberg, Genetic Algorithms in Search, Optimization and Machine Learning, 1st edn. (Addison-Wesley Longman, Boston, 1989)

    MATH  Google Scholar 

  16. N.X. Hoai, A flexible representation for genetic programming from natural language processing. Ph.D. Thesis, Australian Defence force Academy, University of New South Wales, Australia, 2004

    Google Scholar 

  17. N. Hoai, R. McKay, A framework for tree adjunct grammar guided genetic programming, in Proceedings of the Post-graduate ADFA Conference on Computer Science (ADFA, Campbell, 2001), pp. 93–99. https://doi.org/10.1.1.79.4037

  18. N.X. Hoai, R.I. McKay, H.A. Abbass, Tree adjoining grammars, language bias, and genetic programming, in Genetic Programming, Proceedings of EuroGP’2003, Essex, ed. by C. Ryan, T. Soule, M. Keijzer, E. Tsang, R. Poli, E. Costa. Lecture Notes in Computer Science, vol. 2610 (Springer, Berlin, 2003), pp. 335–344

    Google Scholar 

  19. T.H. Hoang, Evolutionary developmental evaluation : the interplay between evolution and development. Ph.D. Thesis, Information Technology & Electrical Engineering, Australian Defence Force Academy, University of New South Wales, Australia, 2008

    Google Scholar 

  20. T.H. Hoang, D. Essam, R.I.B. McKay, N.X. Hoai, Developmental evaluation in genetic programming: the TAG-based frame work. Int. J. Knowl Based Intelligent Eng. Syst. 12(1), 69–82 (2008)

    Article  Google Scholar 

  21. T. Jones, Evolutionary algorithms, fitness landscapes, and search. Ph.D. Thesis, University of New Mexico, 1995

    Google Scholar 

  22. T. Jones, One operator, one landscape. Santa Fe Institute Technical Report, 1995, pp. 95–02

    Google Scholar 

  23. A.K. Joshi, Y. Schabes, Tree-Adjoining Grammars (Springer, Berlin,1997), pp. 69–123. https://doi.org/10.1007/978-3-642-59126-6_2

    MATH  Google Scholar 

  24. H. Kargupta, Gene expression: the missing link in evolutionary computation. Technical Report, Los Alamos National Lab., NM (United States), 1997

    Google Scholar 

  25. M. Keijzer, M. O’Neill, C. Ryan, M. Cattolico, Grammatical evolution rules: the mod and the bucket rule, in A.G.B.T. J. A. Foster, E. Lutton, J. Miller, C. Ryan (ed.) Proceedings of the Fifth European Conference on Genetic Programming (EuroGP-2002), Kinsale, Ireland. Lecture Notes in Computer Science, vol. 2278, pp. 123–130 (Springer, Berlin, 2002)

    Google Scholar 

  26. M. Kimura, The Neutral Theory of Molecular Evolution (Cambridge University Press, Cambridge, 1985)

    Google Scholar 

  27. M. Kimura, Population Genetics, Molecular Evolution, and the Neutral Theory: Selected Papers (University of Chicago Press, Chicago, 1995)

    Google Scholar 

  28. J.R. Koza, Genetic Programming: On the Programming of Computers by Means of Natural Selection (MIT Press, Cambridge, MA, 1992)

    MATH  Google Scholar 

  29. J.R. Koza, R. Poli, Genetic programming, in Search Methodologies: Introductory Tutorials in Optimization and Decision Support Techniques, chap. 5 (Springer, Berlin, 2005), pp. 127–164

    Google Scholar 

  30. N. Lourenco, F.B. Pereira, E. Costa, SGE: a structured representation for grammatical evolution, in Artificial Evolution, Lyon, France, ed. by S. Bonnevay, P. Legrand, N. Monmarche, E. Lutton, M. Schoenauer. Lecture Notes in Computer Science, vol. 9554 (Springer, Cham, 2015), pp. 136–148. https://doi.org/10.1007/978-3-319-31471-6_11

  31. R.I. McKay, N.X. Hoai, P.A. Whigham, Y. Shan, M. O’Neill, Grammar-based genetic programming: a survey. Genet. Program. Evolvable Mach. 11(3/4), 365–396 (2010). https://doi.org/10.1007/s10710-010-9109-y. Tenth Anniversary Issue: Progress in Genetic Programming and Evolvable Machines

  32. E. Murphy, An exploration of tree-adjoining grammars for grammatical evolution. Ph.D. Thesis, University College Dublin, Ireland, 2014. http://ncra.ucd.ie/papers/EoinMurphy_thesis.pdf

  33. E. Murphy, M. O’Neill, E. Galván-López, A. Brabazon, Tree-adjunct grammatical evolution, in 2010 IEEE World Congress on Computational Intelligence, Barcelona, Spain (IEEE Computational Intelligence Society/IEEE Press, New York, 2010), pp. 4449–4456. https://doi.org/10.1109/CEC.2010.5586497

    Google Scholar 

  34. E. Murphy, M. O’Neill, E. Galvan-Lopez, A. Brabazon, Tree-adjunct grammatical evolution, in 2010 IEEE World Congress on Computational Intelligence, Barcelona, Spain (IEEE Computational Intelligence Society/IEEE Press, New York, 2010), pp. 4449–4456. https://doi.org/10.1109/CEC.2010.5586497

    Google Scholar 

  35. E. Murphy, M. O’Neill, A. Brabazon, A comparison of GE and TAGE in dynamic environments, in GECCO‘11: Proceedings of the 13th Annual Conference on Genetic and Evolutionary Computation, Dublin, Ireland, ed. by N.K. Krasnogor et al. (ACM, New York, 2011), pp. 1387–1394. https://doi.org/10.1145/2001576.2001763

    Chapter  Google Scholar 

  36. E. Murphy, M. O’Neill, A. Brabazon, Examining mutation landscapes in grammar based genetic programming, in Proceedings of the 14th European Conference on Genetic Programming, EuroGP 2011, Turin, Italy, ed. by S. Silva, J.A. Foster, M. Nicolau, M. Giacobini, P. Machado. Lecture Notes in Computer Science, vol. 6621 (Springer, Berlin, 2011), pp. 130–141. https://doi.org/10.1007/978-3-642-20407-4_12 Best paper

  37. E. Murphy, E. Hemberg, M. Nicolau, M. O’Neill, A. Brabazon, Grammar bias and initialisation in grammar based genetic programming, in Proceedings of the 15th European Conference on Genetic Programming, EuroGP 2012, Malaga, Spain, ed. by A. Moraglio, S. Silva, K. Krawiec, P. Machado, C. Cotta. Lecture Notes in Computer Science, vol. 7244, pp. 85–96 (Springer, Berlin, 2012). https://doi.org/10.1007/978-3-642-29139-5_8

  38. E. Murphy, M. Nicolau, E. Hemberg, M. O’Neill, A. Brabazon, Differential gene expression with tree-adjunct grammars, in Parallel Problem Solving from Nature, PPSN XII (part 1), Taormina, Italy, ed. by C.A. Coello Coello, V. Cutello, K. Deb, S. Forrest, G. Nicosia, M. Pavone. Lecture Notes in Computer Science, vol. 7491 (Springer, Berlin, 2012), pp. 377–386. https://doi.org/10.1007/978-3-642-32937-1_38

  39. M. Nicolau, M. O’Neill, A. Brabazon, Termination in grammatical evolution: grammar design, wrapping, and tails, in Proceedings of the 2012 IEEE Congress on Evolutionary Computation, Brisbane, Australia, ed. by X. Li (2012), pp. 2381–2388. https://doi.org/10.1109/CEC.2012.6256563

  40. M. O’Neill, Automatic programming in an arbitrary language: Evolving programs with grammatical evolution. Ph.D. Thesis, University Of Limerick, Ireland, 2001

    Google Scholar 

  41. M. O’Neill, M. Nicolau, Distilling the salient features of natural systems: Commentary on “on the mapping of genotype to phenotype in evolutionary algorithms” by Whigham, Dick and Maclaurin. Genet. Program. Evolvable Mach. 18(3), 379–383 (2017). https://doi.org/10.1007/s10710-017-9293-0

    Article  Google Scholar 

  42. M. O’Neill, A. Brabazon, M. Nicolau, S.M. Garraghy, P. Keenan, πgrammatical evolution, in Genetic and Evolutionary Computation – GECCO-2004, Part II, Seattle, WA, USA. Lecture Notes in Computer Science, vol. 3103 (Springer, Heidelberg, 2004), pp. 617–629

    Google Scholar 

  43. M. O’Neill, E. Hemberg, C. Gilligan, E. Bartley, J. McDermott, A. Brabazon, GEVA: grammatical evolution in java. SIGEVOlution 3(2), 17–22 (2008)

    Article  Google Scholar 

  44. F. Rothlauf, Representations for Genetic and Evolutionary Algorithms, 2nd edn. (Springer, Berlin, 2006)

    MATH  Google Scholar 

  45. F. Rothlauf, M. Oetzel, On the locality of grammatical evolution, in Proceedings of the 9th European Conference on Genetic Programming, Budapest, Hungary, ed. by P. Collet, M. Tomassini, M. Ebner, S. Gustafson, A. Ekárt. Lecture Notes in Computer Science, vol. 3905 (Springer, Berlin, 2006), pp. 320–330

    Google Scholar 

  46. M. Shackleton, R. Shipman, M. Ebner, An investigation of redundant genotype-phenotype mappings and their role in evolutionary search, in Proceedings of the 2000 Congress on Evolutionary Computation CEC00 (IEEE Press, New York, 2000), pp. 493–500

    Google Scholar 

  47. R. Shipman, M. Shackleton, M. Ebner, R. Watson, Neutral search spaces for artificial evolution: a lesson from life. Artif. Life 7, 162–169 (2000)

    Google Scholar 

  48. L. Spector, P.A. Whigham, G. Dick, J. Maclaurin, L. Altenberg, A. Ekárt, P.R. Lewis, D.B. Kell, M. O’Neill, M. Nicolau, C. Ryan, G. Squillero, A. Tonda, J.A. Foster, Peer commentary special section on “on the mapping of genotype to phenotype in evolutionary algorithms” by Peter A. Whigham, Grant Dick, and James Maclaurin. Genet. Program. Evolvable Mach. 18(3), 351–405 (2017). https://doi.org/10.1007/s10710-017-9287-y

  49. P.A. Whigham, G. Dick, J. Maclaurin, On the mapping of genotype to phenotype in evolutionary algorithms. Genet. Program. Evolvable Mach. 18(3), 353–361 (2017). https://doi.org/10.1007/s10710-017-9288-x

    Article  Google Scholar 

Download references

Acknowledgements

This research is based upon works supported by the Science Foundation Ireland under grant 13/IA/1850 and previously grant 08/IN.1/I1868.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to David Fagan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Springer International Publishing AG, part of Springer Nature

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Fagan, D., Murphy, E. (2018). Mapping in Grammatical Evolution. In: Ryan, C., O'Neill, M., Collins, J. (eds) Handbook of Grammatical Evolution. Springer, Cham. https://doi.org/10.1007/978-3-319-78717-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-78717-6_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-78716-9

  • Online ISBN: 978-3-319-78717-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics