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
121
trunk/paradiseo-eo/doc/html/classeo_truncated_select_many.html
Normal file
121
trunk/paradiseo-eo/doc/html/classeo_truncated_select_many.html
Normal file
|
|
@ -0,0 +1,121 @@
|
|||
<!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: eoTruncatedSelectMany< EOT > 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>eoTruncatedSelectMany< EOT > Class Template Reference</h1>eoTruncatedSelectMany selects many individuals using <a class="el" href="classeo_select_one.html">eoSelectOne</a> as it's mechanism.
|
||||
<a href="#_details">More...</a>
|
||||
<p>
|
||||
<code>#include <<a class="el" href="eo_truncated_select_many_8h-source.html">eoTruncatedSelectMany.h</a>></code>
|
||||
<p>
|
||||
<p>Inheritance diagram for eoTruncatedSelectMany< EOT >:
|
||||
<p><center><img src="classeo_truncated_select_many.png" usemap="#eoTruncatedSelectMany< EOT >_map" border="0" alt=""></center>
|
||||
<map name="eoTruncatedSelectMany< EOT >_map">
|
||||
<area href="classeo_select.html" alt="eoSelect< EOT >" shape="rect" coords="204,112,603,136">
|
||||
<area href="classeo_b_f.html" alt="eoBF< const eoPop< EOT > &, eoPop< EOT > &, void >" shape="rect" coords="204,56,603,80">
|
||||
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,399,24">
|
||||
</map>
|
||||
<a href="classeo_truncated_select_many-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="eoTruncatedSelectMany::eoTruncatedSelectMany"></a>
|
||||
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_truncated_select_many.html#a0">eoTruncatedSelectMany</a> (<a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_select, double _rateGenitors, double _rateFertile, bool _interpret_as_rateG=true, bool _interpret_as_rateF=true)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <br></td></tr>
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoTruncatedSelectMany::eoTruncatedSelectMany"></a>
|
||||
</td><td class="memItemRight" valign="bottom"><b>eoTruncatedSelectMany</b> (<a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_select, <a class="el" href="classeo_how_many.html">eoHowMany</a> _howManyGenitors, <a class="el" href="classeo_how_many.html">eoHowMany</a> _howManyFertile)</td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_truncated_select_many.html#a2">operator()</a> (const <a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_source, <a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_dest)</td></tr>
|
||||
|
||||
<tr><td class="mdescLeft"> </td><td class="mdescRight">The implementation repeatidly selects an individual. <a href="#a2"></a><br></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="eoTruncatedSelectMany::select"></a>
|
||||
<a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </td><td class="memItemRight" valign="bottom"><b>select</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoTruncatedSelectMany::howManyGenitors"></a>
|
||||
<a class="el" href="classeo_how_many.html">eoHowMany</a> </td><td class="memItemRight" valign="bottom"><b>howManyGenitors</b></td></tr>
|
||||
|
||||
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r2" doxytag="eoTruncatedSelectMany::howManyFertile"></a>
|
||||
<a class="el" href="classeo_how_many.html">eoHowMany</a> </td><td class="memItemRight" valign="bottom"><b>howManyFertile</b></td></tr>
|
||||
|
||||
</table>
|
||||
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
||||
<h3>template<class EOT><br>
|
||||
class eoTruncatedSelectMany< EOT ></h3>
|
||||
|
||||
eoTruncatedSelectMany selects many individuals using <a class="el" href="classeo_select_one.html">eoSelectOne</a> as it's mechanism.
|
||||
<p>
|
||||
Therefore <a class="el" href="classeo_select_many.html">eoSelectMany</a> needs an <a class="el" href="classeo_select_one.html">eoSelectOne</a> in its ctor<p>
|
||||
It will use an eoHowMnay to determine the number of guys to select, and push them to the back of the destination population.<p>
|
||||
And it will only perform selection from the top guys in the population.<p>
|
||||
It is NOT a special case of <a class="el" href="classeo_select_many.html">eoSelectMany</a> because it needs to SORT the population to discard the worst guys before doing the selection<p>
|
||||
However, the same result can be obtained by embedding an <a class="el" href="classeo_truncated_select_one.html">eoTruncatedSelectOne</a> into an <a class="el" href="classeo_select_many.html">eoSelectMany</a> ...
|
||||
<p>
|
||||
|
||||
<p>
|
||||
Definition at line <a class="el" href="eo_truncated_select_many_8h-source.html#l00053">53</a> of file <a class="el" href="eo_truncated_select_many_8h-source.html">eoTruncatedSelectMany.h</a>.<hr><h2>Member Function Documentation</h2>
|
||||
<a class="anchor" name="a2" doxytag="eoTruncatedSelectMany::operator()"></a><p>
|
||||
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
|
||||
<tr>
|
||||
<td class="mdRow">
|
||||
<table cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td class="md" colspan="4">
|
||||
template<class EOT> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="md" nowrap valign="top">virtual void <a class="el" href="classeo_truncated_select_many.html">eoTruncatedSelectMany</a>< <a class="el" href="struct_dummy.html">EOT</a> >::operator() </td>
|
||||
<td class="md" valign="top">( </td>
|
||||
<td class="md" nowrap valign="top">const <a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </td>
|
||||
<td class="mdname" nowrap> <em>_source</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="md" nowrap align="right"></td>
|
||||
<td class="md"></td>
|
||||
<td class="md" nowrap><a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </td>
|
||||
<td class="mdname" nowrap> <em>_dest</em></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="md"></td>
|
||||
<td class="md">) </td>
|
||||
<td class="md" colspan="2"><code> [inline, virtual]</code></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table cellspacing="5" cellpadding="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
<p>
|
||||
The implementation repeatidly selects an individual.
|
||||
<p>
|
||||
<dl compact><dt><b>Parameters:</b></dt><dd>
|
||||
<table border="0" cellspacing="2" cellpadding="0">
|
||||
<tr><td valign="top"></td><td valign="top"><em>_source</em> </td><td>the source population </td></tr>
|
||||
<tr><td valign="top"></td><td valign="top"><em>_dest</em> </td><td>the resulting population (size of this population is the number of times <a class="el" href="classeo_select_one.html">eoSelectOne</a> is called. It empties the destination and adds the selection into it) </td></tr>
|
||||
</table>
|
||||
</dl>
|
||||
|
||||
<p>
|
||||
Implements <a class="el" href="classeo_b_f.html#a1">eoBF< const eoPop< EOT > &, eoPop< EOT > &, void ></a>.
|
||||
<p>
|
||||
Definition at line <a class="el" href="eo_truncated_select_many_8h-source.html#l00077">77</a> of file <a class="el" href="eo_truncated_select_many_8h-source.html">eoTruncatedSelectMany.h</a>.
|
||||
<p>
|
||||
References <a class="el" href="eo_select_one_8h-source.html#l00049">eoSelectOne< EOT, WorthT >::setup()</a>, <a class="el" href="eo_pop_8h-source.html#l00152">eoPop< EOT >::shuffle()</a>, and <a class="el" href="eo_pop_8h-source.html#l00133">eoPop< EOT >::sort()</a>. </td>
|
||||
</tr>
|
||||
</table>
|
||||
<hr>The documentation for this class was generated from the following file:<ul>
|
||||
<li><a class="el" href="eo_truncated_select_many_8h-source.html">eoTruncatedSelectMany.h</a></ul>
|
||||
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:57 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