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,240 @@
<!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: eoGeneralBreeder&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>eoGeneralBreeder&lt; EOT &gt; Class Template Reference</h1>Base class for breeders using generalized operators.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoGeneralBreeder&lt; EOT &gt;:
<p><center><img src="classeo_general_breeder.png" usemap="#eoGeneralBreeder< EOT >_map" border="0" alt=""></center>
<map name="eoGeneralBreeder< EOT >_map">
<area href="classeo_breed.html" alt="eoBreed< EOT >" shape="rect" coords="204,112,603,136">
<area href="classeo_b_f.html" alt="eoBF< const eoPop< EOT > &, eoPop< EOT > &, void >" shape="rect" coords="204,56,603,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,399,24">
</map>
<a href="classeo_general_breeder-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_general_breeder.html#a0">eoGeneralBreeder</a> (<a class="el" href="classeo_select_one.html">eoSelectOne</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_select, <a class="el" href="classeo_gen_op.html">eoGenOp</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_op, double _rate=1.0, bool _interpret_as_rate=true)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor:. <a href="#a0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_general_breeder.html#a1">eoGeneralBreeder</a> (<a class="el" href="classeo_select_one.html">eoSelectOne</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_select, <a class="el" href="classeo_gen_op.html">eoGenOp</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_op, <a class="el" href="classeo_how_many.html">eoHowMany</a> _howMany)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor:. <a href="#a1"></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_general_breeder.html#a2">operator()</a> (const <a class="el" href="classeo_pop.html">eoPop</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_parents, <a class="el" href="classeo_pop.html">eoPop</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_offspring)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The breeder: simply calls the genOp on a selective populator! <a href="#a2"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoGeneralBreeder::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_general_breeder.html#a3">className</a> () const </td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The class name. <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="eoGeneralBreeder::select"></a>
<a class="el" href="classeo_select_one.html">eoSelectOne</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>select</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoGeneralBreeder::op"></a>
<a class="el" href="classeo_gen_op.html">eoGenOp</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>op</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r2" doxytag="eoGeneralBreeder::howMany"></a>
<a class="el" href="classeo_how_many.html">eoHowMany</a>&nbsp;</td><td class="memItemRight" valign="bottom"><b>howMany</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoGeneralBreeder&lt; EOT &gt;</h3>
Base class for breeders using generalized operators.
<p>
<p>
Definition at line <a class="el" href="eo_general_breeder_8h-source.html#l00046">46</a> of file <a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="a0" doxytag="eoGeneralBreeder::eoGeneralBreeder"></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_general_breeder.html">eoGeneralBreeder</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::<a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classeo_select_one.html">eoSelectOne</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_select</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="classeo_gen_op.html">eoGenOp</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_op</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>double&nbsp;</td>
<td class="mdname" nowrap> <em>_rate</em> = <code>1.0</code>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>bool&nbsp;</td>
<td class="mdname" nowrap> <em>_interpret_as_rate</em> = <code>true</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>
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>_select</em>&nbsp;</td><td>a selectoOne, to be used for all selections </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_op</em>&nbsp;</td><td>a general operator (will generally be an <a class="el" href="classeo_op_container.html">eoOpContainer</a>) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_rate</em>&nbsp;</td><td>pour howMany, le nbre d'enfants a generer </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_interpret_as_rate</em>&nbsp;</td><td><a href="../../tutorial/html/eoEngine.html#howmany">explanation</a> </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_general_breeder_8h-source.html#l00056">56</a> of file <a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>. </td>
</tr>
</table>
<a class="anchor" name="a1" doxytag="eoGeneralBreeder::eoGeneralBreeder"></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_general_breeder.html">eoGeneralBreeder</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::<a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a> </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top"><a class="el" href="classeo_select_one.html">eoSelectOne</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_select</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="classeo_gen_op.html">eoGenOp</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;&nbsp;</td>
<td class="mdname" nowrap> <em>_op</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><a class="el" href="classeo_how_many.html">eoHowMany</a>&nbsp;</td>
<td class="mdname" nowrap> <em>_howMany</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>_select</em>&nbsp;</td><td>a selectoOne, to be used for all selections </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_op</em>&nbsp;</td><td>a general operator (will generally be an <a class="el" href="classeo_op_container.html">eoOpContainer</a>) </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_howMany</em>&nbsp;</td><td>an <a class="el" href="classeo_how_many.html">eoHowMany</a> <a href="../../tutorial/html/eoEngine.html#howmany">explanation</a> </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="eo_general_breeder_8h-source.html#l00069">69</a> of file <a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>. </td>
</tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a2" doxytag="eoGeneralBreeder::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_general_breeder.html">eoGeneralBreeder</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="mdname" nowrap> <em>_parents</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap><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="mdname" nowrap> <em>_offspring</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">)&nbsp;</td>
<td class="md" colspan="2"><code> [inline, virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
&nbsp;
</td>
<td>
<p>
The breeder: simply calls the genOp on a selective populator!
<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>_parents</em>&nbsp;</td><td>the initial population </td></tr>
<tr><td valign="top"></td><td valign="top"><em>_offspring</em>&nbsp;</td><td>the resulting population (content -if any- is lost) </td></tr>
</table>
</dl>
<p>
Implements <a class="el" href="classeo_b_f.html#a1">eoBF&lt; const eoPop&lt; EOT &gt; &amp;, eoPop&lt; EOT &gt; &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="eo_general_breeder_8h-source.html#l00080">80</a> of file <a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:49 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>