class_easylocal__multirunnersolver.html
来自「一个tabu search算法框架」· HTML 代码 · 共 415 行 · 第 1/2 页
HTML
415 行
<p>
Clears the vector of runners managed by the solver.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l01852">1852</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="b1" doxytag="easylocal::MultiRunnerSolver::NumberOfIterations"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Input, class Output, class State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
unsigned long easylocal::MultiRunnerSolver< Input, Output, State >::NumberOfIterations (
</b></td>
<td valign="bottom"><b>
) const<code> [protected, virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
In the case of multi-runner solvers, the number of iterations is the overall number of iterations performed by any runner.
<p>
Reimplemented from <a class="el" href="class_easylocal__LocalSearchSolver.html#b2">easylocal::LocalSearchSolver</a>.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l01807">1807</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a2" doxytag="easylocal::MultiRunnerSolver::SetRunner"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Input, class Output, class State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::MultiRunnerSolver< Input, Output, State >::SetRunner (
</b></td>
<td valign="bottom"><b>
<a class="el" href="class_easylocal__Runner.html">Runner</a>< Input, State > * <em>r</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned int <em>i</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the i-th runner managed by the solver to the passed parameter.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>r</em>
</td><td>
a pointer to a compatible runner </td></tr>
<tr><td valign=top><em>i</em>
</td><td>
the runner position to set with r </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l01833">1833</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n2" doxytag="easylocal::MultiRunnerSolver::runners"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Input, class Output, class State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::vector< <a class="el" href="class_easylocal__Runner.html">Runner</a>< Input, State > * > easylocal::MultiRunnerSolver<Input, Output, State>::runners<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The vector of the linked runners.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00902">902</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="n1" doxytag="easylocal::MultiRunnerSolver::start_runner"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Input, class Output, class State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
unsigned int easylocal::MultiRunnerSolver<Input, Output, State>::start_runner<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The index of the runner to start with.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00900">900</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="n0" doxytag="easylocal::MultiRunnerSolver::total_iterations"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td colspan="2"><b>
template<class Input, class Output, class State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
unsigned long easylocal::MultiRunnerSolver<Input, Output, State>::total_iterations<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The overall number of iterations performed by all the managed runners.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00897">897</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a><li><a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a></ul>
</td>
</tr>
<tr>
<td> </td>
<td><hr>
<span class="mark">Go to:</span> the <a href="index.html">Main Page</a> of the documentation.
</td>
</tr>
</tbody>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?