git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
240 lines
14 KiB
HTML
240 lines
14 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: eoGeneralBreeder< EOT > 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 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 Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
|
|
<h1>eoGeneralBreeder< EOT > Class Template Reference</h1>Base class for breeders using generalized operators.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="eo_general_breeder_8h-source.html">eoGeneralBreeder.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for eoGeneralBreeder< EOT >:
|
|
<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"> </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>< <a class="el" href="struct_dummy.html">EOT</a> > &_select, <a class="el" href="classeo_gen_op.html">eoGenOp</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_op, double _rate=1.0, bool _interpret_as_rate=true)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor:. <a href="#a0"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </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>< <a class="el" href="struct_dummy.html">EOT</a> > &_select, <a class="el" href="classeo_gen_op.html">eoGenOp</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_op, <a class="el" href="classeo_how_many.html">eoHowMany</a> _howMany)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Ctor:. <a href="#a1"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </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>< <a class="el" href="struct_dummy.html">EOT</a> > &_parents, <a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > &_offspring)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_general_breeder.html#a3">className</a> () const </td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< <a class="el" href="struct_dummy.html">EOT</a> > & </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>< <a class="el" href="struct_dummy.html">EOT</a> > & </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> </td><td class="memItemRight" valign="bottom"><b>howMany</b></td></tr>
|
|
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class eoGeneralBreeder< EOT ></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 & 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<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a>< <a class="el" href="struct_dummy.html">EOT</a> >::<a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </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>< <a class="el" href="struct_dummy.html">EOT</a> > & </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 </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 </td>
|
|
<td class="mdname" nowrap> <em>_interpret_as_rate</em> = <code>true</code></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>_select</em> </td><td>a selectoOne, to be used for all selections </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </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> </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> </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<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a>< <a class="el" href="struct_dummy.html">EOT</a> >::<a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a> </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top"><a class="el" href="classeo_select_one.html">eoSelectOne</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </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>< <a class="el" href="struct_dummy.html">EOT</a> > & </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> </td>
|
|
<td class="mdname" nowrap> <em>_howMany</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>_select</em> </td><td>a selectoOne, to be used for all selections </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_op</em> </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> </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<class EOT> </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md" nowrap valign="top">void <a class="el" href="classeo_general_breeder.html">eoGeneralBreeder</a>< <a class="el" href="struct_dummy.html">EOT</a> >::operator() </td>
|
|
<td class="md" valign="top">( </td>
|
|
<td class="md" nowrap valign="top">const <a class="el" href="classeo_pop.html">eoPop</a>< <a class="el" href="struct_dummy.html">EOT</a> > & </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>< <a class="el" href="struct_dummy.html">EOT</a> > & </td>
|
|
<td class="mdname" nowrap> <em>_offspring</em></td>
|
|
</tr>
|
|
<tr>
|
|
<td class="md"></td>
|
|
<td class="md">) </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>
|
|
|
|
</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> </td><td>the initial population </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>_offspring</em> </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< const eoPop< EOT > &, eoPop< EOT > &, void ></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
|
|
<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>
|