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

252 lines
15 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; ObjectiveVector &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>moeoContributionMetric&lt; ObjectiveVector &gt; Class Template Reference</h1><!-- doxytag: class="moeoContributionMetric" --><!-- doxytag: inherits="moeoVectorVsVectorBinaryMetric&lt; ObjectiveVector, double &gt;" -->The contribution metric evaluates the proportion of non-dominated solutions given by a Pareto set relatively to another Pareto set (Meunier, Talbi, Reininger: 'A multiobjective genetic algorithm for radio network optimization', in Proc.
<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; ObjectiveVector &gt;:
<p><center><img src="classmoeoContributionMetric.png" usemap="#moeoContributionMetric< ObjectiveVector >_map" border="0" alt=""></center>
<map name="moeoContributionMetric< ObjectiveVector >_map">
<area href="classmoeoVectorVsVectorBinaryMetric.html" alt="moeoVectorVsVectorBinaryMetric< ObjectiveVector, double >" shape="rect" coords="189,168,558,192">
<area href="classmoeoBinaryMetric.html" alt="moeoBinaryMetric< A1, A2, R >" shape="rect" coords="189,112,558,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_b_f.html" alt="eoBF< A1, A2, R >" shape="rect" coords="0,56,369,80">
<area href="classmoeoMetric.html" alt="moeoMetric" shape="rect" coords="379,56,748,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,369,24">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="379,0,748,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 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#491610f6557874c2989eaa7a75117dcb">operator()</a> (const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &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="#491610f6557874c2989eaa7a75117dcb"></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#9bfa241c1d6d3fcfd6523ed04c089af0">card_C</a> (const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &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="#9bfa241c1d6d3fcfd6523ed04c089af0"></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#3fabe93859e033328c1b84db114b3bb0">card_W</a> (const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &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="#3fabe93859e033328c1b84db114b3bb0"></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#a21770ee1ddb12bb67c1f7ab755d04c7">card_N</a> (const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &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="#a21770ee1ddb12bb67c1f7ab755d04c7"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class ObjectiveVector&gt;<br>
class moeoContributionMetric&lt; ObjectiveVector &gt;</h3>
The contribution metric evaluates the proportion of non-dominated solutions given by a Pareto set relatively to another Pareto set (Meunier, Talbi, Reininger: 'A multiobjective genetic algorithm for radio network optimization', in Proc.
<p>
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="491610f6557874c2989eaa7a75117dcb"></a><!-- doxytag: member="moeoContributionMetric::operator()" ref="491610f6557874c2989eaa7a75117dcb" args="(const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVector&gt; </div>
<table class="memname">
<tr>
<td class="memname">double <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; ObjectiveVector &gt;::operator() </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; ObjectiveVector &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; ObjectiveVector &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#l00032">32</a> of file <a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>.
<p>
References <a class="el" href="moeoContributionMetric_8h-source.html#l00049">moeoContributionMetric&lt; ObjectiveVector &gt;::card_C()</a>, <a class="el" href="moeoContributionMetric_8h-source.html#l00081">moeoContributionMetric&lt; ObjectiveVector &gt;::card_N()</a>, and <a class="el" href="moeoContributionMetric_8h-source.html#l00065">moeoContributionMetric&lt; ObjectiveVector &gt;::card_W()</a>.
</div>
</div><p>
<a class="anchor" name="9bfa241c1d6d3fcfd6523ed04c089af0"></a><!-- doxytag: member="moeoContributionMetric::card_C" ref="9bfa241c1d6d3fcfd6523ed04c089af0" args="(const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVector&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; ObjectiveVector &gt;::card_C </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; ObjectiveVector &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; ObjectiveVector &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#l00049">49</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#l00032">moeoContributionMetric&lt; ObjectiveVector &gt;::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="3fabe93859e033328c1b84db114b3bb0"></a><!-- doxytag: member="moeoContributionMetric::card_W" ref="3fabe93859e033328c1b84db114b3bb0" args="(const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVector&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; ObjectiveVector &gt;::card_W </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; ObjectiveVector &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; ObjectiveVector &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#l00065">65</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#l00032">moeoContributionMetric&lt; ObjectiveVector &gt;::operator()()</a>.
</div>
</div><p>
<a class="anchor" name="a21770ee1ddb12bb67c1f7ab755d04c7"></a><!-- doxytag: member="moeoContributionMetric::card_N" ref="a21770ee1ddb12bb67c1f7ab755d04c7" args="(const std::vector&lt; ObjectiveVector &gt; &amp;_set1, const std::vector&lt; ObjectiveVector &gt; &amp;_set2)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class ObjectiveVector&gt; </div>
<table class="memname">
<tr>
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>&lt; ObjectiveVector &gt;::card_N </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; ObjectiveVector &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; ObjectiveVector &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#l00081">81</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#l00032">moeoContributionMetric&lt; ObjectiveVector &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 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>