git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@882 331e1502-861f-0410-8da2-ba01fb791d7f
186 lines
11 KiB
HTML
186 lines
11 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
|
|
<title>ParadisEO-MOMovingObjects: moGenSolContinue< EOT > Class Template Reference</title>
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css">
|
|
<link href="tabs.css" rel="stylesheet" type="text/css">
|
|
</head><body>
|
|
<!-- Generated by Doxygen 1.5.4 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li class="current"><a href="classes.html"><span>Classes</span></a></li>
|
|
<li><a href="files.html"><span>Files</span></a></li>
|
|
<li>
|
|
<form action="search.php" method="get">
|
|
<table cellspacing="0" cellpadding="0" border="0">
|
|
<tr>
|
|
<td><label> <u>S</u>earch for </label></td>
|
|
<td><input type="text" name="query" value="" size="20" accesskey="s"/></td>
|
|
</tr>
|
|
</table>
|
|
</form>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
|
|
<li><a href="annotated.html"><span>Class List</span></a></li>
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
|
|
<li><a href="functions.html"><span>Class Members</span></a></li>
|
|
</ul>
|
|
</div>
|
|
<h1>moGenSolContinue< EOT > Class Template Reference</h1><!-- doxytag: class="moGenSolContinue" --><!-- doxytag: inherits="moSolContinue" -->One possible stop criterion for a solution-based heuristic.
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a>></code>
|
|
<p>
|
|
<div class="dynheader">
|
|
Inheritance diagram for moGenSolContinue< EOT >:</div>
|
|
<div class="dynsection">
|
|
|
|
<p><center><img src="classmo_gen_sol_continue.png" usemap="#moGenSolContinue< EOT >_map" border="0" alt=""></center>
|
|
<map name="moGenSolContinue< EOT >_map">
|
|
<area href="classmo_sol_continue.html" alt="moSolContinue< EOT >" shape="rect" coords="0,112,173,136">
|
|
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html" alt="eoUF< const EOT &, bool >" shape="rect" coords="0,56,173,80">
|
|
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,173,24">
|
|
</map>
|
|
</div>
|
|
|
|
<p>
|
|
<a href="classmo_gen_sol_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 Member Functions</h2></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_gen_sol_continue.html#8e2456421b641d38e3f800f3bbe45159">moGenSolContinue</a> (unsigned int _generationMaximumNumber)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Simple constructor. <a href="#8e2456421b641d38e3f800f3bbe45159"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_gen_sol_continue.html#2fd5f2f10b6d6208412582578fad48ea">operator()</a> (const EOT &_solution)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/struct_function.html">Function</a> that activates the stop criterion. <a href="#2fd5f2f10b6d6208412582578fad48ea"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_gen_sol_continue.html#6c5db8182157584b56507cc9075602d4">init</a> ()</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Procedure which allows to initialise the generation counter. <a href="#6c5db8182157584b56507cc9075602d4"></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="c838d923436b71c584891c1cbe3f47ba"></a><!-- doxytag: member="moGenSolContinue::generationMaximumNumber" ref="c838d923436b71c584891c1cbe3f47ba" args="" -->
|
|
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_gen_sol_continue.html#c838d923436b71c584891c1cbe3f47ba">generationMaximumNumber</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Iteration maximum number. <br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="af0b3e5ca3ceee0d843670955c8f1e58"></a><!-- doxytag: member="moGenSolContinue::generationNumber" ref="af0b3e5ca3ceee0d843670955c8f1e58" args="" -->
|
|
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_gen_sol_continue.html#af0b3e5ca3ceee0d843670955c8f1e58">generationNumber</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Iteration current number. <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class EOT><br>
|
|
class moGenSolContinue< EOT ></h3>
|
|
|
|
One possible stop criterion for a solution-based heuristic.
|
|
<p>
|
|
The stop criterion corresponds to a maximum number of iteration.
|
|
<p>Definition at line <a class="el" href="mo_gen_sol_continue_8h-source.html#l00046">46</a> of file <a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a>.</p>
|
|
<hr><h2>Constructor & Destructor Documentation</h2>
|
|
<a class="anchor" name="8e2456421b641d38e3f800f3bbe45159"></a><!-- doxytag: member="moGenSolContinue::moGenSolContinue" ref="8e2456421b641d38e3f800f3bbe45159" args="(unsigned int _generationMaximumNumber)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmo_gen_sol_continue.html">moGenSolContinue</a>< EOT >::<a class="el" href="classmo_gen_sol_continue.html">moGenSolContinue</a> </td>
|
|
<td>(</td>
|
|
<td class="paramtype">unsigned int </td>
|
|
<td class="paramname"> <em>_generationMaximumNumber</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Simple constructor.
|
|
<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>_generationMaximumNumber</em> </td><td>The maximum number of generations. </td></tr>
|
|
</table>
|
|
</dl>
|
|
|
|
<p>Definition at line <a class="el" href="mo_gen_sol_continue_8h-source.html#l00054">54</a> of file <a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr><h2>Member Function Documentation</h2>
|
|
<a class="anchor" name="2fd5f2f10b6d6208412582578fad48ea"></a><!-- doxytag: member="moGenSolContinue::operator()" ref="2fd5f2f10b6d6208412582578fad48ea" args="(const EOT &_solution)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classmo_gen_sol_continue.html">moGenSolContinue</a>< EOT >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype">const EOT & </td>
|
|
<td class="paramname"> <em>_solution</em> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
<a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/struct_function.html">Function</a> that activates the stop criterion.
|
|
<p>
|
|
Increments the counter and returns TRUE if the current number of iteration is lower than the given maximum number of iterations.<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>_solution</em> </td><td>The current solution. </td></tr>
|
|
</table>
|
|
</dl>
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd>true or false according to the current generation number. </dd></dl>
|
|
|
|
<p>Implements <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoUF< const EOT &, bool ></a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="mo_gen_sol_continue_8h-source.html#l00066">66</a> of file <a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a>.</p>
|
|
|
|
<p>References <a class="el" href="mo_gen_sol_continue_8h-source.html#l00086">moGenSolContinue< EOT >::generationMaximumNumber</a>, and <a class="el" href="mo_gen_sol_continue_8h-source.html#l00089">moGenSolContinue< EOT >::generationNumber</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<a class="anchor" name="6c5db8182157584b56507cc9075602d4"></a><!-- doxytag: member="moGenSolContinue::init" ref="6c5db8182157584b56507cc9075602d4" args="()" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class EOT> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">void <a class="el" href="classmo_gen_sol_continue.html">moGenSolContinue</a>< EOT >::init </td>
|
|
<td>(</td>
|
|
<td class="paramname"> </td>
|
|
<td> ) </td>
|
|
<td width="100%"><code> [inline, virtual]</code></td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
<div class="memdoc">
|
|
|
|
<p>
|
|
Procedure which allows to initialise the generation counter.
|
|
<p>
|
|
It can also be used to reset the iteration counter.
|
|
<p>Implements <a class="el" href="classmo_sol_continue.html#064dc966a210f4ffb9515be3f03ca4c7">moSolContinue< EOT ></a>.</p>
|
|
|
|
<p>Definition at line <a class="el" href="mo_gen_sol_continue_8h-source.html#l00078">78</a> of file <a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a>.</p>
|
|
|
|
<p>References <a class="el" href="mo_gen_sol_continue_8h-source.html#l00089">moGenSolContinue< EOT >::generationNumber</a>.</p>
|
|
|
|
</div>
|
|
</div><p>
|
|
<hr>The documentation for this class was generated from the following file:<ul>
|
|
<li><a class="el" href="mo_gen_sol_continue_8h-source.html">moGenSolContinue.h</a></ul>
|
|
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Jan 15 17:04:26 2008 for ParadisEO-MOMovingObjects by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
|
|
</body>
|
|
</html>
|