git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@616 331e1502-861f-0410-8da2-ba01fb791d7f
484 lines
39 KiB
HTML
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< M > 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 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>moILS< M > Class Template Reference</h1><!-- doxytag: class="moILS" --><!-- doxytag: inherits="moAlgo< M::EOType >" -->Iterated Local Search (ILS).
|
|
<a href="#_details">More...</a>
|
|
<p>
|
|
<code>#include <<a class="el" href="mo_i_l_s_8h-source.html">moILS.h</a>></code>
|
|
<p>
|
|
<p>Inheritance diagram for moILS< M >:
|
|
<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"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__algo, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__continue, <a class="el" href="classmo_comparator.html">moComparator</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__full_eval)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Generic constructor. <a href="#f7f2fc1f905954d78edcec0e3ca53551"></a><br></td></tr>
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </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>< M > &__move_init, <a class="el" href="classmo_next_move.html">moNextMove</a>< M > &__next_move, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>< M > &__incr_eval, <a class="el" href="classmo_move_select.html">moMoveSelect</a>< M > &__move_select, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__continue, <a class="el" href="classmo_comparator.html">moComparator</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__full_eval)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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"> </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>< M > &__move_init, <a class="el" href="classmo_next_move.html">moNextMove</a>< M > &__next_move, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>< M > &__incr_eval, <a class="el" href="classmo_tabu_list.html">moTabuList</a>< M > &__tabu_list, <a class="el" href="classmo_aspir_crit.html">moAspirCrit</a>< M > &__aspir_crit, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__moTS_continue, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__continue, <a class="el" href="classmo_comparator.html">moComparator</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__full_eval)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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"> </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>< M > &__move_rand, <a class="el" href="classmo_move_incr_eval.html">moMoveIncrEval</a>< M > &__incr_eval, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__moSA_continue, double __init_temp, <a class="el" href="classmo_cooling_schedule.html">moCoolingSchedule</a> &__cool_sched, <a class="el" href="classmo_sol_continue.html">moSolContinue</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__continue, <a class="el" href="classmo_comparator.html">moComparator</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__acceptance_criterion, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_mon_op.html">eoMonOp</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__perturbation, <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_eval_func.html">eoEvalFunc</a>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > &__full_eval)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </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> &__sol)</td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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 </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#8c464a9eae064a78eff75d4c722b619c">Fitness</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#8373e40b60afdd761789a97b47adece9">algo</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#c3046ba0a31a35470391987ac37afd64">cont</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_i_l_s.html#f667a1bda06b6d221292df9aba3db8a2">perturbation</a></td></tr>
|
|
|
|
<tr><td class="mdescLeft"> </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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"> </td><td class="mdescRight">The full evaluation function. <br></td></tr>
|
|
</table>
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2>
|
|
<h3>template<class M><br>
|
|
class moILS< M ></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 & Destructor Documentation</h2>
|
|
<a class="anchor" name="f7f2fc1f905954d78edcec0e3ca53551"></a><!-- doxytag: member="moILS::moILS" ref="f7f2fc1f905954d78edcec0e3ca53551" args="(moAlgo< EOT > &__algo, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class M> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>< M >::<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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td>
|
|
<td class="paramname"> <em>__full_eval</em></td><td> </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> </td><td>The solution based heuristic to use. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__continue</em> </td><td>The stopping criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em> </td><td>The acceptance criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em> </td><td>The pertubation generator. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em> </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< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moMoveSelect< M > &__move_select, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class M> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>< M >::<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>< M > & </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>< M > & </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>< M > & </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>< M > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td>
|
|
<td class="paramname"> <em>__full_eval</em></td><td> </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> </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> </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> </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> </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> </td><td>The stopping criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em> </td><td>The acceptance criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em> </td><td>The pertubation generator. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em> </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< M > &__move_init, moNextMove< M > &__next_move, moMoveIncrEval< M > &__incr_eval, moTabuList< M > &__tabu_list, moAspirCrit< M > &__aspir_crit, moSolContinue< EOT > &__moTS_continue, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class M> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>< M >::<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>< M > & </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>< M > & </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>< M > & </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>< M > & </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>< M > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td>
|
|
<td class="paramname"> <em>__full_eval</em></td><td> </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> </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> </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> </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> </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> </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> </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> </td><td>The stopping criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em> </td><td>The acceptance criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em> </td><td>The pertubation generator. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em> </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< M > &__move_rand, moMoveIncrEval< M > &__incr_eval, moSolContinue< EOT > &__moSA_continue, double __init_temp, moCoolingSchedule &__cool_sched, moSolContinue< EOT > &__continue, moComparator< EOT > &__acceptance_criterion, eoMonOp< EOT > &__perturbation, eoEvalFunc< EOT > &__full_eval)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class M> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname"><a class="el" href="classmo_i_l_s.html">moILS</a>< M >::<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>< M > & </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>< M > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td>
|
|
<td class="paramname"> <em>__moSA_continue</em>, </td>
|
|
</tr>
|
|
<tr>
|
|
<td class="paramkey"></td>
|
|
<td></td>
|
|
<td class="paramtype">double </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> & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </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>< <a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> > & </td>
|
|
<td class="paramname"> <em>__full_eval</em></td><td> </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> </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> </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> </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> </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> </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> </td><td>The stopping criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__acceptance_criterion</em> </td><td>The acceptance criterion. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__perturbation</em> </td><td>The pertubation generator. </td></tr>
|
|
<tr><td valign="top"></td><td valign="top"><em>__full_eval</em> </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 &__sol)" -->
|
|
<div class="memitem">
|
|
<div class="memproto">
|
|
<div class="memtemplate">
|
|
template<class M> </div>
|
|
<table class="memname">
|
|
<tr>
|
|
<td class="memname">bool <a class="el" href="classmo_i_l_s.html">moILS</a>< M >::operator() </td>
|
|
<td>(</td>
|
|
<td class="paramtype"><a class="el" href="classmo_i_l_s.html#c81bafc611e4d4fd44347cf7162198c7">EOT</a> & </td>
|
|
<td class="paramname"> <em>__sol</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:../../../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> </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< M::EOType &, bool ></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< M >::acceptance_criterion</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00163">moILS< M >::algo</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00166">moILS< M >::cont</a>, <a class="el" href="mo_i_l_s_8h-source.html#l00175">moILS< M >::full_eval</a>, and <a class="el" href="mo_i_l_s_8h-source.html#l00172">moILS< M >::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
|
|
<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>
|