licence --> license in english..

git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@672 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
legrand 2007-10-08 13:27:08 +00:00
commit 23c125ff95
409 changed files with 12259 additions and 8424 deletions

View file

@ -1,14 +1,15 @@
<!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: moRandImprSelect&lt; M &gt; Class Template Reference</title>
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>ParadisEO-MOMovingObjects: 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><a href="namespaces.html"><span>Namespaces</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 +21,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>
@ -39,8 +38,8 @@
<p><center><img src="classmo_rand_impr_select.png" usemap="#moRandImprSelect< M >_map" border="0" alt=""></center>
<map name="moRandImprSelect< M >_map">
<area href="classmo_move_select.html" alt="moMoveSelect< M >" shape="rect" coords="0,112,256,136">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_b_f.html" alt="eoBF< M &, M::EOType::Fitness &, void >" shape="rect" coords="0,56,256,80">
<area doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_functor_base.html" alt="eoFunctorBase" shape="rect" coords="0,0,256,24">
<area doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_b_f.html" alt="eoBF< M &, M::EOType::Fitness &, void >" shape="rect" coords="0,56,256,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,256,24">
</map>
<a href="classmo_rand_impr_select-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
@ -52,10 +51,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"><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="mdescLeft">&nbsp;</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 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,13 +76,13 @@ 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>
<p>
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00025">25</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.<hr><h2>Member Function Documentation</h2>
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00050">50</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a19726a1509cff874801615d63a3b5d9"></a><!-- doxytag: member="moRandImprSelect::init" ref="a19726a1509cff874801615d63a3b5d9" args="(const Fitness &amp;__fit)" -->
<div class="memitem">
<div class="memproto">
@ -103,7 +102,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>
@ -115,9 +114,9 @@ Give a value to the initialise fitness. Clean the move and fitness vectors.<p>
<p>
Implements <a class="el" href="classmo_move_select.html#bca4c43f13d26eca7163aeb272a4a52e">moMoveSelect&lt; M &gt;</a>.
<p>
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00040">40</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00065">65</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
<p>
References <a class="el" href="mo_rand_impr_select_8h-source.html#l00095">moRandImprSelect&lt; M &gt;::init_fit</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00098">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00101">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
References <a class="el" href="mo_rand_impr_select_8h-source.html#l00120">moRandImprSelect&lt; M &gt;::init_fit</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00123">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00126">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
</div>
</div><p>
<a class="anchor" name="60ae5548560caee7e28d5ed2446186c9"></a><!-- doxytag: member="moRandImprSelect::update" ref="60ae5548560caee7e28d5ed2446186c9" args="(const M &amp;__move, const Fitness &amp;__fit)" -->
@ -148,7 +147,7 @@ template&lt;class M&gt; </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> that updates the fitness and move vectors.
<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 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,14 +156,14 @@ 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>.
<p>
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00056">56</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00081">81</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
<p>
References <a class="el" href="mo_rand_impr_select_8h-source.html#l00095">moRandImprSelect&lt; M &gt;::init_fit</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00098">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00101">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
References <a class="el" href="mo_rand_impr_select_8h-source.html#l00120">moRandImprSelect&lt; M &gt;::init_fit</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00123">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00126">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
</div>
</div><p>
<a class="anchor" name="5ee57f77a450c0a9ce50bfccf3ad2a55"></a><!-- doxytag: member="moRandImprSelect::operator()" ref="5ee57f77a450c0a9ce50bfccf3ad2a55" args="(M &amp;__move, Fitness &amp;__fit)" -->
@ -206,22 +205,22 @@ 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>
<p>
Implements <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_b_f.html#a03c40b95210569b826df79a2237a0d0">eoBF&lt; M &amp;, M::EOType::Fitness &amp;, void &gt;</a>.
Implements <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_b_f.html#a03c40b95210569b826df79a2237a0d0">eoBF&lt; M &amp;, M::EOType::Fitness &amp;, void &gt;</a>.
<p>
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00077">77</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
Definition at line <a class="el" href="mo_rand_impr_select_8h-source.html#l00102">102</a> of file <a class="el" href="mo_rand_impr_select_8h-source.html">moRandImprSelect.h</a>.
<p>
References <a class="elRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_rng.html#f0829d258c74cdc3a8f6cd72c0287cb4">eoRng::random()</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00098">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00101">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
References <a class="elRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_rng.html#f0829d258c74cdc3a8f6cd72c0287cb4">eoRng::random()</a>, <a class="el" href="mo_rand_impr_select_8h-source.html#l00123">moRandImprSelect&lt; M &gt;::vect_better_fit</a>, and <a class="el" href="mo_rand_impr_select_8h-source.html#l00126">moRandImprSelect&lt; M &gt;::vect_better_moves</a>.
</div>
</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 Tue Sep 25 16:25:47 2007 for PARADISEO-MO by&nbsp;
<hr size="1"><address style="align: right;"><small>Generated on Mon Oct 8 09:55:33 2007 for ParadisEO-MOMovingObjects 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>