paradiseo/trunk/docs/html/classmo_l_s_check_point.html

147 lines
7.5 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: moLSCheckPoint&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>moLSCheckPoint&lt; M &gt; Class Template Reference</h1><!-- doxytag: class="moLSCheckPoint" -->Class which allows a checkpointing system.
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="mo_l_s_check_point_8h-source.html">moLSCheckPoint.h</a>&gt;</code>
<p>
<a href="classmo_l_s_check_point-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 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_l_s_check_point.html#2f9c1250279e3f49ec77a66c10029f1e">operator()</a> (const M &amp;__move, const typename M::EOType &amp;__sol)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Function which launches the checkpointing. <a href="#2f9c1250279e3f49ec77a66c10029f1e"></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_l_s_check_point.html#66be5fe2944bcdd752f1e58105e969a6">add</a> (eoBF&lt; const M &amp;, const typename M::EOType &amp;, void &gt; &amp;__f)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Procedure which add a new function to the function vector. <a href="#66be5fe2944bcdd752f1e58105e969a6"></a><br></td></tr>
<tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="ff2a31ee5689a804bd9a572c51a36ca4"></a><!-- doxytag: member="moLSCheckPoint::func" ref="ff2a31ee5689a804bd9a572c51a36ca4" args="" -->
std::vector&lt; eoBF&lt; const M &amp;,<br>
const typename M::EOType &amp;,<br>
void &gt; * &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classmo_l_s_check_point.html#ff2a31ee5689a804bd9a572c51a36ca4">func</a></td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">vector of function <br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class M&gt;<br>
class moLSCheckPoint&lt; M &gt;</h3>
Class which allows a checkpointing system.
<p>
Thanks to this class, at each iteration, additionnal function can be used (and not only one).
<p>
<p>
Definition at line <a class="el" href="mo_l_s_check_point_8h-source.html#l00021">21</a> of file <a class="el" href="mo_l_s_check_point_8h-source.html">moLSCheckPoint.h</a>.<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="2f9c1250279e3f49ec77a66c10029f1e"></a><!-- doxytag: member="moLSCheckPoint::operator()" ref="2f9c1250279e3f49ec77a66c10029f1e" args="(const M &amp;__move, const typename M::EOType &amp;__sol)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmo_l_s_check_point.html">moLSCheckPoint</a>&lt; M &gt;::operator() </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 typename M::EOType &amp;&nbsp;</td>
<td class="paramname"> <em>__sol</em></td><td>&nbsp;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Function which launches the checkpointing.
<p>
Each saved function is used on the current move and the current solution.<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 move. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>__sol</em>&nbsp;</td><td>a solution. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_l_s_check_point_8h-source.html#l00034">34</a> of file <a class="el" href="mo_l_s_check_point_8h-source.html">moLSCheckPoint.h</a>.
<p>
References <a class="el" href="mo_l_s_check_point_8h-source.html#l00062">moLSCheckPoint&lt; M &gt;::func</a>.
</div>
</div><p>
<a class="anchor" name="66be5fe2944bcdd752f1e58105e969a6"></a><!-- doxytag: member="moLSCheckPoint::add" ref="66be5fe2944bcdd752f1e58105e969a6" args="(eoBF&lt; const M &amp;, const typename M::EOType &amp;, void &gt; &amp;__f)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class M&gt; </div>
<table class="memname">
<tr>
<td class="memname">void <a class="el" href="classmo_l_s_check_point.html">moLSCheckPoint</a>&lt; M &gt;::add </td>
<td>(</td>
<td class="paramtype">eoBF&lt; const M &amp;, const typename M::EOType &amp;, void &gt; &amp;&nbsp;</td>
<td class="paramname"> <em>__f</em> </td>
<td>&nbsp;)&nbsp;</td>
<td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Procedure which add a new function to the function vector.
<p>
The new function is added at the end of the vector. <dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>__f</em>&nbsp;</td><td>a new function to add. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="mo_l_s_check_point_8h-source.html#l00049">49</a> of file <a class="el" href="mo_l_s_check_point_8h-source.html">moLSCheckPoint.h</a>.
<p>
References <a class="el" href="mo_l_s_check_point_8h-source.html#l00062">moLSCheckPoint&lt; M &gt;::func</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="mo_l_s_check_point_8h-source.html">moLSCheckPoint.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Tue Dec 12 14:28:37 2006 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>