/usr/share/doc/python-pyevolve-doc/html/module_initializators.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 | <!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>Initializators – initialization 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="Selectors – selection methods module" href="module_selectors.html" />
<link rel="prev" title="Crossovers – crossover methods module" href="module_crossovers.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_selectors.html" title="Selectors – selection methods module"
accesskey="N">next</a> |</li>
<li class="right" >
<a href="module_crossovers.html" title="Crossovers – crossover methods 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-Initializators"></span><div class="section" id="initializators-initialization-methods-module">
<h1><a class="reference internal" href="#module-Initializators" title="Initializators"><tt class="xref py py-mod docutils literal"><span class="pre">Initializators</span></tt></a> – initialization methods module<a class="headerlink" href="#initializators-initialization-methods-module" title="Permalink to this headline">¶</a></h1>
<p>In this module we have the genetic operators of initialization for each
chromosome representation, the most part of initialization is done by
choosing random data.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">In Pyevolve, the Initializator defines the data type that will
be used on the chromosome, for example, the <a class="reference internal" href="#Initializators.G1DListInitializatorInteger" title="Initializators.G1DListInitializatorInteger"><tt class="xref py py-func docutils literal"><span class="pre">G1DListInitializatorInteger()</span></tt></a>
will initialize the G1DList with Integers.</p>
</div>
<dl class="function">
<dt id="Initializators.G1DBinaryStringInitializator">
<tt class="descclassname">Initializators.</tt><tt class="descname">G1DBinaryStringInitializator</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G1DBinaryStringInitializator" title="Permalink to this definition">¶</a></dt>
<dd><p>1D Binary String initializator</p>
</dd></dl>
<dl class="function">
<dt id="Initializators.G1DListInitializatorAllele">
<tt class="descclassname">Initializators.</tt><tt class="descname">G1DListInitializatorAllele</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G1DListInitializatorAllele" title="Permalink to this definition">¶</a></dt>
<dd><p>Allele initialization function of G1DList</p>
<p>To use this initializator, 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="Initializators.G1DListInitializatorInteger">
<tt class="descclassname">Initializators.</tt><tt class="descname">G1DListInitializatorInteger</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G1DListInitializatorInteger" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer initialization function of G1DList</p>
<p>This initializator accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters.</p>
</dd></dl>
<dl class="function">
<dt id="Initializators.G1DListInitializatorReal">
<tt class="descclassname">Initializators.</tt><tt class="descname">G1DListInitializatorReal</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G1DListInitializatorReal" title="Permalink to this definition">¶</a></dt>
<dd><p>Real initialization function of G1DList</p>
<p>This initializator accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters.</p>
</dd></dl>
<dl class="function">
<dt id="Initializators.G2DBinaryStringInitializator">
<tt class="descclassname">Initializators.</tt><tt class="descname">G2DBinaryStringInitializator</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G2DBinaryStringInitializator" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer initialization function of 2D Binary String</p>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>G2DBinaryStringInitializator</em> function</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Initializators.G2DListInitializatorAllele">
<tt class="descclassname">Initializators.</tt><tt class="descname">G2DListInitializatorAllele</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G2DListInitializatorAllele" title="Permalink to this definition">¶</a></dt>
<dd><p>Allele initialization function of G2DList</p>
<p>To use this initializator, 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="Initializators.G2DListInitializatorInteger">
<tt class="descclassname">Initializators.</tt><tt class="descname">G2DListInitializatorInteger</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G2DListInitializatorInteger" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer initialization function of G2DList</p>
<p>This initializator accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters.</p>
</dd></dl>
<dl class="function">
<dt id="Initializators.G2DListInitializatorReal">
<tt class="descclassname">Initializators.</tt><tt class="descname">G2DListInitializatorReal</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.G2DListInitializatorReal" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer initialization function of G2DList</p>
<p>This initializator accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters.</p>
</dd></dl>
<dl class="function">
<dt id="Initializators.GTreeGPInitializator">
<tt class="descclassname">Initializators.</tt><tt class="descname">GTreeGPInitializator</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.GTreeGPInitializator" title="Permalink to this definition">¶</a></dt>
<dd><p>This initializator accepts the follow parameters:</p>
<dl class="docutils">
<dt><em>max_depth</em></dt>
<dd>The max depth of the tree</dd>
<dt><em>method</em></dt>
<dd>The method, accepts “grow”, “full” or “ramped”</dd>
</dl>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeGPInitializator</em> function.</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Initializators.GTreeInitializatorAllele">
<tt class="descclassname">Initializators.</tt><tt class="descname">GTreeInitializatorAllele</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.GTreeInitializatorAllele" title="Permalink to this definition">¶</a></dt>
<dd><p>Allele initialization function of GTree</p>
<p>To use this initializator, 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 <strong>must</strong> have the homogeneous flag enabled</p>
</div>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeInitializatorAllele</em> function.</p>
</div>
</dd></dl>
<dl class="function">
<dt id="Initializators.GTreeInitializatorInteger">
<tt class="descclassname">Initializators.</tt><tt class="descname">GTreeInitializatorInteger</tt><big>(</big><em>genome</em>, <em>**args</em><big>)</big><a class="headerlink" href="#Initializators.GTreeInitializatorInteger" title="Permalink to this definition">¶</a></dt>
<dd><p>Integer initialization function of GTree</p>
<p>This initializator accepts the <em>rangemin</em> and <em>rangemax</em> genome parameters.
It accepts the following parameters too:</p>
<dl class="docutils">
<dt><em>max_depth</em></dt>
<dd>The max depth of the tree</dd>
<dt><em>max_siblings</em></dt>
<dd>The number of maximum siblings of an node</dd>
<dt><em>method</em></dt>
<dd>The method, accepts “grow”, “full” or “ramped”.</dd>
</dl>
<div class="versionadded">
<p><span class="versionmodified">New in version 0.6: </span>The <em>GTreeInitializatorInteger</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_crossovers.html"
title="previous chapter"><tt class="docutils literal"><span class="pre">Crossovers</span></tt> – crossover methods module</a></p>
<h4>Next topic</h4>
<p class="topless"><a href="module_selectors.html"
title="next chapter"><tt class="docutils literal"><span class="pre">Selectors</span></tt> – selection 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_selectors.html" title="Selectors – selection methods module"
>next</a> |</li>
<li class="right" >
<a href="module_crossovers.html" title="Crossovers – crossover methods 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>
|