git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@263 331e1502-861f-0410-8da2-ba01fb791d7f
148 lines
12 KiB
HTML
148 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< MOEOT > 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>
|
|
<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< MOEOT > Class Template Reference</h1><!-- doxytag: class="moeoBinaryMetricSavingUpdater" --><!-- doxytag: inherits="eoUpdater" -->This class allows to save the progression of a binary metric comparing the objective vectors of the current population (or archive) with the objective vectors 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< MOEOT >:
|
|
<p><center><img src="classmoeoBinaryMetricSavingUpdater.png" usemap="#moeoBinaryMetricSavingUpdater< MOEOT >_map" border="0" alt=""></center>
|
|
<map name="moeoBinaryMetricSavingUpdater< MOEOT >_map">
|
|
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_updater.html" alt="eoUpdater" shape="rect" coords="0,112,268,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,268,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,268,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="21c2b12ee8600d8550eff42bcba87fd2"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::ObjectiveVector" ref="21c2b12ee8600d8550eff42bcba87fd2" args="" -->
|
|
typedef MOEOT::ObjectiveVector </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#21c2b12ee8600d8550eff42bcba87fd2">ObjectiveVector</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The objective vector 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#b7c3fb73caf759450367c76d4716bb62">moeoBinaryMetricSavingUpdater</a> (<a class="el" href="classmoeoVectorVsVectorBinaryMetric.html">moeoVectorVsVectorBinaryMetric</a>< <a class="el" href="classmoeoBinaryMetricSavingUpdater.html#21c2b12ee8600d8550eff42bcba87fd2">ObjectiveVector</a>, double > &_metric, const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > &_pop, std::string _filename)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor. <a href="#b7c3fb73caf759450367c76d4716bb62"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4f0a9e86b4a39ef88e7f8e1c1d6d229"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::operator()" ref="a4f0a9e86b4a39ef88e7f8e1c1d6d229" args="()" -->
|
|
void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#a4f0a9e86b4a39ef88e7f8e1c1d6d229">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="d1c66d6d179aff03d6949f4f76d3237c"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::metric" ref="d1c66d6d179aff03d6949f4f76d3237c" args="" -->
|
|
<a class="el" href="classmoeoVectorVsVectorBinaryMetric.html">moeoVectorVsVectorBinaryMetric</a><<br>
|
|
<a class="el" href="classmoeoBinaryMetricSavingUpdater.html#21c2b12ee8600d8550eff42bcba87fd2">ObjectiveVector</a>, double > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#d1c66d6d179aff03d6949f4f76d3237c">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="79eea0916733568929ea9c0758ffe8fa"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::pop" ref="79eea0916733568929ea9c0758ffe8fa" args="" -->
|
|
const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#79eea0916733568929ea9c0758ffe8fa">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="0461af7e569921fec49538ff8fa998d4"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::oldPop" ref="0461af7e569921fec49538ff8fa998d4" args="" -->
|
|
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#0461af7e569921fec49538ff8fa998d4">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="6d280c180de7bab1e18ab2bb39a0e184"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::filename" ref="6d280c180de7bab1e18ab2bb39a0e184" args="" -->
|
|
std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#6d280c180de7bab1e18ab2bb39a0e184">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="9bfa927499265f53f2b25afd2cd3c94f"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::firstGen" ref="9bfa927499265f53f2b25afd2cd3c94f" args="" -->
|
|
bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#9bfa927499265f53f2b25afd2cd3c94f">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="02339c6081864e43667860445d96a909"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::counter" ref="02339c6081864e43667860445d96a909" args="" -->
|
|
unsigned </td><td class="memItemRight" valign="bottom"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html#02339c6081864e43667860445d96a909">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 MOEOT><br>
|
|
class moeoBinaryMetricSavingUpdater< MOEOT ></h3>
|
|
|
|
This class allows to save the progression of a binary metric comparing the objective vectors of the current population (or archive) with the objective vectors 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#l00027">27</a> of file <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>.<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="b7c3fb73caf759450367c76d4716bb62"></a><!-- doxytag: member="moeoBinaryMetricSavingUpdater::moeoBinaryMetricSavingUpdater" ref="b7c3fb73caf759450367c76d4716bb62" args="(moeoVectorVsVectorBinaryMetric< ObjectiveVector, double > &_metric, const eoPop< MOEOT > &_pop, std::string _filename)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class MOEOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a>< MOEOT >::<a class="el" href="classmoeoBinaryMetricSavingUpdater.html">moeoBinaryMetricSavingUpdater</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classmoeoVectorVsVectorBinaryMetric.html">moeoVectorVsVectorBinaryMetric</a>< <a class="el" href="classmoeoBinaryMetricSavingUpdater.html#21c2b12ee8600d8550eff42bcba87fd2">ObjectiveVector</a>, double > & </td>
|
|
<td class="paramname"> <em>_metric</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">const <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop</a>< MOEOT > & </td>
|
|
<td class="paramname"> <em>_pop</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">std::string </td>
|
|
<td class="paramname"> <em>_filename</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>
|
|
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#l00042">42</a> of file <a class="el" href="moeoBinaryMetricSavingUpdater_8h-source.html">moeoBinaryMetricSavingUpdater.h</a>.
|
|
</div>
|
|
</div><p>
|
|
<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 Tue Apr 17 16:53:21 2007 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>
|