paradiseo/trunk/doc/html/classmoeoContributionMetric.html
legrand 71d9bd08e6 MOEO (Multi Objective Evolving Objects) main directory
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@15 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-06 10:10:17 +00:00

255 lines
16 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: moeoContributionMetric&lt; EOT &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><a href="pages.html"><span>Related&nbsp;Pages</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>moeoContributionMetric&lt; EOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoContributionMetric" --><!-- doxytag: inherits="moeoVectorVsVectorBM&lt; EOT, double &gt;" -->The contribution metric evaluates the proportion of non-dominated solutions given by a Pareto set relatively to another Pareto set.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoContributionMetric&lt; EOT &gt;:
<p><center><img src="classmoeoContributionMetric.png" usemap="#moeoContributionMetric< EOT >_map" border="0" alt=""></center>
<map name="moeoContributionMetric< EOT >_map">
<area href="classmoeoVectorVsVectorBM.html" alt="moeoVectorVsVectorBM< EOT, double >" shape="rect" coords="0,112,248,136">
<area href="classmoeoBM.html" alt="moeoBM< A1, A2, R >" shape="rect" coords="0,56,248,80">
<area href="classmoeoMetric.html" alt="moeoMetric" shape="rect" coords="0,0,248,24">
</map>
<a href="classmoeoContributionMetric-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="06c0247b9558eeb34e32c9a694924a66"></a><!-- doxytag: member="moeoContributionMetric::EOFitness" ref="06c0247b9558eeb34e32c9a694924a66" args="" -->
typedef EOT::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The fitness type of a solution. <br></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">double&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#76b6b93124263ca1a8232b12a556d843">operator()</a> (const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set1, const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the contribution of the Pareto set '_set1' relatively to the Pareto set '_set2'. <a href="#76b6b93124263ca1a8232b12a556d843"></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">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#a0041e60c941dd1909f28fadcf011b87">card_C</a> (const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set1, const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of solutions both in '_set1' and '_set2'. <a href="#a0041e60c941dd1909f28fadcf011b87"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#64a72db699a10d6b4794773d4adbae3c">card_W</a> (const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set1, const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of solutions in '_set1' dominating at least one solution of '_set2'. <a href="#64a72db699a10d6b4794773d4adbae3c"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#9960fc1396dbadb412719aaeeedcf961">card_N</a> (const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set1, const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;_set2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns the number of solutions in '_set1' having no relation of dominance with those from '_set2'. <a href="#9960fc1396dbadb412719aaeeedcf961"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class moeoContributionMetric&lt; EOT &gt;</h3>
The contribution metric evaluates the proportion of non-dominated solutions given by a Pareto set relatively to another Pareto set.
<p>
(Meunier, Talbi, Reininger: 'A multiobjective genetic algorithm for radio network optimization', in Proc. of the 2000 Congress on Evolutionary Computation, IEEE Press, pp. 317-324)
<p>
<p>
Definition at line <a class="el" href="moeoContributionMetric_8h-source.html#l00023">23</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="76b6b93124263ca1a8232b12a556d843"></a><!-- doxytag: member="moeoContributionMetric::operator()" ref="76b6b93124263ca1a8232b12a556d843" args="(const std::vector&lt; EOFitness &gt; &amp;_set1, const std::vector&lt; EOFitness &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; EOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set2</em></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>
Returns the contribution of the Pareto set '_set1' relatively to the Pareto set '_set2'.
<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>_set1</em>&nbsp;</td><td>the first Pareto set </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_set2</em>&nbsp;</td><td>the second Pareto set </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoContributionMetric_8h-source.html#l00038">38</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.
<p>
References <a class="el" href="moeoContributionMetric_8h-source.html#l00057">moeoContributionMetric&lt; EOT &gt;::card_C()</a>, <a class="el" href="moeoContributionMetric_8h-source.html#l00095">moeoContributionMetric&lt; EOT &gt;::card_N()</a>, and <a class="el" href="moeoContributionMetric_8h-source.html#l00076">moeoContributionMetric&lt; EOT &gt;::card_W()</a>.
</div>
</div><p>
<a class="anchor" name="a0041e60c941dd1909f28fadcf011b87"></a><!-- doxytag: member="moeoContributionMetric::card_C" ref="a0041e60c941dd1909f28fadcf011b87" args="(const std::vector&lt; EOFitness &gt; &amp;_set1, const std::vector&lt; EOFitness &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; EOT &gt;::card_C </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set2</em></td><td>&nbsp;</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>
Returns the number of solutions both in '_set1' and '_set2'.
<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>_set1</em>&nbsp;</td><td>the first Pareto set </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_set2</em>&nbsp;</td><td>the second Pareto set </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoContributionMetric_8h-source.html#l00057">57</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.
<p>
Referenced by <a class="el" href="moeoContributionMetric_8h-source.html#l00038">moeoContributionMetric&lt; EOT &gt;::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="64a72db699a10d6b4794773d4adbae3c"></a><!-- doxytag: member="moeoContributionMetric::card_W" ref="64a72db699a10d6b4794773d4adbae3c" args="(const std::vector&lt; EOFitness &gt; &amp;_set1, const std::vector&lt; EOFitness &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; EOT &gt;::card_W </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set2</em></td><td>&nbsp;</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>
Returns the number of solutions in '_set1' dominating at least one solution of '_set2'.
<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>_set1</em>&nbsp;</td><td>the first Pareto set </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_set2</em>&nbsp;</td><td>the second Pareto set </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoContributionMetric_8h-source.html#l00076">76</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.
<p>
Referenced by <a class="el" href="moeoContributionMetric_8h-source.html#l00038">moeoContributionMetric&lt; EOT &gt;::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="9960fc1396dbadb412719aaeeedcf961"></a><!-- doxytag: member="moeoContributionMetric::card_N" ref="9960fc1396dbadb412719aaeeedcf961" args="(const std::vector&lt; EOFitness &gt; &amp;_set1, const std::vector&lt; EOFitness &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class EOT&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; EOT &gt;::card_N </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set1</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>_set2</em></td><td>&nbsp;</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>
Returns the number of solutions in '_set1' having no relation of dominance with those from '_set2'.
<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>_set1</em>&nbsp;</td><td>the first Pareto set </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_set2</em>&nbsp;</td><td>the second Pareto set </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoContributionMetric_8h-source.html#l00095">95</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.
<p>
Referenced by <a class="el" href="moeoContributionMetric_8h-source.html#l00038">moeoContributionMetric&lt; EOT &gt;::operator()()</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Wed Dec 6 10:16:12 2006 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>