paradiseo/trunk/paradiseo-mo/docs/html/classmo_move_select.html
jboisson a40fc756aa moSimple(Move/Solution)TabuList are added
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@281 331e1502-861f-0410-8da2-ba01fb791d7f
2007-04-19 13:23:06 +00:00

149 lines
8.4 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>PARADISEO-MO: moMoveSelect&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.1 -->
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main&nbsp;Page</span></a></li>
<li id="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>moMoveSelect&lt; M &gt; Class Template Reference</h1><!-- doxytag: class="moMoveSelect" -->Class that describes a move selector (<a class="el" href="classmo_move.html">moMove</a>).
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="mo_move_select_8h-source.html">moMoveSelect.h</a>&gt;</code>
<p>
<p>Inheritance diagram for moMoveSelect&lt; M &gt;:
<p><center><img src="classmo_move_select.png" usemap="#moMoveSelect< M >_map" border="0" alt=""></center>
<map name="moMoveSelect< M >_map">
<area href="classmo_best_impr_select.html" alt="moBestImprSelect< M >" shape="rect" coords="0,56,151,80">
<area href="classmo_first_impr_select.html" alt="moFirstImprSelect< M >" shape="rect" coords="161,56,312,80">
<area href="classmo_rand_impr_select.html" alt="moRandImprSelect< M >" shape="rect" coords="322,56,473,80">
</map>
<a href="classmo_move_select-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="8148ccc0e6fbd209c3fe6829559895c8"></a><!-- doxytag: member="moMoveSelect::Fitness" ref="8148ccc0e6fbd209c3fe6829559895c8" args="" -->
typedef M::EOType::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_move_select.html#8148ccc0e6fbd209c3fe6829559895c8">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>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_move_select.html#bca4c43f13d26eca7163aeb272a4a52e">init</a> (const <a class="el" href="classmo_move_select.html#8148ccc0e6fbd209c3fe6829559895c8">Fitness</a> &amp;__fit)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure which initialises all that the move selector needs including the initial fitness. <a href="#bca4c43f13d26eca7163aeb272a4a52e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_move_select.html#7c157b6e64fd417acf6e900059204eb1">update</a> (const M &amp;__move, const <a class="el" href="classmo_move_select.html#8148ccc0e6fbd209c3fe6829559895c8">Fitness</a> &amp;__fit)=0</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function which updates the best solutions. <a href="#7c157b6e64fd417acf6e900059204eb1"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class M&gt;<br>
class moMoveSelect&lt; M &gt;</h3>
Class that describes a move selector (<a class="el" href="classmo_move.html">moMove</a>).
<p>
It iteratively considers some moves (<a class="el" href="classmo_move.html">moMove</a>) and their associated fitnesses. The best move is so regularly updated. At any time, it could be accessed.
<p>
<p>
Definition at line <a class="el" href="mo_move_select_8h-source.html#l00032">32</a> of file <a class="el" href="mo_move_select_8h-source.html">moMoveSelect.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="bca4c43f13d26eca7163aeb272a4a52e"></a><!-- doxytag: member="moMoveSelect::init" ref="bca4c43f13d26eca7163aeb272a4a52e" args="(const Fitness &amp;__fit)=0" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname">virtual void <a class="el" href="classmo_move_select.html">moMoveSelect</a>&lt; M &gt;::init </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="classmo_move_select.html#8148ccc0e6fbd209c3fe6829559895c8">Fitness</a> &amp;&nbsp;</td>
<td class="paramname"> <em>__fit</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Procedure which initialises all that the move selector needs including the initial fitness.
<p>
In order to know the fitness of the solution, for which the neighborhood will be soon explored<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>__fit</em>&nbsp;</td><td>the current fitness. </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classmo_best_impr_select.html#2d2abf9aa17dc77cbb4f41810ab7b956">moBestImprSelect&lt; M &gt;</a>, <a class="el" href="classmo_first_impr_select.html#4c5ce18ede46247a439c68f6954a4055">moFirstImprSelect&lt; M &gt;</a>, and <a class="el" href="classmo_rand_impr_select.html#a19726a1509cff874801615d63a3b5d9">moRandImprSelect&lt; M &gt;</a>.
</div>
</div><p>
<a class="anchor" name="7c157b6e64fd417acf6e900059204eb1"></a><!-- doxytag: member="moMoveSelect::update" ref="7c157b6e64fd417acf6e900059204eb1" args="(const M &amp;__move, const Fitness &amp;__fit)=0" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname">virtual bool <a class="el" href="classmo_move_select.html">moMoveSelect</a>&lt; M &gt;::update </td>
<td>(</td>
<td class="paramtype">const M &amp;&nbsp;</td>
<td class="paramname"> <em>__move</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="classmo_move_select.html#8148ccc0e6fbd209c3fe6829559895c8">Fitness</a> &amp;&nbsp;</td>
<td class="paramname"> <em>__fit</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [pure virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Function which updates the best solutions.
<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</em>&nbsp;</td><td>a new move. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__fit</em>&nbsp;</td><td>a fitness linked to the new move. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>a boolean that expresses the need to resume the exploration. </dd></dl>
<p>
Implemented in <a class="el" href="classmo_best_impr_select.html#d10e3e6f8a0277731e95ef506d064d6d">moBestImprSelect&lt; M &gt;</a>, and <a class="el" href="classmo_rand_impr_select.html#60ae5548560caee7e28d5ed2446186c9">moRandImprSelect&lt; M &gt;</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mo_move_select_8h-source.html">moMoveSelect.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Apr 19 15:16:09 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.1 </small></address>
</body>
</html>