Polymorphism and Genetic Programming
Types have been introduced to Genetic Programming (GP) by researchers with different motivation. We present the concept of types in GP and introduce a typed GP system, PolyGP, that supports polymorphism through the use of three different kinds of type variable. We demonstrate the usefulness of this kind of polymorphism in GP by evolving two polymorphic programs (nth and map) using the system. Based on the analysis of a series of experimental results, we conclude that this implementation of polymorphism is effective in assisting GP evolutionary search to generate these two programs. PolyGP may enhance the applicability of GP to a new class of problems that are difficult for other polymorphic GP systems to solve.
KeywordsFitness Function Genetic Programming Type Variable Genetic Operation Dynamic Typing
Unable to display preview. Download preview PDF.
- Brave, S.: Evolving recursive programs for tree search. In: Advances in Genetic Programming II. P.J. Angeline and K.E. Kinnear, Jr. (eds.), page 203–219. 1996.Google Scholar
- Haynes, T.D., Schoenefeld, D.A. and Wainwright, R.L.: Type inheritance in strongly typed genetic programming. In: Advances in Genetic Programming II, P.J. Angeline and K.E. Kinnear, Jr. (eds.), pages 359–376. 1996.Google Scholar
- Haynes, T.D., Wainwright, R.L., Sandip, S. and Schoenefeld, D.: Strongly typed genetic programming in evolving cooperation strategies. In Proceedings of the Sixth International Conference on Genetic Algorithms, pages 271–278, 1995.Google Scholar
- Luke, S.: personal communication, 2000.Google Scholar
- McPhee, N.F., Hopper, N.J. and Reierson, M.L.: Impact of types on essentially typeless problems in GP. In: Genetic Programming 1998: Proceedings of the Third Annual Conference. pages 232–240. 1998.Google Scholar
- M.L. Wong and K.S. Leung. An adaptive inductive logic programming system using genetic programming. Evolutionary Programming IV: Proceedings of the Fourth Annual Conference on Evolutionary Programming. pages 737–752, 1995.Google Scholar
- Yu, T. and Bentley, P.: Methods to evolve legal phenotypes. In: Proceedings of the Fifth International Conference on Parallel Problem Solving from Nature. Lecture Notes in Computer Science, Vol. 1498, Springer-Verlag, Berlin, pages 280–291, 1998.Google Scholar
- Yu, T. and Clack, C.: PolyGP: a polymorphic genetic programming system in haskell. In: Proceedings of the Third Annual Genetic Programming Conference, page 416–421, 1998.Google Scholar
- Yu, T.: An Analysis of the Impact of Functional Programming Techniques on Genetic Programming, Phd Thesis, University College London, 1999.Google Scholar