paradiseo/trunk/paradiseo-eo/doc/html/classeo_combined_init.html
legrand c3aec878e5 Paradiseo-eo sources added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
2006-12-12 14:49:08 +00:00

106 lines
7.6 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>EO: eoCombinedInit&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>eoCombinedInit&lt; EOT &gt; Class Template Reference</h1>Combined INIT: a proportional recombination of <a class="el" href="classeo_init.html">eoInit</a> objects.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_combined_init_8h-source.html">eoCombinedInit.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoCombinedInit&lt; EOT &gt;:
<p><center><img src="classeo_combined_init.png" usemap="#eoCombinedInit< EOT >_map" border="0" alt=""></center>
<map name="eoCombinedInit< EOT >_map">
<area href="classeo_init.html" alt="eoInit< EOT >" shape="rect" coords="101,112,294,136">
<area href="classeo_u_f.html" alt="eoUF< EOT &, void >" shape="rect" coords="101,56,294,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,193,24">
</map>
<a href="classeo_combined_init-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"><a class="anchor" name="a0" doxytag="eoCombinedInit::eoCombinedInit"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_combined_init.html#a0">eoCombinedInit</a> (<a class="el" href="classeo_init.html">eoInit</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_init, double _rate)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor, make sure that at least one <a class="el" href="classeo_init.html">eoInit</a> is present. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoCombinedInit::add"></a>
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_combined_init.html#a1">add</a> (<a class="el" href="classeo_init.html">eoInit</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_init, double _rate, bool _verbose=false)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The usual method to add objects to the combination note the _verbose parameter, that allows to print what's inside the combination with scaled rates. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoCombinedInit::printOn"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_combined_init.html#a2">printOn</a> (std::ostream &amp;_os)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">outputs the operators and percentages <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoCombinedInit::operator()"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_combined_init.html#a3">operator()</a> (<a class="el" href="struct_dummy.html">EOT</a> &amp;_eo)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Performs the init: chooses among all initializers using roulette wheel on the rates. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_combined_init.html#a4">className</a> (void) const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">className: Mandatory because of eoCombinedInit. <a href="#a4"></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="eoCombinedInit::initializers"></a>
std::vector&lt; <a class="el" href="classeo_init.html">eoInit</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>initializers</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoCombinedInit::rates"></a>
std::vector&lt; double &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><b>rates</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoCombinedInit&lt; EOT &gt;</h3>
Combined INIT: a proportional recombination of <a class="el" href="classeo_init.html">eoInit</a> objects.
<p>
<p>
Definition at line <a class="el" href="eo_combined_init_8h-source.html#l00035">35</a> of file <a class="el" href="eo_combined_init_8h-source.html">eoCombinedInit.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a4" doxytag="eoCombinedInit::className"></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">virtual std::string <a class="el" href="classeo_combined_init.html">eoCombinedInit</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::className </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">void&nbsp;</td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top">&nbsp;)&nbsp;</td>
<td class="md" nowrap> const<code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
className: Mandatory because of eoCombinedInit.
<p>
SHould be pure virtual, but then we should go over the whole code to write the method for all derived classes ... MS 16/7/04
<p>
Reimplemented from <a class="el" href="classeo_init.html#a0">eoInit&lt; EOT &gt;</a>.
<p>
Definition at line <a class="el" href="eo_combined_init_8h-source.html#l00081">81</a> of file <a class="el" href="eo_combined_init_8h-source.html">eoCombinedInit.h</a>.
<p>
Referenced by <a class="el" href="eo_combined_init_8h-source.html#l00060">eoCombinedInit&lt; EOT &gt;::printOn()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_combined_init_8h-source.html">eoCombinedInit.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:46 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>