16.01.2013 Views

An Introduction to Genetic Algorithms - Boente

An Introduction to Genetic Algorithms - Boente

An Introduction to Genetic Algorithms - Boente

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 3: <strong>Genetic</strong> <strong>Algorithms</strong> in Scientific Models<br />

time the gene was used—that is, every time the specified input situation arose for the bug and the specified<br />

action was taken by the bug. When a parent passed on a gene <strong>to</strong> a child through asexual reproduction or<br />

through crossover, the value of the counter was passed on as well and remained with the gene. The only time a<br />

counter was initialized <strong>to</strong> zero was when a new gene was created through mutation. In this way, a gene's<br />

counter value reflected the usage of that gene over many generations. When a bug died, its genes (and their<br />

counters) died with it.<br />

For each time step during a run, Bedau and Packard (1992) plotted a his<strong>to</strong>gram of the number of genes in the<br />

population displaying a given usage value u (i.e., a given counter value). One such plot is shown here at the<br />

<strong>to</strong>p of figure 3.13. The x axis in this plot is time steps, and the y axis gives usage values u. A vertical slice<br />

along the y axis gives the distribution of usage values over the counters in the population at a given time step,<br />

with the frequency of each usage value indicated by the grayscale. For example, the leftmost vertical column<br />

(representing the initial population) has a black region near zero, indicating that usage values near zero are<br />

most common (genes cannot have high usage after so little time). All other usage values are white, indicating<br />

that no genes had yet reached that level of usage. As time goes on, gray areas creep up the page, indicating<br />

that certain genes persisted in being used. These genes presumably were the ones that helped the bugs <strong>to</strong><br />

survive and reproduce—the ones<br />

Figure 3.13: Plots of usage statistics for one run of the Strategic Bugs model. Top plot: Each vertical column<br />

is a his<strong>to</strong>gram over u (usage values), with frequencies of different u values represented on a gray scale. On<br />

this scale, white represents frequency 0 and black represents the maximum frequency. These his<strong>to</strong>grams are<br />

plotted over time. Bot<strong>to</strong>m plot: Evolutionary activity A(t) is plotted versus t for this run. Peaks in A(t)<br />

correspond <strong>to</strong> the formation of new activity waves. (Reprinted from Chris<strong>to</strong>pher G. Lang<strong>to</strong>n et al. (eds.).<br />

Artificial Life: Volume II, ©1992 by Addison−Wesley Publishing Company, Inc. Reprinted by permission of<br />

the publisher.)<br />

that encoded traits being selected. Bedau and Packard referred <strong>to</strong> these gray streaks as "waves of activity."<br />

New waves of activity indicated the discovery of some new set of genes that proved <strong>to</strong> be useful.<br />

According <strong>to</strong> Bedau and Packard, the continual appearance of new waves of activity in an evolving population<br />

indicates that the population is continually finding and exploiting new genetic innovations. Bedau and<br />

Packard defined a single number, the evolutionary activity A(t),that roughly measures the degree <strong>to</strong> which the<br />

population is acquiring new and useful genetic material at time t.<br />

In mathematical terms, Bedau and Packard defined u0 as the "baseline usage"—roughly the usage that genes<br />

would obtain if selection were random rather than based on fitness. As an initial attempt <strong>to</strong> compensate for<br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!