Skip to main content

Abstract

Grammatical Evolution (GE) is a variant of Genetic Programming (GP) that uses a BNF-grammar to create syntactically correct solutions. GE is composed of the following components: the Problem Instance, the BNF-grammar (BNF), the Search Engine (SE) and the Mapping Process (MP). GE allows creating a distinction between the solution and search spaces using an MP and the BNF to translate from genotype to phenotype, that avoids invalid solutions that can be obtained with GP. One genotype can generate different phenotypes using a different MP. There exist at least three MPs widely used in the art-state: Depth-first (DF), Breadth-first (BF) and \( \pi \)Grammatical Evolution (piGE). In the present work DF, BF, and piGE have been studied in the Symbolic Regression Problem. The results were compared using a statistical test to determine which MP gives the best results.

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 189.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 249.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 249.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

References

  1. Koza, J.R.: Genetic Programming On the Programming of Computers by Means of Natural Selection. Massachusetts Institute of Technology, Cambridge (1998)

    MATH  Google Scholar 

  2. Rich, C., Waters, R.C.: Automatic programming: myths and prospects. Computer 21, 40–51 (1988)

    Article  Google Scholar 

  3. Igwe, K., Pillay, N.: A study of genetic programming and grammatical evolution for automatic object-oriented programming: a focus on the list data structure. In: Pillay, N., Engelbrecht, A.P., Abraham, A., du Plessis, M.C., Snášel, V., Muda, A.K. (eds.) Advances in Nature and Biologically Inspired Computing, pp. 151–163. Springer, Cham (2016)

    Chapter  Google Scholar 

  4. Holland, J.H.: Adaptation in Natural and Artificial Systems. In: An Introductory Analysis with Applications to Biology, Control, and Artificial Intelligence. MIT Press (1992)

    Google Scholar 

  5. Ryan, C., Collins, J., Neill, M.O.: Grammatical evolution: evolving programs for an arbitrary language. In: Banzhaf, W., Poli, R., Schoenauer, M., Fogarty, T.C. (eds.) Genetic Programming, vol. 1391, pp. 83–96. Springer, Berlin, Heidelberg (1998)

    Chapter  Google Scholar 

  6. Brabazon, A., O’Neill, M., McGarraghy, S.: Natural Computing Algorithms. Natural Computing Series, 1st edn. Springer, Berlin, Heidelberg (2015)

    Book  Google Scholar 

  7. Sotelo-Figueroa, M.A., Soberanes, H.J.P., Carpio, J.M., Huacuja, H.J.F., Reyes, L.C., Soria-Alcaraz, J.A.: Improving the bin packing heuristic through grammatical evolution based on swarm intelligence. Math. Probl. Eng. (2014)

    Google Scholar 

  8. Sotelo-Figueroa, M.A., Hernández-Aguirre, A., Espinal, A., Soria-Alcaraz, J.A., Ortiz-López, J.: Symbolic regression by means of grammatical evolution with estimation distribution algorithms as search engine. In: Fuzzy Logic Augmentation of Neural and Optimization Algorithms: Theoretical Aspects and Real Applications, vol. 749, pp. 169–177. Springer (2018)

    Google Scholar 

  9. O’Neill, M., Brabazon, A.: Grammatical differential evolution. In: IC-AI, pp. 231–236 (2006)

    Google Scholar 

  10. Quiroz-Ramírez, O., Espinal, A., Ornelas-Rodríguez, M., Rojas-Domínguez, A., Sánchez, D., Puga-Soberanes, H., Carpio, M., Espinoza, L.E.M., Ortíz-López, J.: Partially-connected artificial neural networks developed by grammatical evolution for pattern recognition problems. In: Fuzzy Logic Augmentation of Neural and Optimization Algorithms: Theoretical Aspects and Real Application, pp. 99–112. Springer, Cham (2018)

    Google Scholar 

  11. Hemberg, E.A.P.: An exploration of grammars in grammatical evolution. Ph.D. thesis, University College Dublin (2010)

    Google Scholar 

  12. Nicolau, M., Agapitos, A.: Understanding grammatical evolution: Grammar design. In: Handbook of Grammatical Evolution, pp. 23–53. Springer (2018)

    Google Scholar 

  13. Fagan, D., O’Neill, M., Galván-López, E., Brabazon, A., McGarraghy, S.: An analysis of genotype-phenotype maps in grammatical evolution. In: European Conference on Genetic Programming, pp. 62–73. Springer, Berlin, Heidelberg (2010)

    Google Scholar 

  14. O’Neill, M., Ryan, C.: Grammatical evolution. IEEE Trans. Evo. Comput. 5, 349–358 (2001)

    Article  Google Scholar 

  15. Fagan, D., O’Neill, M.: Analysing the Genotype-Phenotype Map in Grammatical Evolution. Ph.D. thesis, University College Dublin (2013)

    Google Scholar 

  16. O’Neill, M., Brabazon, A., Nicolau, M., Garraghy, S.M., Keenan, P.: \(\pi \)grammatical evolution. In: Deb, K. (ed.) Genetic and Evolutionary Computation–GECCO 2004, pp. 617–629. Springer, Berlin, Heidelberg (2004)

    Chapter  Google Scholar 

  17. Dempsey, I., O’Neill, M., Brabazon, A.: Foundations in Grammatical Evolution for Dynamic Environments. Vol. 194 of Studies in Computational Intelligence, 1st edn. Springer, Berlin, Heidelberg (2009)

    Book  Google Scholar 

  18. Hugosson, J., Hemberg, E., Brabazon, A., O’Neill, M.: Genotype representations in grammatical evolution. Appl. Soft Comput. 10(1), 36–43 (2010)

    Article  Google Scholar 

  19. McKay, R.I., Hoai, N.X., Whigham, P.A., Shan, Y., O’Neill, M.: Grammar-based genetic programming: a survey. Gen. Program. Evol. Mach. 11, 365–396 (2010)

    Article  Google Scholar 

  20. Backus, J.W., Bauer, F.L., Green, J., Katz, C., McCarthy, J., Perlis, A.J., Rutishauser, H., Samelson, K., Vauquois, B., Wegstein, J.H., van Wijngaarden, A., Woodger, M.: Revised report on the algorithm language algol 60. Commun. ACM 6, 1–17 (1963)

    Article  Google Scholar 

  21. Fagan, D., Murphy, E.: Mapping in grammatical evolution. In: Handbook of Grammatical Evolution, pp. 79–108. Springer (2018)

    Google Scholar 

  22. White, D.R., McDermott, J., Castelli, M., Manzoni, L., Goldman, B.W., Kronberger, G., Jaskowski, W., O’Reilly, U.-M., Luke, S.: Better GP benchmarks: community survey results and proposals. Gen. Program. Evol. Mach. 14, 3–29 (2012)

    Article  Google Scholar 

  23. Shapiro, S.S., Wilk, M.B.: An analysis of variance test for normality (complete samples). Biometrika 52, 591 (1965)

    Article  MathSciNet  Google Scholar 

  24. Soria-Alcaraz, J.A., Sotelo-Figueroa, M.A., Espinal, A.: Statistical comparative between selection rules for adaptive operator selection in vehicle routing and multi-knapsack problems. In: Fuzzy Logic Augmentation of Neural and Optimization Algorithms: Theoretical Aspects and Real Applications, pp. 389–400. Springer (2018)

    Google Scholar 

  25. Derrac, J., García, S., Molina, D., Herrera, F.: A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms. Swarm Evol. Comput. 1, 3–18 (2011)

    Article  Google Scholar 

Download references

Acknowledgements

The authors want to thank National Council for Science and Technology of Mexico (CONACyT) through the scholarship for postgraduate studies: 703582 (B. Zuñiga) and the Research Grant CÁTEDRAS-2598 (A. Rojas), the Leín Institute of Technology (ITL), and the Guanajuato University for the support provided for this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to M. A. Sotelo-Figueroa .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Zuñiga-Nuñez, B.V. et al. (2020). Studying Grammatical Evolution’s Mapping Processes for Symbolic Regression Problems. In: Castillo, O., Melin, P., Kacprzyk, J. (eds) Intuitionistic and Type-2 Fuzzy Logic Enhancements in Neural and Optimization Algorithms: Theory and Applications. Studies in Computational Intelligence, vol 862. Springer, Cham. https://doi.org/10.1007/978-3-030-35445-9_32

Download citation

Publish with us

Policies and ethics