/usr/share/doc/python-pyevolve-doc/html/module_mutators.html is in python-pyevolve-doc 0.6~rc1+svn398+dfsg-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Mutators – mutation methods module — Pyevolve 0.6 final documentation</title>
<link rel="stylesheet" href="_static/default_patch.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<script type="text/javascript">
var DOCUMENTATION_OPTIONS = {
URL_ROOT: './',
VERSION: '0.6 final',
COLLAPSE_INDEX: false,
FILE_SUFFIX: '.html',
HAS_SOURCE: false
};
</script>
<script type="text/javascript" src="_static/jquery.js"></script>
<script type="text/javascript" src="_static/underscore.js"></script>
<script type="text/javascript" src="_static/doctools.js"></script>
<link rel="top" title="Pyevolve 0.6 final documentation" href="index.html" />
<link rel="up" title="pyevolve – the main pyevolve namespace" href="module_pyevolve.html" />
<link rel="next" title="Crossovers – crossover methods module" href="module_crossovers.html" />
<link rel="prev" title="GPopulation – the population module" href="module_gpopulation.html" />
</head>
<body>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
accesskey="I">index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="module_crossovers.html" title="Crossovers – crossover methods module"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="module_gpopulation.html" title="GPopulation – the population module"
accesskey="P">previous</a> |</li>
<li><a href="index.html">Pyevolve 0.6 final documentation</a> »</li>
<li><a href="modules.html" >Modules</a> »</li>
<li><a href="module_pyevolve.html" accesskey="U"><tt class="docutils literal"><span class="pre">pyevolve</span></tt> – the main pyevolve namespace</a> »</li>
</ul>
</div>
<div class="document">
<div class="documentwrapper">
<div class="bodywrapper">
<div class="body">
<span class="target" id="module-Mutators"></span><div class="section" id="mutators-mutation-methods-module">
<h1><a class="reference internal" href="#module-Mutators" title="Mutators"><tt class="xref py py-mod docutils literal"><span class="pre">Mutators</span></tt></a> – mutation methods module<a class="headerlink" href="#mutators-mutation-methods-module" title="Permalink to this headline">¶</a></h1>
<p>In this module we have the genetic operators of mutation for each chromosome representation.</p>
<dl class="function">
<dt id="Mutators.G1DBinaryStringMutatorFlip">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DBinaryStringMutatorFlip</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DBinaryStringMutatorFlip" title="Permalink to this definition">¶</a></dt>
<dd><p>The classical flip mutator for binary strings</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DBinaryStringMutatorSwap">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DBinaryStringMutatorSwap</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DBinaryStringMutatorSwap" title="Permalink to this definition">¶</a></dt>
<dd><p>The 1D Binary String Swap Mutator</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorAllele">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorAllele</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorAllele" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, Allele Mutator</p>
<p>To use this mutator, you must specify the <em>allele</em> genome parameter with the
<a class="reference internal" href="module_allele.html#GAllele.GAlleles" title="GAllele.GAlleles"><tt class="xref py py-class docutils literal"><span class="pre">GAllele.GAlleles</span></tt></a> instance.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorIntegerBinary">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorIntegerBinary</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorIntegerBinary" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, the binary mutator</p>
<p>This mutator will random change the 0 and 1 elements of the 1D List.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorIntegerGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorIntegerGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorIntegerGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>A gaussian mutator for G1DList of Integers</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorIntegerRange">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorIntegerRange</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorIntegerRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Simple integer range mutator for G1DList</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorRealGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorRealGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorRealGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, Gaussian Mutator</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorRealRange">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorRealRange</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorRealRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Simple real range mutator for G1DList</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorSIM">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorSIM</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorSIM" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, Simple Inversion Mutation</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">this mutator is <a class="reference internal" href="intro.html#term-data-type-independent"><em class="xref std std-term">Data Type Independent</em></a></p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.G1DListMutatorSwap">
<tt class="descclassname">Mutators.</tt><tt class="descname">G1DListMutatorSwap</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G1DListMutatorSwap" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, Swap Mutator</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">this mutator is <a class="reference internal" href="intro.html#term-data-type-independent"><em class="xref std std-term">Data Type Independent</em></a></p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DBinaryStringMutatorFlip">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DBinaryStringMutatorFlip</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DBinaryStringMutatorFlip" title="Permalink to this definition">¶</a></dt>
<dd><p>A flip mutator for G2DBinaryString</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>G2DBinaryStringMutatorFlip</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DBinaryStringMutatorSwap">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DBinaryStringMutatorSwap</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DBinaryStringMutatorSwap" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G2DBinaryString, Swap Mutator</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>G2DBinaryStringMutatorSwap</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DListMutatorAllele">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DListMutatorAllele</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DListMutatorAllele" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G2DList, Allele Mutator</p>
<p>To use this mutator, you must specify the <em>allele</em> genome parameter with the
<a class="reference internal" href="module_allele.html#GAllele.GAlleles" title="GAllele.GAlleles"><tt class="xref py py-class docutils literal"><span class="pre">GAllele.GAlleles</span></tt></a> instance.</p>
<div class="admonition warning">
<p class="first admonition-title">Warning</p>
<p class="last">the <a class="reference internal" href="module_allele.html#GAllele.GAlleles" title="GAllele.GAlleles"><tt class="xref py py-class docutils literal"><span class="pre">GAllele.GAlleles</span></tt></a> instance must have the homogeneous flag enabled</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DListMutatorIntegerGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DListMutatorIntegerGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DListMutatorIntegerGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>A gaussian mutator for G2DList of Integers</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DListMutatorIntegerRange">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DListMutatorIntegerRange</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DListMutatorIntegerRange" title="Permalink to this definition">¶</a></dt>
<dd><p>Simple integer range mutator for G2DList</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DListMutatorRealGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DListMutatorRealGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DListMutatorRealGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>A gaussian mutator for G2DList of Real</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.G2DListMutatorSwap">
<tt class="descclassname">Mutators.</tt><tt class="descname">G2DListMutatorSwap</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.G2DListMutatorSwap" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of G1DList, Swap Mutator</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">this mutator is <a class="reference internal" href="intro.html#term-data-type-independent"><em class="xref std std-term">Data Type Independent</em></a></p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeGPMutatorOperation">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeGPMutatorOperation</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeGPMutatorOperation" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of GTreeGP, Operation Mutator</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeGPMutatorOperation</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeGPMutatorSubtree">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeGPMutatorSubtree</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeGPMutatorSubtree" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of GTreeGP, Subtree Mutator</p>
<p>This mutator will recreate random subtree of the tree using the grow algorithm.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeGPMutatorSubtree</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeMutatorIntegerGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeMutatorIntegerGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeMutatorIntegerGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>A gaussian mutator for GTree of Integers</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeMutatorIntegerRange">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeMutatorIntegerRange</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeMutatorIntegerRange" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of GTree, Integer Range Mutator</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeMutatorIntegerRange</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeMutatorRealGaussian">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeMutatorRealGaussian</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeMutatorRealGaussian" title="Permalink to this definition">¶</a></dt>
<dd><p>A gaussian mutator for GTree of Real numbers</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional. Also
accepts the parameter <em>gauss_mu</em> and the <em>gauss_sigma</em> which respectively
represents the mean and the std. dev. of the random distribution.</p>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeMutatorRealRange">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeMutatorRealRange</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeMutatorRealRange" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of GTree, Real Range Mutator</p>
<p>Accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters, both optional.</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeMutatorRealRange</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Mutators.GTreeMutatorSwap">
<tt class="descclassname">Mutators.</tt><tt class="descname">GTreeMutatorSwap</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Mutators.GTreeMutatorSwap" title="Permalink to this definition">¶</a></dt>
<dd><p>The mutator of GTree, Swap Mutator</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeMutatorSwap</em> function</p>
</div>
</dd></dl>
</div>
</div>
</div>
</div>
<div class="sphinxsidebar">
<div class="sphinxsidebarwrapper">
<h4>Previous topic</h4>
<p class="topless"><a href="module_gpopulation.html"
title="previous chapter"><tt class="docutils literal"><span class="pre">GPopulation</span></tt> – the population module</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="module_crossovers.html"
title="next chapter"><tt class="docutils literal"><span class="pre">Crossovers</span></tt> – crossover methods module</a></p>
<div id="searchbox" style="display: none">
<h3>Quick search</h3>
<form class="search" action="search.html" method="get">
<input type="text" name="q" />
<input type="submit" value="Go" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
<p class="searchtip" style="font-size: 90%">
Enter search terms or a module, class or function name.
</p>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
</div>
</div>
<div class="clearer"></div>
</div>
<div class="related">
<h3>Navigation</h3>
<ul>
<li class="right" style="margin-right: 10px">
<a href="genindex.html" title="General Index"
>index</a></li>
<li class="right" >
<a href="py-modindex.html" title="Python Module Index"
>modules</a> |</li>
<li class="right" >
<a href="module_crossovers.html" title="Crossovers – crossover methods module"
>next</a> |</li>
<li class="right" >
<a href="module_gpopulation.html" title="GPopulation – the population module"
>previous</a> |</li>
<li><a href="index.html">Pyevolve 0.6 final documentation</a> »</li>
<li><a href="modules.html" >Modules</a> »</li>
<li><a href="module_pyevolve.html" ><tt class="docutils literal"><span class="pre">pyevolve</span></tt> – the main pyevolve namespace</a> »</li>
</ul>
</div>
<div class="footer">
© Copyright 2010, Christian S. Perone.
Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
</div>
</body>
</html>
|