📄 glossary.geneticoperations.mutation.html
字号:
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>mutation Term</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link rel="stylesheet" type="text/css" href="DesignNotes.css" />
<script src="DesignNotes.js" language="javascript" type="text/javascript"></script>
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead" style="font-size: 70%"><a href="javascript:toggle('design_span',true)" title="Show or hide design notes" id="design_toggle" class="show"><img src="D.png" align="absmiddle" onLoad="javascript:check(); focus();"/></a>
Glossary of Genetic Programming Terms</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1" style="font-size: 85%; position: relative; left: 5px;">mutation Term</h1>
</div>
</td>
<td align="right" valign="top"><img src="GPE_blue.png"></td>
</tr>
</table></div>
<div id="nstext">
<p> The change of a piece of code in a single <a href="Glossary.Objects.Individual.html">Individual</a> to another random piece of code.</p>
<H4 class="dtH4">Remarks</H4>
<P><strong>mutation</strong> is the primary method for maintaining genetic diversity in a <a href="Glossary.Objects.Population.html">Population</a>, though it can also be used to create new <a href="Glossary.Objects.Individual.html">Individual</a>s. Usually, an <strong>Individual</strong> is chosen with a relatively low probability, and then one of its nodes is changed randomly.</P>
<P>For example, given the <strong>Individual</strong> (with <strong>mutation</strong> point marked by the <strong><code>></code></strong> arrow):</P>
<pre class="code"> if( x() ) {
<strong>></strong> y();
z();
}</pre>
<P>If the random <strong>mutation</strong> node were <code>a</code>, the mutated <strong>Individual</strong> would be: </P>
<pre class="code"> if( x() ) {
a();
z();
}</pre>
<P>This operation is similar to biological mutation, except that mutations occur at a larger scale.</P>
<span id="design_span" class="show">
<div class="design_note"><design>
<h4 style="position: relative; top: -5px;">Design Note</h4>
<p>In this framework, the <strong>mutation</strong> operation is performed by the <a href="GeneticProgrammingEngine.ProblemSpace.Precode.IPrecodeTree.Mutate.html">Mutate</a> method of <a href="GeneticProgrammingEngine.ProblemSpace.Precode.IPrecodeTree.html">IPrecodeTree</a>. This method can be used during <a href="Glossary.GeneticOperations.breeding.html">breeding</a> to modify existing <a href="Glossary.Individual.html">Individual</a>s or to create new ones.</p>
</design></div>
</span>
<h4 class="dtH4">See Also</h4>
<p>
<a href="GeneticProgrammingEngine.ProblemSpace.Precode.IPrecodeTree.html">IPrecodeTree Interface</a> | <span id="design_span" class="show"><a href="GeneticProgrammingEngine.ProblemSpace.Precode.IPrecodeTree.Mutate.html">Mutate Method</a></span> | <a href="GeneticProgrammingEngine.ProblemSpace.Precode.IPrecodeTree.MutationPoints.html">MutationPoints Property</a></p>
<hr />
<div id="footer"><div align="left"><a href="http://www.opensource.org/" target="_top"><img src="http://opensource.org/trademarks/open_source_button.png" border="0" align="left" style="padding-bottom: 5px"/></a> This software licensed under the <a href="http://opensource.org/licenses/afl-2.1.php" target="_top">Academic Free License version 2.1</a>. (<a href="afl-2.1.txt">Plain text</a>)</div>
<div align="right">Hosting for <a href="http://gpe.sourceforge.net/">this project</a> provided by <a href="http://sourceforge.net/">SourceForge.net</a>. (<a href="http://sourceforge.net/projects/gpe">SourceForge home</a>) <a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=140347&type=1" width="88" height="31" border="0" align="absbottom" alt="SourceForge.net Logo" /></a></div>
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -