John Mark Swafford
University College Dublin
Network
Latest external collaboration on country level. Dive into details by clicking on the dots.
Publication
Featured researches published by John Mark Swafford.
International Journal of Design Engineering | 2010
Michael O'Neill; James McDermott; John Mark Swafford; Jonathan Byrne; Erik Hemberg; Anthony Brabazon; Elizabeth Shotton; Ciaran McNally; Martin Hemberg
A new evolutionary design tool is presented, which uses shape grammars and a grammar-based form of evolutionary computa- tion, grammatical evolution (GE). Shape grammars allow the user to specify possible forms, and GE allows forms to be iteratively selected,
european conference on applications of evolutionary computation | 2010
Edgar Galván-López; John Mark Swafford; Michael O’Neill; Anthony Brabazon
In this paper we propose an evolutionary approach capable of successfully combining rules to play the popular video game, Ms. Pac-Man. In particular we focus our attention on the benefits of using Grammatical Evolution to combine rules in the form of “if then perform ”. We defined a set of high-level functions that we think are necessary to successfully maneuver Ms. Pac-Man through a maze while trying to get the highest possible score. For comparison purposes, we used four Ms. Pac-Man agents, including a hand-coded agent, and tested them against three different ghosts teams. Our approach shows that the evolved controller achieved the highest score among all the other tested controllers, regardless of the ghost team used.
genetic and evolutionary computation conference | 2011
John Mark Swafford; Erik Hemberg; Michael O'Neill; Miguel Nicolau; Anthony Brabazon
Modularity has proven to be an important aspect of evolutionary computation. This work is concerned with discovering and using modules in one form of grammar-based genetic programming, grammatical evolution (GE). Previous work has shown that simply adding modules to GEs grammar has the potential to disrupt fit individuals developed by evolution up to that point. This paper presents a solution to prevent the disturbance in fitness that can come with modifying GEs grammar with previously discovered modules. The results show an increase in performance from a previously examined grammar modification approach and also an increase in performance when compared to standard GE.
congress on evolutionary computation | 2010
James McDermott; Jonathan Byrne; John Mark Swafford; Michael O'Neill; Anthony Brabazon
The use of higher-order functions, as a method of abstraction and re-use in EC encodings, has been the subject of relatively little research. In this paper we introduce and give motivation for the ideas of higher-order functions, and describe their general advantages in EC encodings. We implement grammars using higher-order ideas for two problem domains, music and 3D architectural design, and use these grammars in the grammatical evolution paradigm. We demonstrate four advantages of higher-order functions (patterning of phenotypes, non-entropic mutations, compression of genotypes, and natural expression of artistic knowledge) which lead to beneficial results on our problems.
Environment and Planning B-planning & Design | 2012
James McDermott; John Mark Swafford; Martin Hemberg; Jonathan Byrne; Erik Hemberg; Michael Fenton; Ciaran McNally; Elizabeth Shotton; Michael O'Neill
Evolutionary methods afford a productive and creative alternative design workflow. Crucial to success is the choice of formal representation of the problem. String-rewriting context-free grammars (CFGs) are one common option in evolutionary computation, but their suitability for design is not obvious. Here, a CFG-based evolutionary algorithm for design is presented. The process of meta-design is described, in which the CFG is created and then refined to produce an improved design language. CFGs are contrasted with another grammatical formalism better known in architectural design: Stinys shape grammars. The advantages and disadvantages of the two types of grammars for design tasks are discussed.
congress on evolutionary computation | 2010
Edgar Galván-López; David Fagan; Eoin Murphy; John Mark Swafford; Alexandros Agapitos; Michael O'Neill; Anthony Brabazon
In this work, we examine the capabilities of two forms of mappings by means of Grammatical Evolution (GE) to successfully generate controllers by combining high-level functions in a dynamic environment. In this work we adopted the Ms. Pac-Man game as a benchmark test bed. We show that the standard GE mapping and Position Independent GE (πGE) mapping achieve similar performance in terms of maximising the score. We also show that the controllers produced by both approaches have an overall better performance in terms of maximising the score compared to a hand-coded agent. There are, however, significant differences in the controllers produced by these two approaches: standard GE produces more controllers with invalid code, whereas the opposite is seen with πGE.
european conference on genetic programming | 2011
John Mark Swafford; Michael O'Neill; Miguel Nicolau; Anthony Brabazon
There have been many approaches to modularity in the field of evolutionary computation, each tailored to function with a particular representation. This research examines one approach to modularity and grammar modification with a grammar-based approach to genetic programming, grammatical evolution (GE). Here, GEs grammar was modified over the course of an evolutionary run with modules in order to facilitate their appearance in the population. This is the first step in what will be a series of analysis on methods of modifying GEs grammar to enhance evolutionary performance. The results show that identifying modules and using them to modify GEs grammar can have a negative effect on search performance when done improperly. But, if undertaken thoughtfully, there are possible benefits to dynamically enhancing the grammar with modules identified during evolution.
genetic and evolutionary computation conference | 2012
John Mark Swafford; Miguel Nicolau; Erik Hemberg; Michael O'Neill; Anthony Brabazon
Modularity has been an important vein of research in evolutionary algorithms. Past research in evolutionary computation has shown that techniques able to decompose the benchmark problems examined in this work into smaller, more easily solved, sub-problems have an advantage over those which do not. This work describes and analyzes a number of approaches to discover sub-solutions (modules) in the grammatical evolution algorithm. Data from the experiments carried out show that particular approaches to identifying modules are better suited to certain problem types, at varying levels of difficulty. The results presented here show that some of these approaches are able to significantly outperform standard grammatical evolution and grammatical evolution using automatically defined functions on a subset of the problems tested. The results also point to a number of possibilities for extending this work to further enhance approaches to modularity.
congress on evolutionary computation | 2010
John Mark Swafford; Michael O'Neill
This work furthers the understanding of modularity in grammar-based genetic programming approaches by analyzing how different grammars may be capable of producing the same phenotypes, but still display differences in performance on the same problems. This is done by creating four grammars with varying levels of modularity and using them with grammatical evolution to evolve floor plan designs. The results of this experimentation show how increases in modularity, brought about by simple modifications in the grammars, and increases in the quality of solutions go hand in hand. It also demonstrates how more modular grammars explore more individuals even while fitness remains the same or changes in only minor increments.
parallel problem solving from nature | 2012
John Mark Swafford; Erik Hemberg; Michael O'Neill; Anthony Brabazon