paradiseo/trunk/doc/html/classmoeoEntropyMetric.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

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&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>moeoEntropyMetric&lt; EOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoEntropyMetric" --><!-- doxytag: inherits="moeoVectorVsVectorBM&lt; EOT, double &gt;" -->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 &lt;<a class="el" href="moeoEntropyMetric_8h-source.html">moeoEntropyMetric.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoEntropyMetric&lt; EOT &gt;:
<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&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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="classmoeoEntropyMetric.html#58136405dfed951efa340ddf541c29fd">operator()</a> (const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_set1, const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_set2)</td></tr>
<tr><td class="mdescLeft">&nbsp;</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&lt; EOFitness &gt; &amp;_f)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#3252e7534b1ceb1317936c5d2b3abcbe">removeDominated</a> (std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_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&lt; EOFitness &gt; &amp;_f)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#c9f0c65b4de69accbfb42486f6445cb0">prenormalize</a> (const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_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&lt; EOFitness &gt; &amp;_f)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#bc32468b148a0da4eb21a9fc14dfafae">normalize</a> (std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_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&lt; EOFitness &gt; &amp;_f1, const std::vector&lt; EOFitness &gt; &amp;_f2, std::vector&lt; EOFitness &gt; &amp;_f)" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#2de60a0e6be362f074b50e6b455152ab">computeUnion</a> (const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_f1, const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_f2, std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_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&lt; EOFitness &gt; &amp;_f, const EOFitness &amp;_s, unsigned _size)" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoEntropyMetric.html#a9369be315e139ebdf19fac09ad0563f">howManyInNicheOf</a> (const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &gt; &amp;_f, const <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &amp;_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 &amp;_set1, const EOFitness &amp;_to, unsigned _deg=2)" -->
double&nbsp;</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> &amp;_set1, const <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">EOFitness</a> &amp;_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&lt; double &gt;&nbsp;</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&lt; double &gt;&nbsp;</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&lt;class EOT&gt;<br>
class moeoEntropyMetric&lt; EOT &gt;</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&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="classmoeoEntropyMetric.html">moeoEntropyMetric</a>&lt; EOT &gt;::operator() </td>
<td>(</td>
<td class="paramtype">const std::vector&lt; <a class="el" href="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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="classmoeoEntropyMetric.html#306b72d2236de1ecbae986c65490a8fe">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 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>&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="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&lt; EOT &gt;::computeUnion()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00155">moeoEntropyMetric&lt; EOT &gt;::howManyInNicheOf()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00128">moeoEntropyMetric&lt; EOT &gt;::normalize()</a>, <a class="el" href="moeoEntropyMetric_8h-source.html#l00107">moeoEntropyMetric&lt; EOT &gt;::prenormalize()</a>, and <a class="el" href="moeoEntropyMetric_8h-source.html#l00087">moeoEntropyMetric&lt; EOT &gt;::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&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>