paradiseo/trunk/paradiseo-mo/doc/html/classmo_i_l_s.html
jboisson 6c119796e0 AUTHORS, index.h and moFitComparator have been updated
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@616 331e1502-861f-0410-8da2-ba01fb791d7f
2007-09-25 14:31:28 +00:00

484 lines
39 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-MO: moILS&lt; M &gt; 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.2 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;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>&nbsp;<u>S</u>earch&nbsp;for&nbsp;</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&nbsp;List</span></a></li>
<li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
<li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
</ul>
</div>
<h1>moILS&lt; M &gt; Class Template Reference</h1><!-- doxytag: class="moILS" --><!-- doxytag: inherits="moAlgo&lt; M::EOType &gt;" -->Iterated Local Search (ILS).
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moILS&lt; M &gt;:
<p><center><img src="classmo_i_l_s.png" usemap="#moILS< M >_map" border="0" alt=""></center>
<map name="moILS< M >_map">
<area href="classmo_algo.html" alt="moAlgo< M::EOType >" shape="rect" coords="93,168,269,192">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html" alt="eoMonOp< M::EOType >" shape="rect" coords="93,112,269,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_op.html" alt="eoOp< EOType >" shape="rect" coords="0,56,176,80">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html" alt="eoUF< M::EOType &, bool >" shape="rect" coords="186,56,362,80">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="186,0,362,24">
</map>
<a href="classmo_i_l_s-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="classmo_i_l_s.html#f7f2fc1f905954d78edcec0e3ca53551">moILS</a> (<a class="el" href="classmo_algo.html">moAlgo</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__algo, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__continue, <a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__full_eval)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Generic constructor. <a href="#f7f2fc1f905954d78edcec0e3ca53551"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#c4ebdab294ee1085ddcb9bf2a6882cf0">moILS</a> (<a class="el" href="classmo_move_init.html">moMoveInit</a>&lt; M &gt; &amp;__move_init, <a class="el" href="classmo_next_move.html">moNextMove</a>&lt; M &gt; &amp;__next_move, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;__incr_eval, <a class="el" href="classmo_move_select.html">moMoveSelect</a>&lt; M &gt; &amp;__move_select, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__continue, <a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__full_eval)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor for using a <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>. <a href="#c4ebdab294ee1085ddcb9bf2a6882cf0"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#d27e3435b8f6592091431fde6f185769">moILS</a> (<a class="el" href="classmo_move_init.html">moMoveInit</a>&lt; M &gt; &amp;__move_init, <a class="el" href="classmo_next_move.html">moNextMove</a>&lt; M &gt; &amp;__next_move, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;__incr_eval, <a class="el" href="classmo_tabu_list.html">moTabuList</a>&lt; M &gt; &amp;__tabu_list, <a class="el" href="classmo_aspir_crit.html">moAspirCrit</a>&lt; M &gt; &amp;__aspir_crit, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__moTS_continue, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__continue, <a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__full_eval)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor for using a <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>. <a href="#d27e3435b8f6592091431fde6f185769"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#292acc5218e8f148e8b174f183820696">moILS</a> (<a class="el" href="classmo_rand_move.html">moRandMove</a>&lt; M &gt; &amp;__move_rand, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;__incr_eval, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__moSA_continue, double __init_temp, <a class="el" href="classmo_cooling_schedule.html">moCoolingSchedule</a> &amp;__cool_sched, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__continue, <a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;__full_eval)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor for using a <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>. <a href="#292acc5218e8f148e8b174f183820696"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#b3954a77b43fee31122d2a210b2a82d7">operator()</a> (<a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &amp;__sol)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/struct_function.html">Function</a> which launches the ILS. <a href="#b3954a77b43fee31122d2a210b2a82d7"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c81bafc611e4d4fd44347cf7162198c7"></a><!-- doxytag: member="moILS::EOT" ref="c81bafc611e4d4fd44347cf7162198c7" args="" -->
typedef M::EOType&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Alias for the type. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8c464a9eae064a78eff75d4c722b619c"></a><!-- doxytag: member="moILS::Fitness" ref="8c464a9eae064a78eff75d4c722b619c" args="" -->
typedef EOT::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#8c464a9eae064a78eff75d4c722b619c">Fitness</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Alias for the fitness. <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="8373e40b60afdd761789a97b47adece9"></a><!-- doxytag: member="moILS::algo" ref="8373e40b60afdd761789a97b47adece9" args="" -->
<a class="el" href="classmo_algo.html">moAlgo</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#8373e40b60afdd761789a97b47adece9">algo</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The solution based heuristic. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="c3046ba0a31a35470391987ac37afd64"></a><!-- doxytag: member="moILS::cont" ref="c3046ba0a31a35470391987ac37afd64" args="" -->
<a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#c3046ba0a31a35470391987ac37afd64">cont</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The stopping criterion. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="295f6d0342c67bd3dc4cb82e2adc26be"></a><!-- doxytag: member="moILS::acceptance_criterion" ref="295f6d0342c67bd3dc4cb82e2adc26be" args="" -->
<a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#295f6d0342c67bd3dc4cb82e2adc26be">acceptance_criterion</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The acceptance criterion. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f667a1bda06b6d221292df9aba3db8a2"></a><!-- doxytag: member="moILS::perturbation" ref="f667a1bda06b6d221292df9aba3db8a2" args="" -->
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#f667a1bda06b6d221292df9aba3db8a2">perturbation</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The perturbation generator. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8000f02fac668d51026e458c9febce7c"></a><!-- doxytag: member="moILS::full_eval" ref="8000f02fac668d51026e458c9febce7c" args="" -->
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#8000f02fac668d51026e458c9febce7c">full_eval</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The full evaluation function. <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class M&gt;<br>
class moILS&lt; M &gt;</h3>
Iterated Local Search (ILS).
<p>
Class which describes the algorithm for a iterated local search.
<p>
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00025">25</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="f7f2fc1f905954d78edcec0e3ca53551"></a><!-- doxytag: member="moILS::moILS" ref="f7f2fc1f905954d78edcec0e3ca53551" args="(moAlgo&lt; EOT &gt; &amp;__algo, moSolContinue&lt; EOT &gt; &amp;__continue, moComparator&lt; EOT &gt; &amp;__acceptance_criterion, eoMonOp&lt; EOT &gt; &amp;__perturbation, eoEvalFunc&lt; EOT &gt; &amp;__full_eval)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>&lt; M &gt;::<a class="el" href="classmo_i_l_s.html">moILS</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmo_algo.html">moAlgo</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__algo</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__acceptance_criterion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__perturbation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__full_eval</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Generic constructor.
<p>
Generic constructor using a <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a><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>__algo</em>&nbsp;</td><td>The solution based heuristic to use. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__continue</em>&nbsp;</td><td>The stopping criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em>&nbsp;</td><td>The acceptance criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em>&nbsp;</td><td>The pertubation generator. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em>&nbsp;</td><td>The evaluation function. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00046">46</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.
</div>
</div><p>
<a class="anchor" name="c4ebdab294ee1085ddcb9bf2a6882cf0"></a><!-- doxytag: member="moILS::moILS" ref="c4ebdab294ee1085ddcb9bf2a6882cf0" args="(moMoveInit&lt; M &gt; &amp;__move_init, moNextMove&lt; M &gt; &amp;__next_move, moMoveIncrEval&lt; M &gt; &amp;__incr_eval, moMoveSelect&lt; M &gt; &amp;__move_select, moSolContinue&lt; EOT &gt; &amp;__continue, moComparator&lt; EOT &gt; &amp;__acceptance_criterion, eoMonOp&lt; EOT &gt; &amp;__perturbation, eoEvalFunc&lt; EOT &gt; &amp;__full_eval)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>&lt; M &gt;::<a class="el" href="classmo_i_l_s.html">moILS</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmo_move_init.html">moMoveInit</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__move_init</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_next_move.html">moNextMove</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__next_move</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__incr_eval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_move_select.html">moMoveSelect</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__move_select</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__acceptance_criterion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__perturbation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__full_eval</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor for using a <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>.
<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>__move_init</em>&nbsp;</td><td>The move initialisation (for the <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__next_move</em>&nbsp;</td><td>The move generator (for the <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__incr_eval</em>&nbsp;</td><td>The partial evaluation function (for the <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__move_select</em>&nbsp;</td><td>The move selection strategy (for the <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__continue</em>&nbsp;</td><td>The stopping criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em>&nbsp;</td><td>The acceptance criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em>&nbsp;</td><td>The pertubation generator. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em>&nbsp;</td><td>The evaluation function. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00062">62</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.
</div>
</div><p>
<a class="anchor" name="d27e3435b8f6592091431fde6f185769"></a><!-- doxytag: member="moILS::moILS" ref="d27e3435b8f6592091431fde6f185769" args="(moMoveInit&lt; M &gt; &amp;__move_init, moNextMove&lt; M &gt; &amp;__next_move, moMoveIncrEval&lt; M &gt; &amp;__incr_eval, moTabuList&lt; M &gt; &amp;__tabu_list, moAspirCrit&lt; M &gt; &amp;__aspir_crit, moSolContinue&lt; EOT &gt; &amp;__moTS_continue, moSolContinue&lt; EOT &gt; &amp;__continue, moComparator&lt; EOT &gt; &amp;__acceptance_criterion, eoMonOp&lt; EOT &gt; &amp;__perturbation, eoEvalFunc&lt; EOT &gt; &amp;__full_eval)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>&lt; M &gt;::<a class="el" href="classmo_i_l_s.html">moILS</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmo_move_init.html">moMoveInit</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__move_init</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_next_move.html">moNextMove</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__next_move</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__incr_eval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_tabu_list.html">moTabuList</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__tabu_list</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_aspir_crit.html">moAspirCrit</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__aspir_crit</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__moTS_continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__acceptance_criterion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__perturbation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__full_eval</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor for using a <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>.
<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>__move_init</em>&nbsp;</td><td>The move initialisation (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__next_move</em>&nbsp;</td><td>The move generator (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__incr_eval</em>&nbsp;</td><td>The partial evaluation function (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__tabu_list</em>&nbsp;</td><td>The tabu list (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a> !!!!). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__aspir_crit</em>&nbsp;</td><td>The aspiration criterion (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__moTS_continue</em>&nbsp;</td><td>The stopping criterion (for the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__continue</em>&nbsp;</td><td>The stopping criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em>&nbsp;</td><td>The acceptance criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em>&nbsp;</td><td>The pertubation generator. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em>&nbsp;</td><td>The evaluation function. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00082">82</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.
</div>
</div><p>
<a class="anchor" name="292acc5218e8f148e8b174f183820696"></a><!-- doxytag: member="moILS::moILS" ref="292acc5218e8f148e8b174f183820696" args="(moRandMove&lt; M &gt; &amp;__move_rand, moMoveIncrEval&lt; M &gt; &amp;__incr_eval, moSolContinue&lt; EOT &gt; &amp;__moSA_continue, double __init_temp, moCoolingSchedule &amp;__cool_sched, moSolContinue&lt; EOT &gt; &amp;__continue, moComparator&lt; EOT &gt; &amp;__acceptance_criterion, eoMonOp&lt; EOT &gt; &amp;__perturbation, eoEvalFunc&lt; EOT &gt; &amp;__full_eval)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>&lt; M &gt;::<a class="el" href="classmo_i_l_s.html">moILS</a> </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmo_rand_move.html">moRandMove</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__move_rand</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>&lt; M &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__incr_eval</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__moSA_continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double&nbsp;</td>
<td class="paramname"> <em>__init_temp</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_cooling_schedule.html">moCoolingSchedule</a> &amp;&nbsp;</td>
<td class="paramname"> <em>__cool_sched</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_sol_continue.html">moSolContinue</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__continue</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="classmo_comparator.html">moComparator</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__acceptance_criterion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__perturbation</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>&lt; <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__full_eval</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Constructor for using a <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a> for the <a class="el" href="classmo_algo.html" title="Description of an algorithm of the paradiseo-mo library.">moAlgo</a>.
<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>__move_rand</em>&nbsp;</td><td>The random move generator (for the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__incr_eval</em>&nbsp;</td><td>The partial evaluation function (for the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__moSA_continue</em>&nbsp;</td><td>The stopping criterion (for the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__init_temp</em>&nbsp;</td><td>The initial temperature (for the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__cool_sched</em>&nbsp;</td><td>The cooling scheduler (for the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>). </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__continue</em>&nbsp;</td><td>The stopping criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em>&nbsp;</td><td>The acceptance criterion. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em>&nbsp;</td><td>The pertubation generator. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em>&nbsp;</td><td>The evaluation function. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00102">102</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b3954a77b43fee31122d2a210b2a82d7"></a><!-- doxytag: member="moILS::operator()" ref="b3954a77b43fee31122d2a210b2a82d7" args="(EOT &amp;__sol)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname">bool <a class="el" href="classmo_i_l_s.html">moILS</a>&lt; M &gt;::operator() </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> &amp;&nbsp;</td>
<td class="paramname"> <em>__sol</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline, virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/struct_function.html">Function</a> which launches the ILS.
<p>
The ILS has to improve a current solution. As the <a class="el" href="classmo_s_a.html" title="Simulated Annealing (SA).">moSA</a>, the <a class="el" href="classmo_t_s.html" title="Tabu Search (TS).">moTS</a> and the <a class="el" href="classmo_h_c.html" title="Hill Climbing (HC).">moHC</a>, it can be used for HYBRIDATION in an evolutionnary algorithm.<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>__sol</em>&nbsp;</td><td>a current solution to improve. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE. </dd></dl>
<p>
Implements <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_u_f.html#786e028409366dc273e19104f17ba68a">eoUF&lt; M::EOType &amp;, bool &gt;</a>.
<p>
Definition at line <a class="el" href="mo_i_l_s_8h-source.html#l00119">119</a> of file <a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>.
<p>
References <a class="el" href="mo_i_l_s_8h-source.html#l00169">moILS&lt; M &gt;::acceptance_criterion</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00163">moILS&lt; M &gt;::algo</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00166">moILS&lt; M &gt;::cont</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00175">moILS&lt; M &gt;::full_eval</a>, and <a class="el" href="mo_i_l_s_8h-source.html#l00172">moILS&lt; M &gt;::perturbation</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Tue Sep 25 16:25:47 2007 for PARADISEO-MO by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.2 </small></address>
</body>
</html>