paradiseo/trunk/paradiseo-moeo/doc/html/classmoeoCrowdingDiversityAssignment.html
liefooga d6f197d8cd doc up-to-date
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@552 331e1502-861f-0410-8da2-ba01fb791d7f
2007-07-05 15:37:48 +00:00

204 lines
14 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: moeoCrowdingDiversityAssignment&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>moeoCrowdingDiversityAssignment&lt; MOEOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoCrowdingDiversityAssignment" --><!-- doxytag: inherits="moeoDiversityAssignment" -->Diversity assignment sheme based on crowding proposed in: K.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoCrowdingDiversityAssignment&lt; MOEOT &gt;:
<p><center><img src="classmoeoCrowdingDiversityAssignment.png" usemap="#moeoCrowdingDiversityAssignment< MOEOT >_map" border="0" alt=""></center>
<map name="moeoCrowdingDiversityAssignment< MOEOT >_map">
<area href="classmoeoDiversityAssignment.html" alt="moeoDiversityAssignment< MOEOT >" shape="rect" coords="0,112,355,136">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html" alt="eoUF< eoPop< MOEOT > &, void >" shape="rect" coords="0,56,355,80">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,355,24">
<area href="classmoeoFrontByFrontCrowdingDiversityAssignment.html" alt="moeoFrontByFrontCrowdingDiversityAssignment< MOEOT >" shape="rect" coords="0,224,355,248">
</map>
<a href="classmoeoCrowdingDiversityAssignment-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="e6ece5e7569e9d168fcddaae37902585"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::ObjectiveVector" ref="e6ece5e7569e9d168fcddaae37902585" args="" -->
typedef MOEOT::ObjectiveVector&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoCrowdingDiversityAssignment.html#e6ece5e7569e9d168fcddaae37902585">ObjectiveVector</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the objective vector type of the solutions <br></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="e7f5dbe11427a5c264e70fe4e036242f"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::inf" ref="e7f5dbe11427a5c264e70fe4e036242f" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoCrowdingDiversityAssignment.html#e7f5dbe11427a5c264e70fe4e036242f">inf</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a big value (regarded as infinite). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="eb70be9c246dfa56b55a4ecc5454f778"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::tiny" ref="eb70be9c246dfa56b55a4ecc5454f778" args="() const " -->
double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoCrowdingDiversityAssignment.html#eb70be9c246dfa56b55a4ecc5454f778">tiny</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns a very small value that can be used to avoid extreme cases (where the min bound == the max bound). <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoCrowdingDiversityAssignment.html#1db056d5e06b337e67f848fdb60fa2a6">operator()</a> (<a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Computes diversity values for every solution contained in the population _pop. <a href="#1db056d5e06b337e67f848fdb60fa2a6"></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="classmoeoCrowdingDiversityAssignment.html#ba1d60c8e59fbe2c12e9eef33863f012">updateByDeleting</a> (<a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop</a>&lt; MOEOT &gt; &amp;_pop, <a class="el" href="classmoeoCrowdingDiversityAssignment.html#e6ece5e7569e9d168fcddaae37902585">ObjectiveVector</a> &amp;_objVec)</td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoCrowdingDiversityAssignment.html#acbe3e03404ecc67dd5e83f00576c255">setDistances</a> (<a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/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 distance values. <a href="#acbe3e03404ecc67dd5e83f00576c255"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class MOEOT&gt;<br>
class moeoCrowdingDiversityAssignment&lt; MOEOT &gt;</h3>
Diversity assignment sheme based on crowding proposed in: K.
<p>
Deb, A. Pratap, S. Agarwal, T. Meyarivan, "A Fast and Elitist Multi-Objective Genetic Algorithm: NSGA-II", IEEE Transactions on Evolutionary Computation, vol. 6, no. 2 (2002).
<p>
<p>
Definition at line <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00025">25</a> of file <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1db056d5e06b337e67f848fdb60fa2a6"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::operator()" ref="1db056d5e06b337e67f848fdb60fa2a6" 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="classmoeoCrowdingDiversityAssignment.html">moeoCrowdingDiversityAssignment</a>&lt; MOEOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/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>
Computes diversity values for every solution contained in the population _pop.
<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:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoUF&lt; eoPop&lt; MOEOT &gt; &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00055">55</a> of file <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a>.
<p>
References <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00036">moeoCrowdingDiversityAssignment&lt; MOEOT &gt;::inf()</a>, and <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00090">moeoCrowdingDiversityAssignment&lt; MOEOT &gt;::setDistances()</a>.
</div>
</div><p>
<a class="anchor" name="ba1d60c8e59fbe2c12e9eef33863f012"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::updateByDeleting" ref="ba1d60c8e59fbe2c12e9eef33863f012" 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="classmoeoCrowdingDiversityAssignment.html">moeoCrowdingDiversityAssignment</a>&lt; MOEOT &gt;::updateByDeleting </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/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="classmoeoCrowdingDiversityAssignment.html#e6ece5e7569e9d168fcddaae37902585">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>
<dl compact><dt><b>Warning:</b></dt><dd>NOT IMPLEMENTED, DO NOTHING ! Updates the diversity values of the whole population _pop by taking the deletion of the objective vector _objVec into account. </dd></dl>
<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>
<dl compact><dt><b>Warning:</b></dt><dd>NOT IMPLEMENTED, DO NOTHING ! </dd></dl>
<p>
Implements <a class="el" href="classmoeoDiversityAssignment.html#57f400263b36664df6269f1b522cfdcb">moeoDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Reimplemented in <a class="el" href="classmoeoFrontByFrontCrowdingDiversityAssignment.html#f73ff88bd29c49260e2ca859250e4b68">moeoFrontByFrontCrowdingDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Definition at line <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00078">78</a> of file <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a>.
</div>
</div><p>
<a class="anchor" name="acbe3e03404ecc67dd5e83f00576c255"></a><!-- doxytag: member="moeoCrowdingDiversityAssignment::setDistances" ref="acbe3e03404ecc67dd5e83f00576c255" 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">virtual void <a class="el" href="classmoeoCrowdingDiversityAssignment.html">moeoCrowdingDiversityAssignment</a>&lt; MOEOT &gt;::setDistances </td>
<td>(</td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/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, protected, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Sets the distance values.
<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>
Reimplemented in <a class="el" href="classmoeoFrontByFrontCrowdingDiversityAssignment.html#1aa0ec7b94fbbf952636bcc21e1a9d16">moeoFrontByFrontCrowdingDiversityAssignment&lt; MOEOT &gt;</a>.
<p>
Definition at line <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00090">90</a> of file <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a>.
<p>
References <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00036">moeoCrowdingDiversityAssignment&lt; MOEOT &gt;::inf()</a>.
<p>
Referenced by <a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html#l00055">moeoCrowdingDiversityAssignment&lt; MOEOT &gt;::operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoCrowdingDiversityAssignment_8h-source.html">moeoCrowdingDiversityAssignment.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 5 17:36:46 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>