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

This commit is contained in:
legrand 2007-07-05 11:42:47 +00:00
commit f2bd57d995
143 changed files with 551 additions and 407 deletions

View file

@ -53,17 +53,17 @@
<a name="l00029"></a>00029
<a name="l00030"></a>00030
<a name="l00032"></a>00032
<a name="l00114"></a><a class="code" href="classpeoSyncIslandMig.html">00114</a> <span class="keyword">template</span>&lt; <span class="keyword">class</span> EOT &gt; <span class="keyword">class </span><a class="code" href="classpeoSyncIslandMig.html">peoSyncIslandMig</a> : <span class="keyword">public</span> <a class="code" href="classCooperative.html">Cooperative</a>, <span class="keyword">public</span> eoUpdater {
<a name="l00114"></a><a class="code" href="classpeoSyncIslandMig.html">00114</a> <span class="keyword">template</span>&lt; <span class="keyword">class</span> EOT &gt; <span class="keyword">class </span><a class="code" href="classpeoSyncIslandMig.html">peoSyncIslandMig</a> : <span class="keyword">public</span> <a class="code" href="classCooperative.html">Cooperative</a>, <span class="keyword">public</span> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_updater.html">eoUpdater</a> {
<a name="l00115"></a>00115
<a name="l00116"></a>00116 <span class="keyword">public</span>:
<a name="l00117"></a>00117
<a name="l00127"></a>00127 <a class="code" href="classpeoSyncIslandMig.html#96b7b6de20b5e318a8b1cde76842305c">peoSyncIslandMig</a>(
<a name="l00128"></a>00128 <span class="keywordtype">unsigned</span> __frequency,
<a name="l00129"></a>00129 eoSelect&lt; EOT &gt;&amp; __select,
<a name="l00130"></a>00130 eoReplacement&lt; EOT &gt;&amp; __replace,
<a name="l00129"></a>00129 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_select.html">eoSelect&lt; EOT &gt;</a>&amp; __select,
<a name="l00130"></a>00130 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_replacement.html">eoReplacement&lt; EOT &gt;</a>&amp; __replace,
<a name="l00131"></a>00131 <a class="code" href="classTopology.html">Topology</a>&amp; __topology,
<a name="l00132"></a>00132 eoPop&lt; EOT &gt;&amp; __source,
<a name="l00133"></a>00133 eoPop&lt; EOT &gt;&amp; __destination
<a name="l00132"></a>00132 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; __source,
<a name="l00133"></a>00133 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; __destination
<a name="l00134"></a>00134 );
<a name="l00135"></a>00135
<a name="l00140"></a>00140 <span class="keywordtype">void</span> <a class="code" href="classpeoSyncIslandMig.html#178476fd276f78b73607b33d19522c36">operator()</a>();
@ -82,14 +82,14 @@
<a name="l00156"></a>00156
<a name="l00157"></a>00157 <span class="keyword">private</span>:
<a name="l00158"></a>00158
<a name="l00159"></a><a class="code" href="classpeoSyncIslandMig.html#2d8ae9104376f3e073e0b250d9b425a2">00159</a> eoPeriodicContinue&lt; EOT &gt; <a class="code" href="classpeoSyncIslandMig.html#2d8ae9104376f3e073e0b250d9b425a2">cont</a>;
<a name="l00160"></a><a class="code" href="classpeoSyncIslandMig.html#5e9c9f5f65d6418ad46e647ee1804a3d">00160</a> eoSelect&lt; EOT &gt;&amp; <a class="code" href="classpeoSyncIslandMig.html#5e9c9f5f65d6418ad46e647ee1804a3d">select</a>; <span class="comment">// selection strategy</span>
<a name="l00161"></a><a class="code" href="classpeoSyncIslandMig.html#cb6d2d909503a86415912900d6e1d891">00161</a> eoReplacement&lt; EOT &gt;&amp; <a class="code" href="classpeoSyncIslandMig.html#cb6d2d909503a86415912900d6e1d891">replace</a>; <span class="comment">// replacement strategy</span>
<a name="l00159"></a><a class="code" href="classpeoSyncIslandMig.html#2d8ae9104376f3e073e0b250d9b425a2">00159</a> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_periodic_continue.html">eoPeriodicContinue&lt; EOT &gt;</a> <a class="code" href="classpeoSyncIslandMig.html#2d8ae9104376f3e073e0b250d9b425a2">cont</a>;
<a name="l00160"></a><a class="code" href="classpeoSyncIslandMig.html#5e9c9f5f65d6418ad46e647ee1804a3d">00160</a> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_select.html">eoSelect&lt; EOT &gt;</a>&amp; <a class="code" href="classpeoSyncIslandMig.html#5e9c9f5f65d6418ad46e647ee1804a3d">select</a>; <span class="comment">// selection strategy</span>
<a name="l00161"></a><a class="code" href="classpeoSyncIslandMig.html#cb6d2d909503a86415912900d6e1d891">00161</a> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_replacement.html">eoReplacement&lt; EOT &gt;</a>&amp; <a class="code" href="classpeoSyncIslandMig.html#cb6d2d909503a86415912900d6e1d891">replace</a>; <span class="comment">// replacement strategy</span>
<a name="l00162"></a><a class="code" href="classpeoSyncIslandMig.html#ebfe6edb6be16d46bf6d71cb233fcace">00162</a> <a class="code" href="classTopology.html">Topology</a>&amp; <a class="code" href="classpeoSyncIslandMig.html#ebfe6edb6be16d46bf6d71cb233fcace">topology</a>; <span class="comment">// neighboring topology</span>
<a name="l00163"></a>00163
<a name="l00164"></a>00164 <span class="comment">// source and target populations</span>
<a name="l00165"></a><a class="code" href="classpeoSyncIslandMig.html#33fde1f09faf2a3f772d8b8f6a2615c6">00165</a> eoPop&lt; EOT &gt;&amp; <a class="code" href="classpeoSyncIslandMig.html#33fde1f09faf2a3f772d8b8f6a2615c6">source</a>;
<a name="l00166"></a><a class="code" href="classpeoSyncIslandMig.html#a9bf4612c7c04da6cf69245c6617e6a6">00166</a> eoPop&lt; EOT &gt;&amp; <a class="code" href="classpeoSyncIslandMig.html#a9bf4612c7c04da6cf69245c6617e6a6">destination</a>;
<a name="l00165"></a><a class="code" href="classpeoSyncIslandMig.html#33fde1f09faf2a3f772d8b8f6a2615c6">00165</a> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; <a class="code" href="classpeoSyncIslandMig.html#33fde1f09faf2a3f772d8b8f6a2615c6">source</a>;
<a name="l00166"></a><a class="code" href="classpeoSyncIslandMig.html#a9bf4612c7c04da6cf69245c6617e6a6">00166</a> <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; <a class="code" href="classpeoSyncIslandMig.html#a9bf4612c7c04da6cf69245c6617e6a6">destination</a>;
<a name="l00167"></a>00167
<a name="l00168"></a>00168 <span class="comment">// immigrants &amp; emigrants in the queue</span>
<a name="l00169"></a><a class="code" href="classpeoSyncIslandMig.html#088c1623f32668dcd3683fceff9426c3">00169</a> std :: queue&lt; eoPop&lt; EOT &gt; &gt; <a class="code" href="classpeoSyncIslandMig.html#088c1623f32668dcd3683fceff9426c3">imm</a>;
@ -104,11 +104,11 @@
<a name="l00178"></a><a class="code" href="classpeoSyncIslandMig.html#96b7b6de20b5e318a8b1cde76842305c">00178</a> <span class="keyword">template</span>&lt; <span class="keyword">class</span> EOT &gt; <a class="code" href="classpeoSyncIslandMig.html#96b7b6de20b5e318a8b1cde76842305c">peoSyncIslandMig&lt; EOT &gt; :: peoSyncIslandMig</a>(
<a name="l00179"></a>00179
<a name="l00180"></a>00180 <span class="keywordtype">unsigned</span> __frequency,
<a name="l00181"></a>00181 eoSelect&lt; EOT &gt;&amp; __select,
<a name="l00182"></a>00182 eoReplacement&lt; EOT &gt;&amp; __replace,
<a name="l00181"></a>00181 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_select.html">eoSelect&lt; EOT &gt;</a>&amp; __select,
<a name="l00182"></a>00182 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_replacement.html">eoReplacement&lt; EOT &gt;</a>&amp; __replace,
<a name="l00183"></a>00183 <a class="code" href="classTopology.html">Topology</a>&amp; __topology,
<a name="l00184"></a>00184 eoPop&lt; EOT &gt;&amp; __source,
<a name="l00185"></a>00185 eoPop&lt; EOT &gt;&amp; __destination
<a name="l00184"></a>00184 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; __source,
<a name="l00185"></a>00185 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a>&amp; __destination
<a name="l00186"></a>00186
<a name="l00187"></a>00187 ) : cont( __frequency ), select( __select ), replace( __replace ), topology( __topology ), source( __source ), destination( __destination )
<a name="l00188"></a>00188 {
@ -135,7 +135,7 @@
<a name="l00209"></a>00209
<a name="l00210"></a>00210 <a class="code" href="classCommunicable.html#e1f8bd1ee810fd73d44315c95998d19d">lock</a>(); {
<a name="l00211"></a>00211
<a name="l00212"></a>00212 eoPop&lt; EOT &gt; mig;<a class="code" href="classpeoSyncIslandMig.html#85777bd9f709c5d4107799e8619948d1"></a>
<a name="l00212"></a>00212 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a> mig;<a class="code" href="classpeoSyncIslandMig.html#85777bd9f709c5d4107799e8619948d1"></a>
<a name="l00213"></a>00213 <a class="code" href="classpeoSyncIslandMig.html#85777bd9f709c5d4107799e8619948d1"> :: unpack</a>( mig );
<a name="l00214"></a>00214 <a class="code" href="classpeoSyncIslandMig.html#088c1623f32668dcd3683fceff9426c3">imm</a>.push( mig );
<a name="l00215"></a>00215 }
@ -152,7 +152,7 @@
<a name="l00226"></a>00226
<a name="l00227"></a>00227 <span class="keywordflow">for</span> ( <span class="keywordtype">unsigned</span> i = 0; i &lt; out.size(); i ++ ) {
<a name="l00228"></a>00228
<a name="l00229"></a>00229 eoPop&lt; EOT &gt; mig;
<a name="l00229"></a>00229 <a class="codeRef" doxygen="eo.doxytag:../../../paradiseo-eo/doc/html/" href="../../../paradiseo-eo/doc/html/classeo_pop.html">eoPop&lt; EOT &gt;</a> mig;
<a name="l00230"></a>00230 <a class="code" href="classpeoSyncIslandMig.html#5e9c9f5f65d6418ad46e647ee1804a3d">select</a>( <a class="code" href="classpeoSyncIslandMig.html#33fde1f09faf2a3f772d8b8f6a2615c6">source</a>, mig );
<a name="l00231"></a>00231 <a class="code" href="classpeoSyncIslandMig.html#11d6dd3e4a6db710433f501af0988322">em</a>.push( mig );
<a name="l00232"></a>00232 <a class="code" href="classpeoSyncIslandMig.html#2f7ca18d67ab7fb47a9851ab3179eb7d">coop_em</a>.push( out[ i ] );
@ -210,7 +210,7 @@
<a name="l00284"></a>00284
<a name="l00285"></a>00285
<a name="l00286"></a>00286 <span class="preprocessor">#endif</span>
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jun 28 15:51:15 2007 for ParadisEO-PEO by&nbsp;
</pre></div><hr size="1"><address style="align: right;"><small>Generated on Thu Jul 5 13:41:04 2007 for ParadisEO-PEO by&nbsp;
<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>