Skip to main content

Grammar-Guided Genetic Programming and Automatically Defined Functions

  • Conference paper
  • First Online:
Advances in Artificial Intelligence (SBIA 2002)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 2507))

Included in the following conference series:

Abstract

Genetic Programming (GP) is a powerful software induction technique that has been recently applied for solving a wide variety of problems. Attempts to extend GP have focussed on applying type restrictions to the language to control genetic operators and to ensure that only valid programs are created. In this sense, the use of context free grammar (CFG) was proposed. This work studies the use of a CFG to define the structure of the initial population and direct crossover and mutation operators. Chameleon, a Grammar-Guided Genetic Programming system (GGGP) is also presented. On a suite of experiments composed of even-parity problems, the performance of Chameleon is compared to traditional GP. Furthermore, the automatic discovery of sub-functions, one of the most important research areas in GP, is also explored. We describe how to use ADFs with GGGP and, using Chameleon, we demonstrate that GGGP has similar results to Koza’s Automatically Defined Functions (ADF) approach.

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 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight 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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

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

    MATH  Google Scholar 

  2. Koza, J. R.: Genetic Programming II: Automatic Discovery of Reusable Programs. MIT Press, Cambridge, MA (1994)

    MATH  Google Scholar 

  3. Banzhaf, W.; Nordin, P.; Keller, R. E.; Franconi, F. D.: Genetic Programming-an introduction. Morgan Kaufmann, San Francisco, CA (1998)

    MATH  Google Scholar 

  4. Whigham, P. A.: Grammatically based Genetic Programming. In: Proceedings of ML’95 Workshop on Genetic Programming-From Theory to Real-Word Applications. Lake Tahoe, CA (1995) 33–41

    Google Scholar 

  5. O’Neil, M.; Ryan, C.: Grammar based Function Definition in Grammatical Evolution. In: Genetic Programming 2000: Proceedings of the 5th Annual Conference, MIT Press (2000) 485–490

    Google Scholar 

  6. Ratle, A.; Sebag, M.: Genetic Programming and Domain Knowledge: beyond the limitations of grammar-guided machine discovery. In: Proceedings of the Sixth Conference on Parallel Problem Solving from Nature, LNCS, Springer, Berlin (2000) 211–220

    Chapter  Google Scholar 

  7. O’Reilly, U.: An Analysis of Genetic Programming. PhD thesis. Ottawa Carleton Institute for Computer Science (1995)

    Google Scholar 

  8. Cohen. P. R.: Empirical Methods for Artificial Intelligence. MIT Press, Cambridge, MA (1995)

    MATH  Google Scholar 

  9. Gruau, F.: On Using Syntatic Constraints with Genetic Programming. In: Advances in Genetic Programming, MIT Press (1996) 377–394

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Rodrigues, E., Pozo, A. (2002). Grammar-Guided Genetic Programming and Automatically Defined Functions. In: Bittencourt, G., Ramalho, G.L. (eds) Advances in Artificial Intelligence. SBIA 2002. Lecture Notes in Computer Science(), vol 2507. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-36127-8_31

Download citation

  • DOI: https://doi.org/10.1007/3-540-36127-8_31

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-00124-9

  • Online ISBN: 978-3-540-36127-5

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics