paradiseo/branches/paradiseo-moeo-1.0/doc/html/classmoeoRouletteSelect.html
liefooga b1d6dd41c0 add doc
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@397 331e1502-861f-0410-8da2-ba01fb791d7f
2007-06-26 13:13:33 +00:00

144 lines
8.2 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>ParadisEO-MOEO: moeoRouletteSelect&lt; MOEOT &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.7 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<form action="search.php" method="get">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><label>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</label></td>
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
</tr>
</table>
</form>
</li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul></div>
<h1>moeoRouletteSelect&lt; MOEOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoRouletteSelect" --><!-- doxytag: inherits="moeoSelectOne" -->Selection strategy that selects ONE individual by using roulette wheel process.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoRouletteSelect&lt; MOEOT &gt;:
<p><center><img src="classmoeoRouletteSelect.png" usemap="#moeoRouletteSelect< MOEOT >_map" border="0" alt=""></center>
<map name="moeoRouletteSelect< MOEOT >_map">
<area href="classmoeoSelectOne.html" alt="moeoSelectOne< MOEOT >" shape="rect" coords="0,168,192,192">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_select_one.html" alt="eoSelectOne< MOEOT >" shape="rect" coords="0,112,192,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html" alt="eoUF< A1, R >" shape="rect" coords="0,56,192,80">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,192,24">
</map>
<a href="classmoeoRouletteSelect-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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoRouletteSelect.html#4caa45f4c9d1ad2949cc14d2c21b77ea">moeoRouletteSelect</a> (unsigned int _tSize=2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor. <a href="#4caa45f4c9d1ad2949cc14d2c21b77ea"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">const MOEOT &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoRouletteSelect.html#573fe156daf6fdfbae96d2b54a9fc260">operator()</a> (const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Apply the tournament to the given population. <a href="#573fe156daf6fdfbae96d2b54a9fc260"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="19af84fe966381cbfbe032f69ee0b42b"></a><!-- doxytag: member="moeoRouletteSelect::tSize" ref="19af84fe966381cbfbe032f69ee0b42b" args="" -->
double &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoRouletteSelect.html#19af84fe966381cbfbe032f69ee0b42b">tSize</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">size <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class MOEOT&gt;<br>
class moeoRouletteSelect&lt; MOEOT &gt;</h3>
Selection strategy that selects ONE individual by using roulette wheel process.
<p>
<dl compact><dt><b>Warning:</b></dt><dd>This selection only uses fitness values (and not diversity values). </dd></dl>
<p>
<p>
Definition at line <a class="el" href="moeoRouletteSelect_8h-source.html#l00024">24</a> of file <a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="4caa45f4c9d1ad2949cc14d2c21b77ea"></a><!-- doxytag: member="moeoRouletteSelect::moeoRouletteSelect" ref="4caa45f4c9d1ad2949cc14d2c21b77ea" args="(unsigned int _tSize=2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmoeoRouletteSelect.html">moeoRouletteSelect</a>&lt; MOEOT &gt;::<a class="el" href="classmoeoRouletteSelect.html">moeoRouletteSelect</a> </td>
<td>(</td>
<td class="paramtype">unsigned int&nbsp;</td>
<td class="paramname"> <em>_tSize</em> = <code>2</code> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Ctor.
<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>_tSize</em>&nbsp;</td><td>the number of individuals in the tournament (default: 2) </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoRouletteSelect_8h-source.html#l00032">32</a> of file <a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>.
<p>
References <a class="el" href="moeoRouletteSelect_8h-source.html#l00058">moeoRouletteSelect&lt; MOEOT &gt;::tSize</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="573fe156daf6fdfbae96d2b54a9fc260"></a><!-- doxytag: member="moeoRouletteSelect::operator()" ref="573fe156daf6fdfbae96d2b54a9fc260" args="(const eoPop&lt; MOEOT &gt; &amp;_pop)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">const MOEOT&amp; <a class="el" href="classmoeoRouletteSelect.html">moeoRouletteSelect</a>&lt; MOEOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype">const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_pop</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Apply the tournament to the given population.
<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>_pop</em>&nbsp;</td><td>the population </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoRouletteSelect_8h-source.html#l00048">48</a> of file <a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>.
<p>
References <a class="el" href="moeoRouletteSelect_8h-source.html#l00058">moeoRouletteSelect&lt; MOEOT &gt;::tSize</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Jun 26 15:13:04 2007 for ParadisEO-MOEO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>