Paradiseo-eo sources added

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2006-12-12 14:49:08 +00:00
commit c3aec878e5
3609 changed files with 342772 additions and 0 deletions

View file

@ -0,0 +1,143 @@
<!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>EO: eoPopStat&lt; EOT &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.9.1 -->
<div class="qindex"> <form class="search" action="search.php" method="get">
<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
<h1>eoPopStat&lt; EOT &gt; Class Template Reference</h1>Thanks to MS/VC++, <a class="el" href="classeo_param.html">eoParam</a> mechanism is unable to handle std::vectors of stats.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_pop_stat_8h-source.html">eoPopStat.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoPopStat&lt; EOT &gt;:
<p><center><img src="classeo_pop_stat.png" usemap="#eoPopStat< EOT >_map" border="0" alt=""></center>
<map name="eoPopStat< EOT >_map">
<area href="classeo_stat.html" alt="eoStat< EOT, std::string >" shape="rect" coords="149,168,437,192">
<area href="classeo_value_param.html" alt="eoValueParam< std::string >" shape="rect" coords="0,112,288,136">
<area href="classeo_stat_base.html" alt="eoStatBase< EOT >" shape="rect" coords="298,112,586,136">
<area href="classeo_param.html" alt="eoParam" shape="rect" coords="0,56,288,80">
<area href="classeo_u_f.html" alt="eoUF< const eoPop< EOT > &, void >" shape="rect" coords="298,56,586,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="149,0,437,24">
</map>
<a href="classeo_pop_stat-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 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="classeo_pop_stat.html#a0">eoPopStat</a> (unsigned _howMany=0, std::string _desc="")</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">default Ctor, void std::string by default, as it appears on the description line once at beginning of evolution. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_pop_stat.html#a1">operator()</a> (const <a class="el" href="classeo_pop.html">eoPop</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_pop)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Fills the <a class="el" href="classeo_value_param.html#a2">value()</a> of the <a class="el" href="classeo_param.html">eoParam</a> with the dump of the population. <a href="#a1"></a><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="r0" doxytag="eoPopStat::combien"></a>
unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><b>combien</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoPopStat&lt; EOT &gt;</h3>
Thanks to MS/VC++, <a class="el" href="classeo_param.html">eoParam</a> mechanism is unable to handle std::vectors of stats.
<p>
This snippet is a workaround: This class will "print" a whole population into a std::string - that you can later send to any stream This is the plain version - see eoPopString for the Sorted version<p>
Note: this Stat should probably be used only within eoStdOutMonitor, and not inside an <a class="el" href="classeo_file_monitor.html">eoFileMonitor</a>, as the <a class="el" href="classeo_state.html">eoState</a> construct will work much better there.
<p>
<p>
Definition at line <a class="el" href="eo_pop_stat_8h-source.html#l00051">51</a> of file <a class="el" href="eo_pop_stat_8h-source.html">eoPopStat.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="eoPopStat::eoPopStat"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class EOT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top"><a class="el" href="classeo_pop_stat.html">eoPopStat</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::<a class="el" href="classeo_pop_stat.html">eoPopStat</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned&nbsp;</td>
<td class="mdname" nowrap> <em>_howMany</em> = <code>0</code>, </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>_desc</em> = <code>""</code></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>
default Ctor, void std::string by default, as it appears on the description line once at beginning of evolution.
<p>
and is meaningless there. _howMany defaults to 0, that is, the whole population
<p>
Definition at line <a class="el" href="eo_pop_stat_8h-source.html#l00061">61</a> of file <a class="el" href="eo_pop_stat_8h-source.html">eoPopStat.h</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a1" doxytag="eoPopStat::operator()"></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" colspan="4">
template&lt;class EOT&gt; </td>
</tr>
<tr>
<td class="md" nowrap valign="top">void <a class="el" href="classeo_pop_stat.html">eoPopStat</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::operator() </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">const <a class="el" href="classeo_pop.html">eoPop</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td>
<td class="mdname1" valign="top" nowrap> <em>_pop</em> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
Fills the <a class="el" href="classeo_value_param.html#a2">value()</a> of the <a class="el" href="classeo_param.html">eoParam</a> with the dump of the population.
<p>
Adds a <br>
before so it does not get mixed up with the rest of the stats that are written by the monitor it is probably used from.
<p>
Implements <a class="el" href="classeo_u_f.html#a1">eoUF&lt; const eoPop&lt; EOT &gt; &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="eo_pop_stat_8h-source.html#l00068">68</a> of file <a class="el" href="eo_pop_stat_8h-source.html">eoPopStat.h</a>.
<p>
References <a class="el" href="eo_param_8h-source.html#l00166">eoValueParam&lt; std::string &gt;::value()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_pop_stat_8h-source.html">eoPopStat.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:53 2006 for EO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.3.9.1 </small></address>
</body>
</html>