paradiseo/trunk/paradiseo-moeo/docs/html/classmoeoDummyFitnessAssignment.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

149 lines
9.6 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: moeoDummyFitnessAssignment&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>moeoDummyFitnessAssignment&lt; MOEOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoDummyFitnessAssignment" --><!-- doxytag: inherits="moeoFitnessAssignment" --><a class="el" href="classmoeoDummyFitnessAssignment.html">moeoDummyFitnessAssignment</a> is a <a class="el" href="classmoeoFitnessAssignment.html">moeoFitnessAssignment</a> that gives the value '0' as the individual's fitness for a whole population if it is invalid.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoFitnessAssignment_8h-source.html">moeoFitnessAssignment.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoDummyFitnessAssignment&lt; MOEOT &gt;:
<p><center><img src="classmoeoDummyFitnessAssignment.png" usemap="#moeoDummyFitnessAssignment< MOEOT >_map" border="0" alt=""></center>
<map name="moeoDummyFitnessAssignment< MOEOT >_map">
<area href="classmoeoFitnessAssignment.html" alt="moeoFitnessAssignment< MOEOT >" shape="rect" coords="0,112,257,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html" alt="eoUF< eoPop< MOEOT > &, void >" shape="rect" coords="0,56,257,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,257,24">
</map>
<a href="classmoeoDummyFitnessAssignment-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="33cc1cd06c4c1d8f1f56602594e0593a"></a><!-- doxytag: member="moeoDummyFitnessAssignment::ObjectiveVector" ref="33cc1cd06c4c1d8f1f56602594e0593a" args="" -->
typedef MOEOT::ObjectiveVector&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDummyFitnessAssignment.html#33cc1cd06c4c1d8f1f56602594e0593a">ObjectiveVector</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The type for objective vector. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDummyFitnessAssignment.html#03c7c1649ae3c83ef6b3668977c10982">operator()</a> (<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">Sets the fitness to '0' for every individuals of the population _pop if it is invalid. <a href="#03c7c1649ae3c83ef6b3668977c10982"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoDummyFitnessAssignment.html#6e87d4a8ff8f43a7001a21a13795d00e">updateByDeleting</a> (<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, <a class="el" href="classmoeoDummyFitnessAssignment.html#33cc1cd06c4c1d8f1f56602594e0593a">ObjectiveVector</a> &amp;_objVec)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Updates the fitness values of the whole population _pop by taking the deletion of the objective vector _objVec into account. <a href="#6e87d4a8ff8f43a7001a21a13795d00e"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class MOEOT&gt;<br>
class moeoDummyFitnessAssignment&lt; MOEOT &gt;</h3>
<a class="el" href="classmoeoDummyFitnessAssignment.html">moeoDummyFitnessAssignment</a> is a <a class="el" href="classmoeoFitnessAssignment.html">moeoFitnessAssignment</a> that gives the value '0' as the individual's fitness for a whole population if it is invalid.
<p>
<p>
Definition at line <a class="el" href="moeoFitnessAssignment_8h-source.html#l00056">56</a> of file <a class="el" href="moeoFitnessAssignment_8h-source.html">moeoFitnessAssignment.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="03c7c1649ae3c83ef6b3668977c10982"></a><!-- doxytag: member="moeoDummyFitnessAssignment::operator()" ref="03c7c1649ae3c83ef6b3668977c10982" args="(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">void <a class="el" href="classmoeoDummyFitnessAssignment.html">moeoDummyFitnessAssignment</a>&lt; MOEOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><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, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the fitness to '0' for every individuals of the population _pop if it is invalid.
<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>
Implements <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html#a1">eoUF&lt; eoPop&lt; MOEOT &gt; &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="moeoFitnessAssignment_8h-source.html#l00068">68</a> of file <a class="el" href="moeoFitnessAssignment_8h-source.html">moeoFitnessAssignment.h</a>.
</div>
</div><p>
<a class="anchor" name="6e87d4a8ff8f43a7001a21a13795d00e"></a><!-- doxytag: member="moeoDummyFitnessAssignment::updateByDeleting" ref="6e87d4a8ff8f43a7001a21a13795d00e" args="(eoPop&lt; MOEOT &gt; &amp;_pop, ObjectiveVector &amp;_objVec)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class MOEOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmoeoDummyFitnessAssignment.html">moeoDummyFitnessAssignment</a>&lt; MOEOT &gt;::updateByDeleting </td>
<td>(</td>
<td class="paramtype"><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>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmoeoDummyFitnessAssignment.html#33cc1cd06c4c1d8f1f56602594e0593a">ObjectiveVector</a> &amp;&nbsp;</td>
<td class="paramname"> <em>_objVec</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Updates the fitness values of the whole population _pop by taking the deletion of the objective vector _objVec into account.
<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>
<tr><td valign="top"></td><td valign="top"><em>_objVec</em>&nbsp;</td><td>the objective vector </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classmoeoFitnessAssignment.html#4922629569eddc9be049b3ead1ab0269">moeoFitnessAssignment&lt; MOEOT &gt;</a>.
<p>
Definition at line <a class="el" href="moeoFitnessAssignment_8h-source.html#l00086">86</a> of file <a class="el" href="moeoFitnessAssignment_8h-source.html">moeoFitnessAssignment.h</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoFitnessAssignment_8h-source.html">moeoFitnessAssignment.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Apr 17 16:53:21 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>