git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@15 331e1502-861f-0410-8da2-ba01fb791d7f
255 lines
16 KiB
HTML
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< EOT > 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>moeoContributionMetric< EOT > Class Template Reference</h1><!-- doxytag: class="moeoContributionMetric" --><!-- doxytag: inherits="moeoVectorVsVectorBM< EOT, double >" -->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 <<a class="el" href="moeoContributionMetric_8h-source.html">moeoContributionMetric.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoContributionMetric< EOT >:
|
|
<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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#76b6b93124263ca1a8232b12a556d843">operator()</a> (const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set1, const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#a0041e60c941dd1909f28fadcf011b87">card_C</a> (const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set1, const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#64a72db699a10d6b4794773d4adbae3c">card_W</a> (const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set1, const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoContributionMetric.html#9960fc1396dbadb412719aaeeedcf961">card_N</a> (const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set1, const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > &_set2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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<class EOT><br>
|
|
class moeoContributionMetric< EOT ></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< EOFitness > &_set1, const std::vector< EOFitness > &_set2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">double <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>< EOT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set2</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>
|
|
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> </td><td>the first Pareto set </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_set2</em> </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< EOT >::card_C()</a>, <a class="el" href="moeoContributionMetric_8h-source.html#l00095">moeoContributionMetric< EOT >::card_N()</a>, and <a class="el" href="moeoContributionMetric_8h-source.html#l00076">moeoContributionMetric< EOT >::card_W()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="a0041e60c941dd1909f28fadcf011b87"></a><!-- doxytag: member="moeoContributionMetric::card_C" ref="a0041e60c941dd1909f28fadcf011b87" args="(const std::vector< EOFitness > &_set1, const std::vector< EOFitness > &_set2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>< EOT >::card_C </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set2</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>
|
|
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> </td><td>the first Pareto set </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_set2</em> </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< EOT >::operator()()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="64a72db699a10d6b4794773d4adbae3c"></a><!-- doxytag: member="moeoContributionMetric::card_W" ref="64a72db699a10d6b4794773d4adbae3c" args="(const std::vector< EOFitness > &_set1, const std::vector< EOFitness > &_set2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>< EOT >::card_W </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set2</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>
|
|
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> </td><td>the first Pareto set </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_set2</em> </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< EOT >::operator()()</a>.
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="9960fc1396dbadb412719aaeeedcf961"></a><!-- doxytag: member="moeoContributionMetric::card_N" ref="9960fc1396dbadb412719aaeeedcf961" args="(const std::vector< EOFitness > &_set1, const std::vector< EOFitness > &_set2)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">unsigned <a class="el" href="classmoeoContributionMetric.html">moeoContributionMetric</a>< EOT >::card_N </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set1</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoContributionMetric.html#06c0247b9558eeb34e32c9a694924a66">EOFitness</a> > & </td>
|
|
<td class="paramname"> <em>_set2</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>
|
|
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> </td><td>the first Pareto set </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_set2</em> </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< EOT >::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
|
|
<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>
|