git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
115 lines
7.8 KiB
HTML
115 lines
7.8 KiB
HTML
<!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: eoSelectMany< 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>eoSelectMany< EOT > Class Template Reference</h1>eoSelectMany 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_select_many_8h-source.html">eoSelectMany.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoSelectMany< EOT >:
|
|
<p><center><img src="classeo_select_many.png" usemap="#eoSelectMany< EOT >_map" border="0" alt=""></center>
|
|
<map name="eoSelectMany< 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_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="eoSelectMany::eoSelectMany"></a>
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_select_many.html#a0">eoSelectMany</a> (<a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_select, double _rate, bool _interpret_as_rate=true)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">init <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoSelectMany::eoSelectMany"></a>
|
|
</td><td class="memItemRight" valign="bottom"><b>eoSelectMany</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> _howMany)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_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="eoSelectMany::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="eoSelectMany::howMany"></a>
|
|
<a class="el" href="classeo_how_many.html">eoHowMany</a> </td><td class="memItemRight" valign="bottom"><b>howMany</b></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class eoSelectMany< EOT ></h3>
|
|
|
|
eoSelectMany selects many individuals using <a class="el" href="classeo_select_one.html">eoSelectOne</a> as it's mechanism.
|
|
<p>
|
|
Therefore eoSelectMany 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>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="eo_select_many_8h-source.html#l00045">45</a> of file <a class="el" href="eo_select_many_8h-source.html">eoSelectMany.h</a>.<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="a2" doxytag="eoSelectMany::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_select_many.html">eoSelectMany</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_select_many_8h-source.html#l00063">63</a> of file <a class="el" href="eo_select_many_8h-source.html">eoSelectMany.h</a>.
|
|
<p>
|
|
References <a class="el" href="eo_select_one_8h-source.html#l00049">eoSelectOne< EOT, WorthT >::setup()</a>. </td>
|
|
</tr>
|
|
</table>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="eo_select_many_8h-source.html">eoSelectMany.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:55 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>
|