Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
bc1f453978
commit
c3aec878e5
3609 changed files with 342772 additions and 0 deletions
73
trunk/paradiseo-eo/doc/html/classeo_uniform_init.html
Normal file
73
trunk/paradiseo-eo/doc/html/classeo_uniform_init.html
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
|
||||
<title>EO: eoUniformInit< T > Class Template Reference</title>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<!-- Generated by Doxygen 1.3.9.1 -->
|
||||
<div class="qindex"> <form class="search" action="search.php" method="get">
|
||||
<a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
||||
<h1>eoUniformInit< T > Class Template Reference</h1>The class eoUniformInit can be used in the STL apply function to easily randomize floats and doubles.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="eo_uniform_init_8h-source.html">eoUniformInit.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for eoUniformInit< T >:
|
||||
<p><center><img src="classeo_uniform_init.png" usemap="#eoUniformInit< T >_map" border="0" alt=""></center>
|
||||
<map name="eoUniformInit< T >_map">
|
||||
<area href="classeo_init.html" alt="eoInit< T >" shape="rect" coords="92,112,267,136">
|
||||
<area href="classeo_u_f.html" alt="eoUF< T &, void >" shape="rect" coords="92,56,267,80">
|
||||
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,175,24">
|
||||
</map>
|
||||
<a href="classeo_uniform_init-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
|
||||
<tr><td></td></tr>
|
||||
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a0" doxytag="eoUniformInit::eoUniformInit"></a>
|
||||
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_uniform_init.html#a0">eoUniformInit</a> (T _max=T(1.0), <a class="el" href="classeo_rng.html">eoRng</a> &_rng=rng)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with only a max bound. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoUniformInit::eoUniformInit"></a>
|
||||
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_uniform_init.html#a1">eoUniformInit</a> (<a class="el" href="classeo_real_bounds.html">eoRealBounds</a> &_bound, <a class="el" href="classeo_rng.html">eoRng</a> &_rng=rng)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with an eoRealBound. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoUniformInit::eoUniformInit"></a>
|
||||
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_uniform_init.html#a2">eoUniformInit</a> (T _min, T _max, <a class="el" href="classeo_rng.html">eoRng</a> &_rng=rng)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor with explicit min and max. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoUniformInit::operator()"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_uniform_init.html#a3">operator()</a> (T &_t)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Generates the number, uses a static_cast to get the right behaviour for ints and unsigneds. <br></td></tr>
|
||||
<tr><td class="memTemplParams" nowrap colspan="2"><a class="anchor" name="a4" doxytag="eoUniformInit::operator()"></a>
|
||||
template<> </td></tr>
|
||||
<tr><td class="memTemplItemLeft" nowrap align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><b>operator()</b> (bool &_b)</td></tr>
|
||||
|
||||
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r0" doxytag="eoUniformInit::minim"></a>
|
||||
T </td><td class="memItemRight" valign="bottom"><b>minim</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoUniformInit::range"></a>
|
||||
T </td><td class="memItemRight" valign="bottom"><b>range</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r2" doxytag="eoUniformInit::uniform"></a>
|
||||
<a class="el" href="classeo_rng.html">eoRng</a> & </td><td class="memItemRight" valign="bottom"><b>uniform</b></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<h3>template<class T = double><br>
|
||||
class eoUniformInit< T ></h3>
|
||||
|
||||
The class eoUniformInit can be used in the STL apply function to easily randomize floats and doubles.
|
||||
<p>
|
||||
It can also be used for ints and unsigneds by virtue of the static_cast<p>
|
||||
Also present is a specialization for boolean, that will ignore the minima and maxima that are possibly set and will return an unbiased flip of a coin. For a biased flip, use the eoBoolean<p>
|
||||
either in [0, _max) if only 1 value (_max) is given (or none, as _max defaults to 1.0) or in [_min,_max) if 2 values are given (_min, _max)
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="eo_uniform_init_8h-source.html#l00062">62</a> of file <a class="el" href="eo_uniform_init_8h-source.html">eoUniformInit.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="eo_uniform_init_8h-source.html">eoUniformInit.h</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:58 2006 for EO by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue