The ‘repair’ function that ensures the validity of
the generated program is no longer required.
The rules resemble the full program subset
syntax, without any hidden terminal symbols.
If the requirement is to generate blocks of a e.g.
{aaa}{aaaaaa}, our method could easily produce
this pattern as we specified the start and the stop of a
block statement within the grammar. Withall’s
method would not be possible because of the repair
function, which insert all the remaining } in the end
of the program to match the { produced earlier in the
program. Xhemali’s similarly fails in this respect.
The above experiment is set to evolve a ‘sorting
program’, however, the fitness evaluation function
needs to be changed for other computer program
problems. In addition, a domain specific grammar
definition is needed to fit other areas such as regular
expressions, Medical (e.g. DNA matching),
linguistics (Natural Language) etc. However, further
experiments are required to evaluate these
applications.
6 CONCLUSIONS
This paper presents an investigation into the effect
of full syntax XML-based grammar definitions to
the resultant program and the fitness evaluations.
Specifically, we have presented a novel approach to
effectively map the genotype to phenotype with
XML rules, demonstrated by evolving a sorting
program. The results are compared to the former
work and provide evidence of significant
improvements in terms of the construction of a
syntactically correct solution without a repair
function and without significantly compromising
performance.
In future, we will continue this investigation to
include a function declaration e.g. a swap function in
the grammar, which would speed up a sorting
program evolution, and applying a similar technique
to other domain such as regular expression, to
identify a data pattern from a HTML web page for
information extraction. This will enable our GP
system to be extended by an external process, which
can add to the XML rules without requiring a
modification to the main GP system.
REFERENCES
Banzhaf, W., 1994. Genotype-Phenotype-Mapping and
Neutral Variation: A case study in Genetic
Programming. Proceedings of the International
Conference on Evolutionary Computation. The Third
Conference on Parallel Problem Solving from Nature:
Parallel Problem Solving from Nature, pp. 322-332.
Castillo, F., Kordon, A., Sweeney, J., Zirk, W., 2005.
Using genetic programming in industrial statistical
model building. Genetic programming theory and
practice II, pp. 31-48.
Clarke, M., Hinde, C. J., Withall, M. S., Jackson, T.,
Phillips, I. W., Brown, S., Watson, R., 2010.
Allocating railway platforms using a genetic
algorithm. Research and Development in Intelligent
Systems XXVI, pp. 421-434.
Guo, H., Nandi, A. K., 2006. Breast cancer diagnosis
using genetic programming generated feature. Pattern
Recognition, 39(5), pp. 980-987.
Holland, J. H., 1975. Adaptation in natural and artificial
systems. Ann Arbor MI: University of Michigan Press.
Hong, J. H., Cho, S. B., 2004. Lymphoma cancer
classification using genetic programming with SNR
features. Genetic Programming, pp. 78-88.
Jones, S., Hinde, C., 2007. Uniform Random Crossover. In
Proceedings of the 2007 workshop on Computational
Intelligence.
Konig, L., Schmeck, H., 2009. A Completely Evolvable
Genotype-Phenotype Mapping for Evolutionary
Robotics, Third IEEE International Conference on
Self-Adaptive and Self-Organizing Systems, SASO '09,
pp. 175-185.
Koza, J. R., 1992. Genetic Programming. Cambridge:
MA: MIT Press.
Paterson, N. R., Livesey, M., 1996. Distinguishing
genotype and phenotype in genetic programming. Late
Breaking Papers at the Genetic Programming, pp.
141-150.
Ryan, C., Collins, J., O’Neill, M., 1998. Grammatical
evolution: Evolving programs for an arbitrary
language. Genetic Programming, pp. 83-96.
Withall, M. S., Hinde, C. J., Stone, R. G., 2009. An
improved representation for evolving programs.
Genetic Programming and Evolvable Machines, 10(1),
pp. 37-70.
Xhemali, D., Hinde, C. J., Stone, R. G., 2010. Genetic
evolution of sorting programs through a novel
genotype-phenotype mapping. Proceedings of the
International Conference on Evolutionary
Computation, Valencia, Spain.
AnEvolutionofaCompleteProgramusingXML-basedGrammarDefinition
219