138 lines
6.1 KiB
HTML
138 lines
6.1 KiB
HTML
<!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>params — Pyogp v0.1 documentation</title>
|
|
<link rel="stylesheet" href="../_static/sphinxdoc.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.1',
|
|
COLLAPSE_MODINDEX: false,
|
|
FILE_SUFFIX: '.html',
|
|
HAS_SOURCE: true
|
|
};
|
|
</script>
|
|
<script type="text/javascript" src="../_static/jquery.js"></script>
|
|
<script type="text/javascript" src="../_static/doctools.js"></script>
|
|
<link rel="top" title="Pyogp v0.1 documentation" href="../index.html" />
|
|
<link rel="up" title="Modules" href="../modules.html" />
|
|
<link rel="next" title="parcel" href="parcel.html" />
|
|
<link rel="prev" title="objects" href="objects.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="../modindex.html" title="Global Module Index"
|
|
accesskey="M">modules</a> |</li>
|
|
<li class="right" >
|
|
<a href="parcel.html" title="parcel"
|
|
accesskey="N">next</a> |</li>
|
|
<li class="right" >
|
|
<a href="objects.html" title="objects"
|
|
accesskey="P">previous</a> |</li>
|
|
<li><a href="../index.html">Pyogp v0.1 documentation</a> »</li>
|
|
<li><a href="../modules.html" accesskey="U">Modules</a> »</li>
|
|
</ul>
|
|
</div>
|
|
<div class="sphinxsidebar">
|
|
<div class="sphinxsidebarwrapper">
|
|
<h4>Previous topic</h4>
|
|
<p class="topless"><a href="objects.html"
|
|
title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">objects</span></tt></a></p>
|
|
<h4>Next topic</h4>
|
|
<p class="topless"><a href="parcel.html"
|
|
title="next chapter"><tt class="docutils literal"><span class="pre">parcel</span></tt></a></p>
|
|
<h3>This Page</h3>
|
|
<ul class="this-page-menu">
|
|
<li><a href="../_sources/modules/params.txt"
|
|
rel="nofollow">Show Source</a></li>
|
|
</ul>
|
|
<div id="searchbox" style="display: none">
|
|
<h3>Quick search</h3>
|
|
<form class="search" action="../search.html" method="get">
|
|
<input type="text" name="q" size="18" />
|
|
<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="document">
|
|
<div class="documentwrapper">
|
|
<div class="bodywrapper">
|
|
<div class="body">
|
|
|
|
<div class="section" id="module-pyogp.lib.base.params">
|
|
<h1><tt class="xref docutils literal"><span class="pre">params</span></tt><a class="headerlink" href="#module-pyogp.lib.base.params" title="Permalink to this headline">¶</a></h1>
|
|
<dl class="class">
|
|
<dt id="pyogp.lib.base.params.VisualParams">
|
|
<em class="property">
|
|
class </em><tt class="descclassname">pyogp.lib.base.params.</tt><tt class="descname">VisualParams</tt><a class="headerlink" href="#pyogp.lib.base.params.VisualParams" title="Permalink to this definition">¶</a></dt>
|
|
<dd>The visual params of an agent</dd></dl>
|
|
|
|
<dl class="class">
|
|
<dt id="pyogp.lib.base.params.Param">
|
|
<em class="property">
|
|
class </em><tt class="descclassname">pyogp.lib.base.params.</tt><tt class="descname">Param</tt><big>(</big><em>id</em>, <em>group</em>, <em>name</em>, <em>wearable</em>, <em>value_default</em>, <em>value_min</em>, <em>value_max</em>, <em>value</em>, <em>label</em>, <em>label_min</em>, <em>label_max</em><big>)</big><a class="headerlink" href="#pyogp.lib.base.params.Param" title="Permalink to this definition">¶</a></dt>
|
|
<dd><p>a visual parameter of an agent</p>
|
|
<dl class="method">
|
|
<dt id="pyogp.lib.base.params.Param.byteToFloat">
|
|
<tt class="descname">byteToFloat</tt><big>(</big><em>val</em><big>)</big><a class="headerlink" href="#pyogp.lib.base.params.Param.byteToFloat" title="Permalink to this definition">¶</a></dt>
|
|
<dd>Converts val from a byte to a float and stores its to value</dd></dl>
|
|
|
|
<dl class="method">
|
|
<dt id="pyogp.lib.base.params.Param.floatToByte">
|
|
<tt class="descname">floatToByte</tt><big>(</big><big>)</big><a class="headerlink" href="#pyogp.lib.base.params.Param.floatToByte" title="Permalink to this definition">¶</a></dt>
|
|
<dd>Converts value from a float to a byte</dd></dl>
|
|
|
|
</dd></dl>
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
|
</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="../modindex.html" title="Global Module Index"
|
|
>modules</a> |</li>
|
|
<li class="right" >
|
|
<a href="parcel.html" title="parcel"
|
|
>next</a> |</li>
|
|
<li class="right" >
|
|
<a href="objects.html" title="objects"
|
|
>previous</a> |</li>
|
|
<li><a href="../index.html">Pyogp v0.1 documentation</a> »</li>
|
|
<li><a href="../modules.html" >Modules</a> »</li>
|
|
</ul>
|
|
</div>
|
|
<div class="footer">
|
|
© Copyright 2009, Pyogp team.
|
|
Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 0.6.1.
|
|
</div>
|
|
</body>
|
|
</html> |