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,70 @@
<!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: eoGenOp&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>eoGenOp&lt; EOT &gt; Class Template Reference</h1>The base class for General Operators Subclass this operator is you want to define an operator that falls outside of the <a class="el" href="classeo_mon_op.html">eoMonOp</a>, <a class="el" href="classeo_bin_op.html">eoBinOp</a>, <a class="el" href="classeo_quad_op.html">eoQuadOp</a> classification.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_gen_op_8h-source.html">eoGenOp.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoGenOp&lt; EOT &gt;:
<p><center><img src="classeo_gen_op.png" usemap="#eoGenOp< EOT >_map" border="0" alt=""></center>
<map name="eoGenOp< EOT >_map">
<area href="classeo_op.html" alt="eoOp< EOT >" shape="rect" coords="0,56,285,80">
<area href="classeo_u_f.html" alt="eoUF< eoPopulator< EOT > &, void >" shape="rect" coords="295,56,580,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="147,0,432,24">
<area href="classeo_bin_gen_op.html" alt="eoBinGenOp< EOT >" shape="rect" coords="442,168,727,192">
<area href="classeo_es_global_xover.html" alt="eoEsGlobalXover< EOT >" shape="rect" coords="442,224,727,248">
<area href="classeo_mon_gen_op.html" alt="eoMonGenOp< EOT >" shape="rect" coords="442,280,727,304">
<area href="classeo_op_container.html" alt="eoOpContainer< EOT >" shape="rect" coords="442,336,727,360">
<area href="classeo_prop_g_a_gen_op.html" alt="eoPropGAGenOp< EOT >" shape="rect" coords="442,392,727,416">
<area href="classeo_quad_gen_op.html" alt="eoQuadGenOp< EOT >" shape="rect" coords="442,448,727,472">
<area href="classeo_sel_bin_gen_op.html" alt="eoSelBinGenOp< EOT >" shape="rect" coords="442,504,727,528">
<area href="classeo_s_g_a_gen_op.html" alt="eoSGAGenOp< EOT >" shape="rect" coords="442,560,727,584">
</map>
<a href="classeo_gen_op-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="eoGenOp::eoGenOp"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_op.html#a0">eoGenOp</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor that honors its superclass. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoGenOp::max_production"></a>
virtual unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_op.html#a1">max_production</a> (void)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Max production is used to reserve space for all elements that are used by the operator, not setting it properly can result in a crash. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoGenOp::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><b>className</b> () const =0</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a3" doxytag="eoGenOp::operator()"></a>
void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_op.html#a3">operator()</a> (<a class="el" href="classeo_populator.html">eoPopulator</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">The pure virtual function that needs to be implemented by the subclass. <br></td></tr>
<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b0" doxytag="eoGenOp::apply"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_gen_op.html#b0">apply</a> (<a class="el" href="classeo_populator.html">eoPopulator</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt; &amp;_pop)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">the function that will do the work <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoGenOp&lt; EOT &gt;</h3>
The base class for General Operators Subclass this operator is you want to define an operator that falls outside of the <a class="el" href="classeo_mon_op.html">eoMonOp</a>, <a class="el" href="classeo_bin_op.html">eoBinOp</a>, <a class="el" href="classeo_quad_op.html">eoQuadOp</a> classification.
<p>
The argument the operator will receive is an <a class="el" href="classeo_populator.html">eoPopulator</a>, which is a wrapper around the original population, is an instantiation of the next population and has often a selection function embedded in it to select new individuals.<p>
Note that the actual work is performed in the apply function. AND that the apply function is responsible for invalidating the object if necessary
<p>
<p>
Definition at line <a class="el" href="eo_gen_op_8h-source.html#l00057">57</a> of file <a class="el" href="eo_gen_op_8h-source.html">eoGenOp.h</a>.<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_gen_op_8h-source.html">eoGenOp.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>