paradiseo/trunk/paradiseo-moeo/docs/html/classmoeoRouletteSelect.html
liefooga 2e7e817428 update docs
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
2007-04-17 15:45:01 +00:00

158 lines
9.7 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.5.1 -->
<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#8d5d046fd3520bee76789f3f78a732e8">moeoRouletteSelect</a> (<a class="el" href="classmoeoComparator.html">moeoComparator</a>&lt; MOEOT &gt; &amp;_comparator, unsigned _tSize=2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Full Ctor. <a href="#8d5d046fd3520bee76789f3f78a732e8"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoRouletteSelect.html#491b8a06df1c743f78feaf01f63a2b48">moeoRouletteSelect</a> (unsigned _tSize=2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor without comparator. <a href="#491b8a06df1c743f78feaf01f63a2b48"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="573fe156daf6fdfbae96d2b54a9fc260"></a><!-- doxytag: member="moeoRouletteSelect::operator()" ref="573fe156daf6fdfbae96d2b54a9fc260" args="(const eoPop&lt; MOEOT &gt; &amp;_pop)" -->
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. <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="a2dafb4d5de06b734f6ca8b62e9fc081"></a><!-- doxytag: member="moeoRouletteSelect::comparator" ref="a2dafb4d5de06b734f6ca8b62e9fc081" args="" -->
<a class="el" href="classmoeoComparator.html">moeoComparator</a>&lt; MOEOT &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoRouletteSelect.html#a2dafb4d5de06b734f6ca8b62e9fc081">comparator</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">comparator <br></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>
<p>
Definition at line <a class="el" href="moeoRouletteSelect_8h-source.html#l00023">23</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="8d5d046fd3520bee76789f3f78a732e8"></a><!-- doxytag: member="moeoRouletteSelect::moeoRouletteSelect" ref="8d5d046fd3520bee76789f3f78a732e8" args="(moeoComparator&lt; MOEOT &gt; &amp;_comparator, unsigned _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"><a class="el" href="classmoeoComparator.html">moeoComparator</a>&lt; MOEOT &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_comparator</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">unsigned&nbsp;</td>
<td class="paramname"> <em>_tSize</em> = <code>2</code></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Full 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>_comparator</em>&nbsp;</td><td>the comparator (used to compare 2 individuals) </td></tr>
<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#l00033">33</a> of file <a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>.
<p>
References <a class="el" href="moeoRouletteSelect_8h-source.html#l00078">moeoRouletteSelect&lt; MOEOT &gt;::tSize</a>.
</div>
</div><p>
<a class="anchor" name="491b8a06df1c743f78feaf01f63a2b48"></a><!-- doxytag: member="moeoRouletteSelect::moeoRouletteSelect" ref="491b8a06df1c743f78feaf01f63a2b48" args="(unsigned _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&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 without comparator.
<p>
A <a class="el" href="classmoeoFitnessThenDiversityComparator.html">moeoFitnessThenDiversityComparator</a> is used as default. <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#l00050">50</a> of file <a class="el" href="moeoRouletteSelect_8h-source.html">moeoRouletteSelect.h</a>.
<p>
References <a class="el" href="moeoRouletteSelect_8h-source.html#l00078">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 Apr 17 16:53:22 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.5.1 </small></address>
</body>
</html>