git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@661 331e1502-861f-0410-8da2-ba01fb791d7f
209 lines
23 KiB
HTML
209 lines
23 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-PEOMovingObjects: peoSyncMultiStart.h Source File</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.4.7 -->
|
|
<div class="tabs">
|
|
<ul>
|
|
<li><a href="main.html"><span>Main Page</span></a></li>
|
|
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
|
<li><a href="classes.html"><span>Classes</span></a></li>
|
|
<li id="current"><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>
|
|
<h1>peoSyncMultiStart.h</h1><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* </span>
|
|
<a name="l00002"></a>00002 <span class="comment">* <peoSyncMultiStart.h></span>
|
|
<a name="l00003"></a>00003 <span class="comment">* Copyright (C) DOLPHIN Project-Team, INRIA Futurs, 2006-2007</span>
|
|
<a name="l00004"></a>00004 <span class="comment">* (C) OPAC Team, LIFL, 2002-2007</span>
|
|
<a name="l00005"></a>00005 <span class="comment">*</span>
|
|
<a name="l00006"></a>00006 <span class="comment">* Sebastien Cahon, Alexandru-Adrian Tantar</span>
|
|
<a name="l00007"></a>00007 <span class="comment">*</span>
|
|
<a name="l00008"></a>00008 <span class="comment">* This software is governed by the CeCILL license under French law and</span>
|
|
<a name="l00009"></a>00009 <span class="comment">* abiding by the rules of distribution of free software. You can use,</span>
|
|
<a name="l00010"></a>00010 <span class="comment">* modify and/ or redistribute the software under the terms of the CeCILL</span>
|
|
<a name="l00011"></a>00011 <span class="comment">* license as circulated by CEA, CNRS and INRIA at the following URL</span>
|
|
<a name="l00012"></a>00012 <span class="comment">* "http://www.cecill.info".</span>
|
|
<a name="l00013"></a>00013 <span class="comment">*</span>
|
|
<a name="l00014"></a>00014 <span class="comment">* As a counterpart to the access to the source code and rights to copy,</span>
|
|
<a name="l00015"></a>00015 <span class="comment">* modify and redistribute granted by the license, users are provided only</span>
|
|
<a name="l00016"></a>00016 <span class="comment">* with a limited warranty and the software's author, the holder of the</span>
|
|
<a name="l00017"></a>00017 <span class="comment">* economic rights, and the successive licensors have only limited liability.</span>
|
|
<a name="l00018"></a>00018 <span class="comment">*</span>
|
|
<a name="l00019"></a>00019 <span class="comment">* In this respect, the user's attention is drawn to the risks associated</span>
|
|
<a name="l00020"></a>00020 <span class="comment">* with loading, using, modifying and/or developing or reproducing the</span>
|
|
<a name="l00021"></a>00021 <span class="comment">* software by the user in light of its specific status of free software,</span>
|
|
<a name="l00022"></a>00022 <span class="comment">* that may mean that it is complicated to manipulate, and that also</span>
|
|
<a name="l00023"></a>00023 <span class="comment">* therefore means that it is reserved for developers and experienced</span>
|
|
<a name="l00024"></a>00024 <span class="comment">* professionals having in-depth computer knowledge. Users are therefore</span>
|
|
<a name="l00025"></a>00025 <span class="comment">* encouraged to load and test the software's suitability as regards their</span>
|
|
<a name="l00026"></a>00026 <span class="comment">* requirements in conditions enabling the security of their systems and/or</span>
|
|
<a name="l00027"></a>00027 <span class="comment">* data to be ensured and, more generally, to use and operate it in the</span>
|
|
<a name="l00028"></a>00028 <span class="comment">* same conditions as regards security.</span>
|
|
<a name="l00029"></a>00029 <span class="comment">* The fact that you are presently reading this means that you have had</span>
|
|
<a name="l00030"></a>00030 <span class="comment">* knowledge of the CeCILL license and that you accept its terms.</span>
|
|
<a name="l00031"></a>00031 <span class="comment">*</span>
|
|
<a name="l00032"></a>00032 <span class="comment">* ParadisEO WebSite : http://paradiseo.gforge.inria.fr</span>
|
|
<a name="l00033"></a>00033 <span class="comment">* Contact: paradiseo-help@lists.gforge.inria.fr</span>
|
|
<a name="l00034"></a>00034 <span class="comment">*</span>
|
|
<a name="l00035"></a>00035 <span class="comment">*/</span>
|
|
<a name="l00036"></a>00036
|
|
<a name="l00037"></a>00037 <span class="preprocessor">#ifndef __peoSyncMultiStart_h</span>
|
|
<a name="l00038"></a>00038 <span class="preprocessor"></span><span class="preprocessor">#define __peoSyncMultiStart_h</span>
|
|
<a name="l00039"></a>00039 <span class="preprocessor"></span>
|
|
<a name="l00040"></a>00040 <span class="preprocessor">#include <utils/eoUpdater.h></span>
|
|
<a name="l00041"></a>00041 <span class="preprocessor">#include <moAlgo.h></span>
|
|
<a name="l00042"></a>00042
|
|
<a name="l00043"></a>00043 <span class="preprocessor">#include <eoSelect.h></span>
|
|
<a name="l00044"></a>00044 <span class="preprocessor">#include <eoReplacement.h></span>
|
|
<a name="l00045"></a>00045 <span class="preprocessor">#include <eoContinue.h></span>
|
|
<a name="l00046"></a>00046
|
|
<a name="l00047"></a>00047 <span class="preprocessor">#include "core/service.h"</span>
|
|
<a name="l00048"></a>00048 <span class="preprocessor">#include "core/messaging.h"</span>
|
|
<a name="l00049"></a>00049 <span class="preprocessor">#include "core/peo_debug.h"</span>
|
|
<a name="l00050"></a>00050
|
|
<a name="l00051"></a>00051
|
|
<a name="l00052"></a>00052 <span class="keyword">extern</span> <span class="keywordtype">int</span> getNodeRank();
|
|
<a name="l00053"></a>00053
|
|
<a name="l00054"></a>00054
|
|
<a name="l00056"></a>00056
|
|
<a name="l00064"></a><a class="code" href="classpeoSyncMultiStart.html">00064</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keyword">class </span><a class="code" href="classpeoSyncMultiStart.html">peoSyncMultiStart</a> : <span class="keyword">public</span> <a class="code" href="classService.html">Service</a>, <span class="keyword">public</span> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_updater.html">eoUpdater</a> {
|
|
<a name="l00065"></a>00065
|
|
<a name="l00066"></a>00066 <span class="keyword">public</span>:
|
|
<a name="l00067"></a>00067
|
|
<a name="l00075"></a>00075 <a class="code" href="classpeoSyncMultiStart.html#d29f94aad3c1f443bfffc8b6aee0704c">peoSyncMultiStart</a>(
|
|
<a name="l00076"></a>00076
|
|
<a name="l00077"></a>00077 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_continue.html">eoContinue< EOT ></a>& __cont,
|
|
<a name="l00078"></a>00078 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_select.html">eoSelect< EOT ></a>& __select,
|
|
<a name="l00079"></a>00079 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_replacement.html">eoReplacement< EOT ></a>& __replace,
|
|
<a name="l00080"></a>00080 <a class="codeRef" doxygen="mo.doxytag:/data/OPAC/software/paradisEO/repository/paradiseo/trunk/paradiseo-peo/build/../../paradiseo-mo/build/doc/html/" href="/data/OPAC/software/paradisEO/repository/paradiseo/trunk/paradiseo-peo/build/../../paradiseo-mo/build/doc/html/classmo_algo.html">moAlgo< EOT ></a>& __ls,
|
|
<a name="l00081"></a>00081 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop< EOT ></a>& __pop
|
|
<a name="l00082"></a>00082 );
|
|
<a name="l00083"></a>00083
|
|
<a name="l00086"></a>00086 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#76385b33fe514f91cb83f0fbecbeb3c2">operator()</a>();
|
|
<a name="l00087"></a>00087
|
|
<a name="l00090"></a>00090 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#8becfab1922b64708dca5a53e2932a5a">packData</a>();
|
|
<a name="l00091"></a>00091
|
|
<a name="l00094"></a>00094 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#2903a441b77cded266b5fb651e17a5b5">unpackData</a>();
|
|
<a name="l00095"></a>00095
|
|
<a name="l00098"></a>00098 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#a4d1c2943c290de540800087b54dc49b">execute</a>();
|
|
<a name="l00099"></a>00099
|
|
<a name="l00102"></a>00102 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#6c48eb0dae741cff7203b65e226f9616">packResult</a>();
|
|
<a name="l00103"></a>00103
|
|
<a name="l00106"></a>00106 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#c3cbd1f10a89d1915c5ccf82a2c34a1d">unpackResult</a>();
|
|
<a name="l00107"></a>00107
|
|
<a name="l00110"></a>00110 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#32ec0d01d3fd8a9932abd68f4781fc94">notifySendingData</a>();
|
|
<a name="l00111"></a>00111
|
|
<a name="l00114"></a>00114 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#fc90282cc4e93cdea8f82fd52dd78fb0">notifySendingAllResourceRequests</a>();
|
|
<a name="l00115"></a>00115
|
|
<a name="l00116"></a>00116 <span class="keyword">private</span>:
|
|
<a name="l00117"></a>00117
|
|
<a name="l00118"></a><a class="code" href="classpeoSyncMultiStart.html#43f4fa9b125baef6fc8b968dfd16f437">00118</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_continue.html">eoContinue< EOT ></a>& <a class="code" href="classpeoSyncMultiStart.html#43f4fa9b125baef6fc8b968dfd16f437">cont</a>;
|
|
<a name="l00119"></a><a class="code" href="classpeoSyncMultiStart.html#8fc9a3d046023ddd077defec3c23ab3b">00119</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_select.html">eoSelect< EOT ></a>& <a class="code" href="classpeoSyncMultiStart.html#8fc9a3d046023ddd077defec3c23ab3b">select</a>;
|
|
<a name="l00120"></a><a class="code" href="classpeoSyncMultiStart.html#a375ccea98e9bf2a0854dac27df4522f">00120</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_replacement.html">eoReplacement< EOT ></a>& <a class="code" href="classpeoSyncMultiStart.html#a375ccea98e9bf2a0854dac27df4522f">replace</a>;
|
|
<a name="l00121"></a>00121
|
|
<a name="l00122"></a><a class="code" href="classpeoSyncMultiStart.html#4d317966de767dcc87eee0286ea7f95d">00122</a> <a class="codeRef" doxygen="mo.doxytag:/data/OPAC/software/paradisEO/repository/paradiseo/trunk/paradiseo-peo/build/../../paradiseo-mo/build/doc/html/" href="/data/OPAC/software/paradisEO/repository/paradiseo/trunk/paradiseo-peo/build/../../paradiseo-mo/build/doc/html/classmo_algo.html">moAlgo< EOT ></a>& <a class="code" href="classpeoSyncMultiStart.html#4d317966de767dcc87eee0286ea7f95d">ls</a>;
|
|
<a name="l00123"></a>00123
|
|
<a name="l00124"></a><a class="code" href="classpeoSyncMultiStart.html#391178bd6b8a97a08ab4e345f070e967">00124</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop< EOT ></a>& <a class="code" href="classpeoSyncMultiStart.html#391178bd6b8a97a08ab4e345f070e967">pop</a>;
|
|
<a name="l00125"></a><a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">00125</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop< EOT ></a> <a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">sel</a>;
|
|
<a name="l00126"></a><a class="code" href="classpeoSyncMultiStart.html#ca10f6d258105e3c4f0d1660db5b7679">00126</a> <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop< EOT ></a> <a class="code" href="classpeoSyncMultiStart.html#ca10f6d258105e3c4f0d1660db5b7679">impr_sel</a>;
|
|
<a name="l00127"></a>00127
|
|
<a name="l00128"></a><a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">00128</a> EOT <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a>;
|
|
<a name="l00129"></a><a class="code" href="classpeoSyncMultiStart.html#64191ef79b7b589964ac9c3e23ae6718">00129</a> <span class="keywordtype">unsigned</span> <a class="code" href="classpeoSyncMultiStart.html#64191ef79b7b589964ac9c3e23ae6718">idx</a>;
|
|
<a name="l00130"></a><a class="code" href="classpeoSyncMultiStart.html#773eb9097550d9444f25ca8f48997a30">00130</a> <span class="keywordtype">unsigned</span> <a class="code" href="classpeoSyncMultiStart.html#773eb9097550d9444f25ca8f48997a30">num_term</a>;
|
|
<a name="l00131"></a>00131 };
|
|
<a name="l00132"></a>00132
|
|
<a name="l00133"></a>00133
|
|
<a name="l00134"></a><a class="code" href="classpeoSyncMultiStart.html#d29f94aad3c1f443bfffc8b6aee0704c">00134</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <a class="code" href="classpeoSyncMultiStart.html#d29f94aad3c1f443bfffc8b6aee0704c">peoSyncMultiStart< EOT > :: peoSyncMultiStart</a>(
|
|
<a name="l00135"></a>00135
|
|
<a name="l00136"></a>00136 eoContinue < EOT >& __cont,
|
|
<a name="l00137"></a>00137 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_select.html">eoSelect< EOT ></a>& __select,
|
|
<a name="l00138"></a>00138 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_replacement.html">eoReplacement< EOT ></a>& __replace,
|
|
<a name="l00139"></a>00139 moAlgo < EOT >& __ls,
|
|
<a name="l00140"></a>00140 <a class="codeRef" doxygen="eo.doxytag:http://eodev.sourceforge.net/eo/doc/html/" href="http://eodev.sourceforge.net/eo/doc/html/classeo_pop.html">eoPop< EOT ></a>& __pop
|
|
<a name="l00141"></a>00141
|
|
<a name="l00142"></a>00142 ) : cont( __cont ), select( __select ), replace( __replace ), ls( __ls ), pop( __pop )
|
|
<a name="l00143"></a>00143 {
|
|
<a name="l00144"></a>00144
|
|
<a name="l00145"></a>00145 }
|
|
<a name="l00146"></a>00146
|
|
<a name="l00147"></a>00147
|
|
<a name="l00148"></a><a class="code" href="classpeoSyncMultiStart.html#8becfab1922b64708dca5a53e2932a5a">00148</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#8becfab1922b64708dca5a53e2932a5a">peoSyncMultiStart< EOT > :: packData</a>() {
|
|
<a name="l00149"></a>00149
|
|
<a name="l00150"></a>00150 :: pack( <a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">sel</a>[ <a class="code" href="classpeoSyncMultiStart.html#64191ef79b7b589964ac9c3e23ae6718">idx</a>++ ] );
|
|
<a name="l00151"></a>00151 }
|
|
<a name="l00152"></a>00152
|
|
<a name="l00153"></a>00153
|
|
<a name="l00154"></a><a class="code" href="classpeoSyncMultiStart.html#2903a441b77cded266b5fb651e17a5b5">00154</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#2903a441b77cded266b5fb651e17a5b5">peoSyncMultiStart< EOT > :: unpackData</a>() {
|
|
<a name="l00155"></a>00155
|
|
<a name="l00156"></a>00156 unpack( <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a> );
|
|
<a name="l00157"></a>00157 }
|
|
<a name="l00158"></a>00158
|
|
<a name="l00159"></a>00159
|
|
<a name="l00160"></a><a class="code" href="classpeoSyncMultiStart.html#a4d1c2943c290de540800087b54dc49b">00160</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#a4d1c2943c290de540800087b54dc49b">peoSyncMultiStart< EOT > :: execute</a>() {
|
|
<a name="l00161"></a>00161
|
|
<a name="l00162"></a>00162 <a class="code" href="classpeoSyncMultiStart.html#4d317966de767dcc87eee0286ea7f95d">ls</a>( <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a> );
|
|
<a name="l00163"></a>00163 }
|
|
<a name="l00164"></a>00164
|
|
<a name="l00165"></a>00165
|
|
<a name="l00166"></a><a class="code" href="classpeoSyncMultiStart.html#6c48eb0dae741cff7203b65e226f9616">00166</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#6c48eb0dae741cff7203b65e226f9616">peoSyncMultiStart< EOT > :: packResult</a>() {
|
|
<a name="l00167"></a>00167
|
|
<a name="l00168"></a>00168 pack( <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a> );
|
|
<a name="l00169"></a>00169 }
|
|
<a name="l00170"></a>00170
|
|
<a name="l00171"></a>00171
|
|
<a name="l00172"></a><a class="code" href="classpeoSyncMultiStart.html#c3cbd1f10a89d1915c5ccf82a2c34a1d">00172</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#c3cbd1f10a89d1915c5ccf82a2c34a1d">peoSyncMultiStart< EOT > :: unpackResult</a>() {
|
|
<a name="l00173"></a>00173
|
|
<a name="l00174"></a>00174 unpack( <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a> );
|
|
<a name="l00175"></a>00175 <a class="code" href="classpeoSyncMultiStart.html#ca10f6d258105e3c4f0d1660db5b7679">impr_sel</a>.push_back( <a class="code" href="classpeoSyncMultiStart.html#2c2ebe46470d1425f0409897deab435b">sol</a> );
|
|
<a name="l00176"></a>00176 <a class="code" href="classpeoSyncMultiStart.html#773eb9097550d9444f25ca8f48997a30">num_term</a>++;
|
|
<a name="l00177"></a>00177
|
|
<a name="l00178"></a>00178 <span class="keywordflow">if</span> ( <a class="code" href="classpeoSyncMultiStart.html#773eb9097550d9444f25ca8f48997a30">num_term</a> == <a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">sel</a>.size() ) {
|
|
<a name="l00179"></a>00179
|
|
<a name="l00180"></a>00180 <a class="code" href="classService.html#0dae00309c51a7b7069788142aed799f">getOwner</a>()-><a class="code" href="classThread.html#e197c46f8f62ecce6d2a7fe95bdc5b38">setActive</a>();
|
|
<a name="l00181"></a>00181 <a class="code" href="classpeoSyncMultiStart.html#a375ccea98e9bf2a0854dac27df4522f">replace</a>( <a class="code" href="classpeoSyncMultiStart.html#391178bd6b8a97a08ab4e345f070e967">pop</a>, <a class="code" href="classpeoSyncMultiStart.html#ca10f6d258105e3c4f0d1660db5b7679">impr_sel</a> );
|
|
<a name="l00182"></a>00182
|
|
<a name="l00183"></a>00183 printDebugMessage( <span class="stringliteral">"replacing the improved individuals in the population."</span> );
|
|
<a name="l00184"></a>00184 <a class="code" href="classCommunicable.html#3306a9adb11a0ab5af342c0db9f7bb2a">resume</a>();
|
|
<a name="l00185"></a>00185 }
|
|
<a name="l00186"></a>00186 }
|
|
<a name="l00187"></a>00187
|
|
<a name="l00188"></a>00188
|
|
<a name="l00189"></a><a class="code" href="classpeoSyncMultiStart.html#76385b33fe514f91cb83f0fbecbeb3c2">00189</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#76385b33fe514f91cb83f0fbecbeb3c2">peoSyncMultiStart< EOT > :: operator()</a>() {
|
|
<a name="l00190"></a>00190
|
|
<a name="l00191"></a>00191 printDebugMessage( <span class="stringliteral">"performing the parallel multi-start hybridization."</span> );
|
|
<a name="l00192"></a>00192 <a class="code" href="classpeoSyncMultiStart.html#8fc9a3d046023ddd077defec3c23ab3b">select</a>( <a class="code" href="classpeoSyncMultiStart.html#391178bd6b8a97a08ab4e345f070e967">pop</a>, <a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">sel</a> );
|
|
<a name="l00193"></a>00193 <a class="code" href="classpeoSyncMultiStart.html#ca10f6d258105e3c4f0d1660db5b7679">impr_sel</a>.clear();
|
|
<a name="l00194"></a>00194 <a class="code" href="classpeoSyncMultiStart.html#64191ef79b7b589964ac9c3e23ae6718">idx</a> = <a class="code" href="classpeoSyncMultiStart.html#773eb9097550d9444f25ca8f48997a30">num_term</a> = 0;
|
|
<a name="l00195"></a>00195 <a class="code" href="classService.html#7e2ae35a9070a05dcd46488df649896d">requestResourceRequest</a>( <a class="code" href="classpeoSyncMultiStart.html#dbcc1a069ec72ecd8d40c392640d84b3">sel</a>.size() );
|
|
<a name="l00196"></a>00196 <a class="code" href="classCommunicable.html#cb53e6534b947bc889aa181d9dbbd13b">stop</a>();
|
|
<a name="l00197"></a>00197 }
|
|
<a name="l00198"></a>00198
|
|
<a name="l00199"></a>00199
|
|
<a name="l00200"></a><a class="code" href="classpeoSyncMultiStart.html#32ec0d01d3fd8a9932abd68f4781fc94">00200</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#32ec0d01d3fd8a9932abd68f4781fc94">peoSyncMultiStart< EOT > :: notifySendingData</a>() {
|
|
<a name="l00201"></a>00201
|
|
<a name="l00202"></a>00202 }
|
|
<a name="l00203"></a>00203
|
|
<a name="l00204"></a>00204
|
|
<a name="l00205"></a><a class="code" href="classpeoSyncMultiStart.html#fc90282cc4e93cdea8f82fd52dd78fb0">00205</a> <span class="keyword">template</span>< <span class="keyword">class</span> EOT > <span class="keywordtype">void</span> <a class="code" href="classpeoSyncMultiStart.html#fc90282cc4e93cdea8f82fd52dd78fb0">peoSyncMultiStart< EOT > :: notifySendingAllResourceRequests</a>() {
|
|
<a name="l00206"></a>00206
|
|
<a name="l00207"></a>00207 <a class="code" href="classService.html#0dae00309c51a7b7069788142aed799f">getOwner</a>()-><a class="code" href="classThread.html#20632ffe9ddfa2a478afb0c84dc1096b">setPassive</a>();
|
|
<a name="l00208"></a>00208 }
|
|
<a name="l00209"></a>00209
|
|
<a name="l00210"></a>00210
|
|
<a name="l00211"></a>00211 <span class="preprocessor">#endif</span>
|
|
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Oct 8 11:16:46 2007 for ParadisEO-PEOMovingObjects by
|
|
<a href="http://www.doxygen.org/index.html">
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.7 </small></address>
|
|
</body>
|
|
</html>
|