git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@543 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
legrand 2007-07-05 11:46:12 +00:00
commit c0aa650dbf
185 changed files with 2197 additions and 2794 deletions

View file

@ -1,14 +1,14 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>PARADISEO-MO: moRandImprSelect&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 -->
<!-- Generated by Doxygen 1.4.7 -->
<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 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">
@ -20,17 +20,15 @@
</table>
</form>
</li>
</ul>
</div>
</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>moRandImprSelect&lt; M &gt; Class Template Reference</h1><!-- doxytag: class="moRandImprSelect" --><!-- doxytag: inherits="moMoveSelect" -->One of the possible <a class="el" href="classmo_move.html" title="Definition of a move.">moMove</a> selector (<a class="el" href="classmo_move_select.html" title="Class that describes a move selector (moMove).">moMoveSelect</a>).
</ul></div>
<h1>moRandImprSelect&lt; M &gt; Class Template Reference</h1><!-- doxytag: class="moRandImprSelect" --><!-- doxytag: inherits="moMoveSelect" -->One of the possible <a class="el" href="classmo_move.html">moMove</a> selector (<a class="el" href="classmo_move_select.html">moMoveSelect</a>).
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>&gt;</code>
@ -52,10 +50,10 @@ typedef M::EOType::Fitness&nbsp;</td><td class="memItemRight" valign="bottom"><a
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_rand_impr_select.html#a19726a1509cff874801615d63a3b5d9">init</a> (const <a class="el" href="classmo_rand_impr_select.html#3bff2fdb963297430543c82ffb567a5c">Fitness</a> &amp;__fit)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure which all that needs a <a class="el" href="classmo_rand_impr_select.html" title="One of the possible moMove selector (moMoveSelect).">moRandImprSelect</a>. <a href="#a19726a1509cff874801615d63a3b5d9"></a><br></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure which all that needs a <a class="el" href="classmo_rand_impr_select.html">moRandImprSelect</a>. <a href="#a19726a1509cff874801615d63a3b5d9"></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_rand_impr_select.html#60ae5548560caee7e28d5ed2446186c9">update</a> (const M &amp;__move, const <a class="el" href="classmo_rand_impr_select.html#3bff2fdb963297430543c82ffb567a5c">Fitness</a> &amp;__fit)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function that updates the fitness and move vectors. <a href="#60ae5548560caee7e28d5ed2446186c9"></a><br></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> that updates the fitness and move vectors. <a href="#60ae5548560caee7e28d5ed2446186c9"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_rand_impr_select.html#5ee57f77a450c0a9ce50bfccf3ad2a55">operator()</a> (M &amp;__move, <a class="el" href="classmo_rand_impr_select.html#3bff2fdb963297430543c82ffb567a5c">Fitness</a> &amp;__fit) throw (EmptySelection)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The move selection. <a href="#5ee57f77a450c0a9ce50bfccf3ad2a55"></a><br></td></tr>
@ -77,7 +75,7 @@ std::vector&lt; M &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a cla
<h3>template&lt;class M&gt;<br>
class moRandImprSelect&lt; M &gt;</h3>
One of the possible <a class="el" href="classmo_move.html" title="Definition of a move.">moMove</a> selector (<a class="el" href="classmo_move_select.html" title="Class that describes a move selector (moMove).">moMoveSelect</a>).
One of the possible <a class="el" href="classmo_move.html">moMove</a> selector (<a class="el" href="classmo_move_select.html">moMoveSelect</a>).
<p>
All the neighbors are considered. One of them that enables an improvment of the objective function is choosen.
<p>
@ -103,7 +101,7 @@ template&lt;class M&gt; </div>
<div class="memdoc">
<p>
Procedure which all that needs a <a class="el" href="classmo_rand_impr_select.html" title="One of the possible moMove selector (moMoveSelect).">moRandImprSelect</a>.
Procedure which all that needs a <a class="el" href="classmo_rand_impr_select.html">moRandImprSelect</a>.
<p>
Give a value to the initialise fitness. Clean the move and fitness vectors.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
@ -148,7 +146,7 @@ template&lt;class M&gt; </div>
<div class="memdoc">
<p>
Function that updates the fitness and move vectors.
<a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/struct_function.html">Function</a> that updates the fitness and move vectors.
<p>
if a move give a better fitness than the initial fitness, it is saved and the fitness too.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
@ -157,7 +155,7 @@ if a move give a better fitness than the initial fitness, it is saved and the fi
<tr><td valign="top"></td><td valign="top"><em>__fit</em>&nbsp;</td><td>a new fitness associated to the new move. </td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>TRUE. </dd></dl>
<dl compact><dt><b>Returns:</b></dt><dd>TRUE. </dd></dl>
<p>
Implements <a class="el" href="classmo_move_select.html#7c157b6e64fd417acf6e900059204eb1">moMoveSelect&lt; M &gt;</a>.
@ -206,7 +204,7 @@ One the saved move is randomly chosen.<p>
</dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_empty_selection.html" title="Special class that describes the case of no selection.">EmptySelection</a></em>&nbsp;</td><td>If no move which improves the current fitness are found. </td></tr>
<tr><td valign="top"></td><td valign="top"><em><a class="el" href="class_empty_selection.html">EmptySelection</a></em>&nbsp;</td><td>If no move which improves the current fitness are found. </td></tr>
</table>
</dl>
@ -220,8 +218,8 @@ References <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/"
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a></ul>
<hr size="1"><address style="text-align: right;"><small>Generated on Wed Jun 27 15:12:37 2007 for PARADISEO-MO by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Thu Jul 5 12:04:05 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>
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
</body>
</html>