git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@119 331e1502-861f-0410-8da2-ba01fb791d7f
158 lines
12 KiB
HTML
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< 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.4.6 -->
|
|
<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>
|
|
<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>moeoBinaryMetricSavingUpdater< EOT > 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 <<a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moeoBinaryMetricSavingUpdater< EOT >:
|
|
<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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#c22e390633d94bbf69309e8d0cae1f0a">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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#978c6e8a99459722220387f911c1f461">moeoBinaryMetricSavingUpdater</a> (<a class="el" href="classmoeoVectorVsVectorBM.html">moeoVectorVsVectorBM</a>< EOT, double > &_metric, const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< EOT > &_pop, std::string _filename)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#2d051d28def4cadf69957c8a21bf88dc">operator()</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< EOT,<br>
|
|
double > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#52e12414a266bce1dbce0b913025fd37">metric</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< EOT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#9c30673aca66a1531856cb92068edaf7">pop</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< EOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#c1751bf23ef440d895a39cdff25c384c">oldPop</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#32c78860e3aee52346df3aa30c5ac42f">filename</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#1e40103a5cfa592a9d2408102e507a19">firstGen</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#280b52506c280b07356726ad5d497ef8">counter</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">counter <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class moeoBinaryMetricSavingUpdater< EOT ></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 & Destructor Documentation</h2>
|
|
<a class="anchor" name="978c6e8a99459722220387f911c1f461"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::moeoBinaryMetricSavingUpdater" ref="978c6e8a99459722220387f911c1f461" args="(moeoVectorVsVectorBM< EOT, double > &_metric, const eoPop< EOT > &_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<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a>< EOT >::<a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classmoeoVectorVsVectorBM.html">moeoVectorVsVectorBM</a>< EOT, double > & </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>< EOT > & </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 </td>
|
|
<td class="mdname" nowrap> <em>_filename</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </td>
|
|
<td class="md" colspan="2"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table cellspacing="5" cellpadding="0" border="0">
|
|
<tr>
|
|
<td>
|
|
|
|
</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> </td><td>the binary metric comparing two Pareto sets </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_pop</em> </td><td>the main population </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_filename</em> </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
|
|
<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>
|