⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 343-348.html

📁 遗传算法经典书籍-英文原版 是研究遗传算法的很好的资料
💻 HTML
字号:
<HTML>
<HEAD>
<META name=vsisbn content="0849398010">
<META name=vstitle content="Industrial Applications of Genetic Algorithms">
<META name=vsauthor content="Charles Karr; L. Michael Freeman">
<META name=vsimprint content="CRC Press">
<META name=vspublisher content="CRC Press LLC">
<META name=vspubdate content="12/01/98">
<META name=vscategory content="Web and Software Development: Artificial Intelligence: Other">




<TITLE>Industrial Applications of Genetic Algorithms:Simulation of an Artificial Eco-System Using Genetic Algorithms</TITLE>

<!-- HEADER -->

<STYLE type="text/css"> 
 <!--
 A:hover  {
 	color : Red;
 }
 -->
</STYLE>

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">

<!--ISBN=0849398010//-->
<!--TITLE=Industrial Applications of Genetic Algorithms//-->
<!--AUTHOR=Charles Karr//-->
<!--AUTHOR=L. Michael Freeman//-->
<!--PUBLISHER=CRC Press LLC//-->
<!--IMPRINT=CRC Press//-->
<!--CHAPTER=18//-->
<!--PAGES=343-348//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->

<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="341-343.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ewtoc.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P>The sum of the criteria produces the fitness value for the organism. The fitness value reflects the innate ability of an individual to survive the effects of environment and predation. For herbivores, this means the ability to avoid predators while successfully competing for limited forage resources. Carnivore fitness is measured by the ability to catch the prey and fend off fellow carnivores. Once determined, a stochastic remainder selection utilizes the fitness values to reproduce and crossover the fittest individuals. A mutation operator randomly modifies alleles during crossover.
</P>
<P>The population size will be determined each generation. First, the carrying capacity of the environment is determined for each round - simulating the random effects of sunshine and rainfall. This value, taken in conjunction with the total mass of herbivores from the prior round, will determine the current round&#146;s population size. Reproduction and crossover will fill all of the available slots in the population according to the dictates of the fitness function for herbivores and carnivores.</P>
<P>Because the amount of food available to sustain the population is variable, particularly for carnivores, wild swings in food supply could wipe out a particular food source. A phenotypic speciation operator smoothes fitness functions based upon food source and mass. Animals with different food sources are considered dissimilar. Mass is apportioned with a linear smoothing. This accords well with common sense, since mating individuals that range in size from 5 to 500 kilograms which might be inclined to eat the mate are unlikely at best. The expectation is that species should form based upon food source and mass. Within each species, there should be improvement in the quality of its individuals, with optimizations of prey and predator near the carrying capacity of the environment.</P>
<P><FONT SIZE="+1"><B>RESULTS</B></FONT></P>
<P>The following parameters were used in all tests:
</P>
<CENTER>
<TABLE WIDTH="85%"><TD WIDTH="35%">Initial Population size
<TD WIDTH="6%" ALIGN="RIGHT">25
<TD>
<TR>
<TD>Generations
<TD ALIGN="RIGHT">100
<TD>
<TR>
<TD>Prob. of Crossover
<TD ALIGN="RIGHT">.6
<TD>
<TR>
<TD>Prob. of Mutation
<TD ALIGN="RIGHT">.001
<TD>
</TABLE>
</CENTER>
<P>Two series of tests were conducted. In the first test, the carrying capacity remained constant, which led to a static population size. In the second test, the carrying capacity could vary as much as 66% from one generation to another, with the population size varying as well.
</P>
<P>For the first test, the carrying capacity remained constant at 1500 kg, and the population size was 25. For all individuals, the allele values were randomly selected. Figure 18.1 tracks the absolute variance between ideal total mass and actual total mass of herbivore and carnivores over 100 generations. Over succeeding generations, the population converged to approximately 1% variance, while allowing for crossbreeding of herbivores and carnivores.</P>
<P><A NAME="Fig1"></A><A HREF="javascript:displayWindow('images/18-01.jpg',500,276)"><IMG SRC="images/18-01t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/18-01.jpg',500,276)"><FONT COLOR="#000077"><B>Figure 18.1</B></FONT></A>&nbsp;&nbsp;Actual variance from ideal total mass for static environment.</P>
<P>The average fitness value of all generations can be seen in Figure 18.2. A 400% improvement in total fitness occurred over 100 generations, due to maximizations of values for sight, hearing, color and brain size.
</P>
<P><A NAME="Fig2"></A><A HREF="javascript:displayWindow('images/18-02.jpg',600,187)"><IMG SRC="images/18-02t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/18-02.jpg',600,187)"><FONT COLOR="#000077"><B>Figure 18.2</B></FONT></A>&nbsp;&nbsp;Average fitness value for static environment.</P>
<P>The speciation algorithm helped to maintain a relatively static number of carnivores and herbivores, with the quantity of either food type fluctuating between 8 and 17 for most of the simulation. At 100 generations, the range of individual&#146;s mass still ran from 160 to 420 kg. The average mass had gone from 260 kg initially, to 320 kg at the end, reflecting the higher mass requirements of the herbivore population. Carnivores, which depended on herbivores for their food, tended to remain at a lower weight.
</P>
<P>The average value for vision went from 3.7 to 7. The average value for hearing went from 2.7 to 6.7. Brain size went from 13.4 to 29.2. Color went from an even distribution to varying shades of green. The number of legs per individual went from an even distribution to 90% 2-legged, reflecting greater tool use.</P>
<P>The second series of tests examined various carrying capacities and population sizes. The carrying capacity was allowed to range over 1000-1500 kg for each generation. The population size was incremented or decremented in proportion to the carrying capacity. Again, allele values were selected randomly. Figure 18.3 tracks the absolute variance between ideal total mass and actual total mass of herbivore and carnivores over 100 generations. Over succeeding generations, the variation did evidence some smoothing, but remained overall at approximately the 10% level.</P>
<P><A NAME="Fig3"></A><A HREF="javascript:displayWindow('images/18-03.jpg',600,283)"><IMG SRC="images/18-03t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/18-03.jpg',600,283)"><FONT COLOR="#000077"><B>Figure 18.3</B></FONT></A>&nbsp;&nbsp;Actual variance from ideal total mass for varying environment.</P>
<P>The average fitness value of all generations can be seen in Figure 18.4. A 350% improvement in total fitness occurred over 100 generations, due to near maximizations of values for sight, hearing, color and brain size.
</P>
<P><A NAME="Fig4"></A><A HREF="javascript:displayWindow('images/18-04.jpg',600,164)"><IMG SRC="images/18-04t.jpg"></A>
<BR><A HREF="javascript:displayWindow('images/18-04.jpg',600,164)"><FONT COLOR="#000077"><B>Figure 18.4</B></FONT></A>&nbsp;&nbsp;Average fitness value for static environment.</P>
<P>The speciation algorithm helped to maintain the relative proportion of carnivores and herbivores, although variances were higher than in the static algorithm. Because the food requirements had a much greater range, the mass of individuals also evidenced a greater range, from 20 to 420 kg. The average mass, which started at 260 kg, finished at 275 kg. The distribution contained substantial accumulation at either extreme.
</P>
<P>The values for sight, hearing, brain size and color mimicked the results of the static run, showing good optimization performance.</P>
<P><FONT SIZE="+1"><B>CONCLUSIONS</B></FONT></P>
<P>The genetic algorithm was able to optimize the static environment&#146;s biomass much better than in the dynamic environment. Because herbivores had a constant amount of food to draw from, the optimization routine narrowed the mass range of the population considerably. This would indicate that less speciation took place in the static environment.
</P>
<P>The relatively poor optimization of biomass in the dynamic environment could be expected, because of the additional uncertainty introduced into the herbivore food chain. The algorithm did show robustness by quickly recovering from swings in the food supply, due to the wide range of body mass preserved by the speciation algorithm. This evidence would seem to accord well with observations [5] that changing environmental conditions aggravate the swings of the predator-prey cycle.</P>
<P>Both environments performed well in optimizing attributes unconcerned with food requirements. The values for vision, hearing, and brain size all showed advancement from average initial values to near optimal values.</P>
<P>Genetic algorithms can be a useful method for determining optimal biomasses within a static, and to a lesser extent dynamic, environment. The use of tools such as speciation more closely mimic natural processes, and preserve the diversity necessary for successful response to dynamic environmental changes. At the same time, a GA is able to optimize attributes that relate to an individual&#146;s fitness.</P>
<P><FONT SIZE="+1"><B>REFERENCES</B></FONT></P>
<DL>
<DD><B>1</B>&nbsp;&nbsp;Rosenberg, R. (1967). Simulation of genetic populations with biochemical properties. New York: McGraw Hill.
<DD><B>2</B>&nbsp;&nbsp;Adami, C. T., Brown, M. &#38; Haggerty, J. (1995). Abundance distributions in artificial life and stochastic models: &#147;Age and Area&#148; revisited, <I>Proceedings of ECAL 95</I>.
<DD><B>3</B>&nbsp;&nbsp;Ray, T. (1995). Artificial Life. <I>ATR Human Information Processing Research Laboratories</I>.
<DD><B>4</B>&nbsp;&nbsp;Kitching, R.L. (1983). <I>Systems ecology - An introduction to ecological modeling</I>. University of Queensland Press.
<DD><B>5</B>&nbsp;&nbsp;Smith, M. (1974). <I>Models in ecology</I>. Cambridge University Press, Cambridge.
</DL>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="341-343.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="../ewtoc.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>

<hr width="90%" size="1" noshade>
<div align="center">
<font face="Verdana,sans-serif" size="1">Copyright &copy; <a href="/reference/crc00001.html">CRC Press LLC</a></font>
</div>
<!-- all of the reference materials (books) have the footer and subfoot reveresed -->
<!-- reference_subfoot = footer -->
<!-- reference_footer = subfoot -->

</BODY>
</HTML>

<!-- END FOOTER -->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -