paradiseo/trunk/paradiseo-moeo/docs/html/classmoeoBinaryMetricSavingUpdater.html
legrand 176eeafc0f Links to paradiseo-eo/mo doc added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@119 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-22 08:41:14 +00:00

158 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: moeoBinaryMetricSavingUpdater&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.4.6 -->
<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>moeoBinaryMetricSavingUpdater&lt; EOT &gt; Class Template Reference</h1><!-- doxytag: class="moeoBinaryMetricSavingUpdater" --><!-- doxytag: inherits="eoUpdater" -->This class allows to save the progression of a binary metric comparing the fitness values of the current population (or archive) with the fitness values of the population (or archive) of the generation (n-1) into a file.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moeoBinaryMetricSavingUpdater&lt; EOT &gt;:
<p><center><img src="classmoeoBinaryMetricSavingUpdater.png" usemap="#moeoBinaryMetricSavingUpdater< EOT >_map" border="0" alt=""></center>
<map name="moeoBinaryMetricSavingUpdater< EOT >_map">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_updater.html" alt="eoUpdater" shape="rect" coords="0,112,247,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_f.html" alt="eoF< void >" shape="rect" coords="0,56,247,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,247,24">
</map>
<a href="classmoeoBinaryMetricSavingUpdater-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="c22e390633d94bbf69309e8d0cae1f0a"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::EOFitness" ref="c22e390633d94bbf69309e8d0cae1f0a" args="" -->
typedef EOT::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#c22e390633d94bbf69309e8d0cae1f0a">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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#978c6e8a99459722220387f911c1f461">moeoBinaryMetricSavingUpdater</a> (<a class="el" href="classmoeoVectorVsVectorBM.html">moeoVectorVsVectorBM</a>&lt; EOT, double &gt; &amp;_metric, const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; EOT &gt; &amp;_pop, std::string _filename)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor. <a href="#978c6e8a99459722220387f911c1f461"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="2d051d28def4cadf69957c8a21bf88dc"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::operator()" ref="2d051d28def4cadf69957c8a21bf88dc" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#2d051d28def4cadf69957c8a21bf88dc">operator()</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Saves the metric's value for the current generation. <br></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="52e12414a266bce1dbce0b913025fd37"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::metric" ref="52e12414a266bce1dbce0b913025fd37" args="" -->
<a class="el" href="classmoeoVectorVsVectorBM.html">moeoVectorVsVectorBM</a>&lt; EOT,<br>
double &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#52e12414a266bce1dbce0b913025fd37">metric</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">binary metric comparing two Pareto sets <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9c30673aca66a1531856cb92068edaf7"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::pop" ref="9c30673aca66a1531856cb92068edaf7" args="" -->
const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; EOT &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#9c30673aca66a1531856cb92068edaf7">pop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">main population <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c1751bf23ef440d895a39cdff25c384c"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::oldPop" ref="c1751bf23ef440d895a39cdff25c384c" args="" -->
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; EOT &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#c1751bf23ef440d895a39cdff25c384c">oldPop</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">(n-1) population <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="32c78860e3aee52346df3aa30c5ac42f"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::filename" ref="32c78860e3aee52346df3aa30c5ac42f" args="" -->
std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#32c78860e3aee52346df3aa30c5ac42f">filename</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">target filename <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1e40103a5cfa592a9d2408102e507a19"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::firstGen" ref="1e40103a5cfa592a9d2408102e507a19" args="" -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#1e40103a5cfa592a9d2408102e507a19">firstGen</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">is it the first generation ? <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="280b52506c280b07356726ad5d497ef8"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::counter" ref="280b52506c280b07356726ad5d497ef8" args="" -->
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#280b52506c280b07356726ad5d497ef8">counter</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">counter <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class moeoBinaryMetricSavingUpdater&lt; EOT &gt;</h3>
This class allows to save the progression of a binary metric comparing the fitness values of the current population (or archive) with the fitness values of the population (or archive) of the generation (n-1) into a file.
<p>
<p>
Definition at line <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html#l00026">26</a> of file <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="978c6e8a99459722220387f911c1f461"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::moeoBinaryMetricSavingUpdater" ref="978c6e8a99459722220387f911c1f461" args="(moeoVectorVsVectorBM&lt; EOT, double &gt; &amp;_metric, const eoPop&lt; EOT &gt; &amp;_pop, std::string _filename)" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="mdPrefix" colspan="4">
template&lt;class EOT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a>&lt; EOT &gt;::<a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classmoeoVectorVsVectorBM.html">moeoVectorVsVectorBM</a>&lt; EOT, double &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_metric</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>&lt; EOT &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_pop</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>std::string&nbsp;</td>
<td class="mdname" nowrap> <em>_filename</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Ctor.
<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>_metric</em>&nbsp;</td><td>the binary metric comparing two Pareto sets </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_pop</em>&nbsp;</td><td>the main population </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_filename</em>&nbsp;</td><td>the target filename </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html#l00041">41</a> of file <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Fri Dec 22 09:37: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.4.6 </small></address>
</body>
</html>