paradiseo/trunk/paradiseo-eo/doc/html/classeo_steady_fit_continue.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

144 lines
10 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: eoSteadyFitContinue&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>eoSteadyFitContinue&lt; EOT &gt; Class Template Reference</h1>A continuator: does a minimum number of generations, then stops whenever a given number of generations takes place without improvement.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="eo_steady_fit_continue_8h-source.html">eoSteadyFitContinue.h</a>&gt;</code>
<p>
<p>Inheritance diagram for eoSteadyFitContinue&lt; EOT &gt;:
<p><center><img src="classeo_steady_fit_continue.png" usemap="#eoSteadyFitContinue< EOT >_map" border="0" alt=""></center>
<map name="eoSteadyFitContinue< EOT >_map">
<area href="classeo_continue.html" alt="eoContinue< EOT >" shape="rect" coords="372,112,660,136">
<area href="classeo_u_f.html" alt="eoUF< const eoPop< EOT > &, bool >" shape="rect" coords="149,56,437,80">
<area href="classeo_persistent.html" alt="eoPersistent" shape="rect" coords="596,56,884,80">
<area href="classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,288,24">
<area href="classeo_printable.html" alt="eoPrintable" shape="rect" coords="596,0,884,24">
</map>
<a href="classeo_steady_fit_continue-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 Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="w0" doxytag="eoSteadyFitContinue::Fitness"></a>
typedef EOT::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><b>Fitness</b></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="eoSteadyFitContinue::eoSteadyFitContinue"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.html#a0">eoSteadyFitContinue</a> (unsigned long _minGens, unsigned long _steadyGens)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor for setting a. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a1" doxytag="eoSteadyFitContinue::eoSteadyFitContinue"></a>
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.html#a1">eoSteadyFitContinue</a> (unsigned long _minGens, unsigned long _steadyGen, unsigned long &amp;_currentGen)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Ctor for enabling the save/load the no. of generations counted. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a2" doxytag="eoSteadyFitContinue::operator()"></a>
virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.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;_vEO)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Returns false when a certain number of generations is reached withtout improvement. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.html#a3">totalGenerations</a> (unsigned long _mg, unsigned long _sg)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Sets the parameters (minimum nb of gen. <a href="#a3"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a4" doxytag="eoSteadyFitContinue::reset"></a>
virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.html#a4">reset</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Resets the state after it's been reached. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a5" doxytag="eoSteadyFitContinue::minGenerations"></a>
virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classeo_steady_fit_continue.html#a5">minGenerations</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">accessors <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a6" doxytag="eoSteadyFitContinue::steadyGenerations"></a>
virtual unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>steadyGenerations</b> ()</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7" doxytag="eoSteadyFitContinue::className"></a>
virtual std::string&nbsp;</td><td class="memItemRight" valign="bottom"><b>className</b> (void) const </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="eoSteadyFitContinue::repMinGenerations"></a>
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>repMinGenerations</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r1" doxytag="eoSteadyFitContinue::repSteadyGenerations"></a>
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>repSteadyGenerations</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r2" doxytag="eoSteadyFitContinue::steadyState"></a>
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>steadyState</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r3" doxytag="eoSteadyFitContinue::thisGenerationPlaceHolder"></a>
unsigned long&nbsp;</td><td class="memItemRight" valign="bottom"><b>thisGenerationPlaceHolder</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r4" doxytag="eoSteadyFitContinue::thisGeneration"></a>
unsigned long &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><b>thisGeneration</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r5" doxytag="eoSteadyFitContinue::lastImprovement"></a>
unsigned int&nbsp;</td><td class="memItemRight" valign="bottom"><b>lastImprovement</b></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="r6" doxytag="eoSteadyFitContinue::bestSoFar"></a>
Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><b>bestSoFar</b></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class EOT&gt;<br>
class eoSteadyFitContinue&lt; EOT &gt;</h3>
A continuator: does a minimum number of generations, then stops whenever a given number of generations takes place without improvement.
<p>
<p>
Definition at line <a class="el" href="eo_steady_fit_continue_8h-source.html#l00035">35</a> of file <a class="el" href="eo_steady_fit_continue_8h-source.html">eoSteadyFitContinue.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a3" doxytag="eoSteadyFitContinue::totalGenerations"></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 void <a class="el" href="classeo_steady_fit_continue.html">eoSteadyFitContinue</a>&lt; <a class="el" href="struct_dummy.html">EOT</a> &gt;::totalGenerations </td>
<td class="md" valign="top">(&nbsp;</td>
<td class="md" nowrap valign="top">unsigned long&nbsp;</td>
<td class="mdname" nowrap> <em>_mg</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>unsigned long&nbsp;</td>
<td class="mdname" nowrap> <em>_sg</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>
Sets the parameters (minimum nb of gen.
<p>
+ steady nb of gen.) and sets the current generation to 0 (the begin)
<p>
Definition at line <a class="el" href="eo_steady_fit_continue_8h-source.html#l00084">84</a> of file <a class="el" href="eo_steady_fit_continue_8h-source.html">eoSteadyFitContinue.h</a>.
<p>
References <a class="el" href="eo_steady_fit_continue_8h-source.html#l00091">eoSteadyFitContinue&lt; EOT &gt;::reset()</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="eo_steady_fit_continue_8h-source.html">eoSteadyFitContinue.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Oct 19 05:06:56 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>