git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@15 331e1502-861f-0410-8da2-ba01fb791d7f
196 lines
11 KiB
HTML
196 lines
11 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: moeoDisctinctElitistReplacement< EOT, WorthT > 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 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><a href="pages.html"><span>Related Pages</span></a></li>
|
|
<li>
|
|
<form action="search.php" method="get">
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td><label> <u>S</u>earch for </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 List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul></div>
|
|
<h1>moeoDisctinctElitistReplacement< EOT, WorthT > Class Template Reference</h1><!-- doxytag: class="moeoDisctinctElitistReplacement" --><!-- doxytag: inherits="moeoReplacement" -->Same than <a class="el" href="classmoeoElitistReplacement.html">moeoElitistReplacement</a> except that distinct individuals are privilegied.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoDisctinctElitistReplacement< EOT, WorthT >:
|
|
<p><center><img src="classmoeoDisctinctElitistReplacement.png" usemap="#moeoDisctinctElitistReplacement< EOT, WorthT >_map" border="0" alt=""></center>
|
|
<map name="moeoDisctinctElitistReplacement< EOT, WorthT >_map">
|
|
<area href="classmoeoReplacement.html" alt="moeoReplacement< EOT, WorthT >" shape="rect" coords="0,0,289,24">
|
|
</map>
|
|
<a href="classmoeoDisctinctElitistReplacement-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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDisctinctElitistReplacement.html#f39200df2b68f6d35fbed2a2688a9d75">moeoDisctinctElitistReplacement</a> (eoPerf2Worth< EOT, WorthT > &_perf2worth)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">constructor <a href="#f39200df2b68f6d35fbed2a2688a9d75"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDisctinctElitistReplacement.html#ca73704e827074092e7d228253427a8a">operator()</a> (eoPop< EOT > &_parents, eoPop< EOT > &_offspring)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">replacement - result in _parents <a href="#ca73704e827074092e7d228253427a8a"></a><br></td></tr>
|
|
<tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDisctinctElitistReplacement.html#7aed100016940e4806a7c93c0e22bf85">createNewPop</a> (eoPop< EOT > &_pop, unsigned _size)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">creation of the new population of size _size <a href="#7aed100016940e4806a7c93c0e22bf85"></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="3d1616ba57c10f5a77e0ec021cc8beb2"></a><!-- doxytag: member="moeoDisctinctElitistReplacement::perf2worth" ref="3d1616ba57c10f5a77e0ec021cc8beb2" args="" -->
|
|
eoPerf2Worth< EOT, WorthT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDisctinctElitistReplacement.html#3d1616ba57c10f5a77e0ec021cc8beb2">perf2worth</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">the functor object to transform raw fitnesses into fitness for selection <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT, class WorthT = double><br>
|
|
class moeoDisctinctElitistReplacement< EOT, WorthT ></h3>
|
|
|
|
Same than <a class="el" href="classmoeoElitistReplacement.html">moeoElitistReplacement</a> except that distinct individuals are privilegied.
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoReplacement_8h-source.html#l00078">78</a> of file <a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="f39200df2b68f6d35fbed2a2688a9d75"></a><!-- doxytag: member="moeoDisctinctElitistReplacement::moeoDisctinctElitistReplacement" ref="f39200df2b68f6d35fbed2a2688a9d75" args="(eoPerf2Worth< EOT, WorthT > &_perf2worth)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT, class WorthT = double> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoDisctinctElitistReplacement.html">moeoDisctinctElitistReplacement</a>< EOT, WorthT >::<a class="el" href="classmoeoDisctinctElitistReplacement.html">moeoDisctinctElitistReplacement</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">eoPerf2Worth< EOT, WorthT > & </td>
|
|
<td class="paramname"> <em>_perf2worth</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
constructor
|
|
<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>_perf2worth</em> </td><td>the functor class to transform raw fitnesses into fitness for selection </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoReplacement_8h-source.html#l00087">87</a> of file <a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="ca73704e827074092e7d228253427a8a"></a><!-- doxytag: member="moeoDisctinctElitistReplacement::operator()" ref="ca73704e827074092e7d228253427a8a" args="(eoPop< EOT > &_parents, eoPop< EOT > &_offspring)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT, class WorthT = double> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmoeoDisctinctElitistReplacement.html">moeoDisctinctElitistReplacement</a>< EOT, WorthT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">eoPop< EOT > & </td>
|
|
<td class="paramname"> <em>_parents</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">eoPop< EOT > & </td>
|
|
<td class="paramname"> <em>_offspring</em></td><td> </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>
|
|
replacement - result in _parents
|
|
<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>_parents</em> </td><td>parents population </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_offspring</em> </td><td>offspring population </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoReplacement_8h-source.html#l00099">99</a> of file <a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoReplacement_8h-source.html#l00123">moeoDisctinctElitistReplacement< EOT, WorthT >::createNewPop()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="7aed100016940e4806a7c93c0e22bf85"></a><!-- doxytag: member="moeoDisctinctElitistReplacement::createNewPop" ref="7aed100016940e4806a7c93c0e22bf85" args="(eoPop< EOT > &_pop, unsigned _size)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT, class WorthT = double> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmoeoDisctinctElitistReplacement.html">moeoDisctinctElitistReplacement</a>< EOT, WorthT >::createNewPop </td>
|
|
<td>(</td>
|
|
<td class="paramtype">eoPop< EOT > & </td>
|
|
<td class="paramname"> <em>_pop</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">unsigned </td>
|
|
<td class="paramname"> <em>_size</em></td><td> </td>
|
|
</tr>
|
|
<tr>
|
|
<td></td>
|
|
<td>)</td>
|
|
<td></td><td></td><td width="100%"><code> [inline, private]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
creation of the new population of size _size
|
|
<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> </td><td>the initial population (will be modified) </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_size</em> </td><td>the size of the population to create </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoReplacement_8h-source.html#l00123">123</a> of file <a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoReplacement_8h-source.html#l00115">moeoDisctinctElitistReplacement< EOT, WorthT >::perf2worth</a>.
|
|
<p>
|
|
Referenced by <a class="el" href="moeoReplacement_8h-source.html#l00099">moeoDisctinctElitistReplacement< EOT, WorthT >::operator()()</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoReplacement_8h-source.html">moeoReplacement.h</a></ul>
|
|
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 6 10:16:12 2006 for ParadisEO-MOEO by
|
|
<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>
|