git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@12 331e1502-861f-0410-8da2-ba01fb791d7f
142 lines
12 KiB
HTML
142 lines
12 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: moeoEntropyMetric< 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>moeoEntropyMetric< EOT > Class Template Reference</h1><!-- doxytag: class="moeoEntropyMetric" --><!-- doxytag: inherits="moeoVectorVsVectorBM< EOT, double >" -->The entropy gives an idea of the diversity of a Pareto set relatively to another Pareto set.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="moeoEntropyMetric_8h-source.html">moeoEntropyMetric.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoEntropyMetric< EOT >:
|
|
<p><center><img src="classmoeoEntropyMetric.png" usemap="#moeoEntropyMetric< EOT >_map" border="0" alt=""></center>
|
|
<map name="moeoEntropyMetric< 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="classmoeoEntropyMetric-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="306b72d2236de1ecbae986c65490a8fe"></a><!-- doxytag: member="moeoEntropyMetric::EOFitness" ref="306b72d2236de1ecbae986c65490a8fe" args="" -->
|
|
typedef EOT::Fitness </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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="classmoeoEntropyMetric.html#58136405dfed951efa340ddf541c29fd">operator()</a> (const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_set1, const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_set2)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Returns the entropy of the Pareto set '_set1' relatively to the Pareto set '_set2'. <a href="#58136405dfed951efa340ddf541c29fd"></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"><a class="anchor" name="3252e7534b1ceb1317936c5d2b3abcbe"></a><!-- doxytag: member="moeoEntropyMetric::removeDominated" ref="3252e7534b1ceb1317936c5d2b3abcbe" args="(std::vector< EOFitness > &_f)" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#3252e7534b1ceb1317936c5d2b3abcbe">removeDominated</a> (std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c9f0c65b4de69accbfb42486f6445cb0"></a><!-- doxytag: member="moeoEntropyMetric::prenormalize" ref="c9f0c65b4de69accbfb42486f6445cb0" args="(const std::vector< EOFitness > &_f)" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#c9f0c65b4de69accbfb42486f6445cb0">prenormalize</a> (const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="bc32468b148a0da4eb21a9fc14dfafae"></a><!-- doxytag: member="moeoEntropyMetric::normalize" ref="bc32468b148a0da4eb21a9fc14dfafae" args="(std::vector< EOFitness > &_f)" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#bc32468b148a0da4eb21a9fc14dfafae">normalize</a> (std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2de60a0e6be362f074b50e6b455152ab"></a><!-- doxytag: member="moeoEntropyMetric::computeUnion" ref="2de60a0e6be362f074b50e6b455152ab" args="(const std::vector< EOFitness > &_f1, const std::vector< EOFitness > &_f2, std::vector< EOFitness > &_f)" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#2de60a0e6be362f074b50e6b455152ab">computeUnion</a> (const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f1, const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f2, std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a9369be315e139ebdf19fac09ad0563f"></a><!-- doxytag: member="moeoEntropyMetric::howManyInNicheOf" ref="a9369be315e139ebdf19fac09ad0563f" args="(const std::vector< EOFitness > &_f, const EOFitness &_s, unsigned _size)" -->
|
|
unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#a9369be315e139ebdf19fac09ad0563f">howManyInNicheOf</a> (const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> > &_f, const <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &_s, unsigned _size)</td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="34f825ce7c53132f7218483130da8652"></a><!-- doxytag: member="moeoEntropyMetric::euclidianDistance" ref="34f825ce7c53132f7218483130da8652" args="(const EOFitness &_set1, const EOFitness &_to, unsigned _deg=2)" -->
|
|
double </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#34f825ce7c53132f7218483130da8652">euclidianDistance</a> (const <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &_set1, const <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &_to, unsigned _deg=2)</td></tr>
|
|
|
|
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d4046a304badfe78aa35b2d57938ffe9"></a><!-- doxytag: member="moeoEntropyMetric::vect_min_val" ref="d4046a304badfe78aa35b2d57938ffe9" args="" -->
|
|
std::vector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#d4046a304badfe78aa35b2d57938ffe9">vect_min_val</a></td></tr>
|
|
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0ae9645bdbb993de4bc990a0a08883"></a><!-- doxytag: member="moeoEntropyMetric::vect_max_val" ref="af0ae9645bdbb993de4bc990a0a08883" args="" -->
|
|
std::vector< double > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#af0ae9645bdbb993de4bc990a0a08883">vect_max_val</a></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class moeoEntropyMetric< EOT ></h3>
|
|
|
|
The entropy gives an idea of the diversity of a Pareto set relatively to another Pareto set.
|
|
<p>
|
|
(Basseur, Seynhaeve, Talbi: 'Design of Multi-objective Evolutionary Algorithms: Application to the Flow-shop Scheduling Problem', in Proc. of the 2002 Congress on Evolutionary Computation, IEEE Press, pp. 1155-1156)
|
|
<p>
|
|
|
|
<p>
|
|
Definition at line <a class="el" href="moeoEntropyMetric_8h-source.html#l00023">23</a> of file <a class="el" href="moeoEntropyMetric_8h-source.html">moeoEntropyMetric.h</a>.<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="58136405dfed951efa340ddf541c29fd"></a><!-- doxytag: member="moeoEntropyMetric::operator()" ref="58136405dfed951efa340ddf541c29fd" 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="classmoeoEntropyMetric.html">moeoEntropyMetric</a>< EOT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const std::vector< <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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 entropy 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="moeoEntropyMetric_8h-source.html#l00038">38</a> of file <a class="el" href="moeoEntropyMetric_8h-source.html">moeoEntropyMetric.h</a>.
|
|
<p>
|
|
References <a class="el" href="moeoEntropyMetric_8h-source.html#l00136">moeoEntropyMetric< EOT >::computeUnion()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00155">moeoEntropyMetric< EOT >::howManyInNicheOf()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00128">moeoEntropyMetric< EOT >::normalize()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00107">moeoEntropyMetric< EOT >::prenormalize()</a>, and <a class="el" href="moeoEntropyMetric_8h-source.html#l00087">moeoEntropyMetric< EOT >::removeDominated()</a>.
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="moeoEntropyMetric_8h-source.html">moeoEntropyMetric.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>
|