📄 class_easylocal__runner.html
字号:
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Runner<Input, State>::SetCurrentState (
</b></td>
<td valign="bottom"><b>
const State & <em>s</em> )<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the internal state of the runner to be equal to the parameter. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>st</em>
</td><td>
the state to become the new internal state </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a3">easylocal::MoveRunner</a>. </td>
</tr>
</table>
<a name="a17" doxytag="easylocal::Runner::SetInput"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Runner<Input, State>::SetInput (
</b></td>
<td valign="bottom"><b>
Input * <em>in</em> )<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the internal input pointer to the new value passed as parameter. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>in</em>
</td><td>
the new input object </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a13">easylocal::MoveRunner</a>, and <a class="el" href="class_easylocal__TabuSearch.html#a2">easylocal::TabuSearch</a>. </td>
</tr>
</table>
<a name="a16" doxytag="easylocal::Runner::SetName"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Runner< Input, State >::SetName (
</b></td>
<td valign="bottom"><b>
std::string <em>s</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the name of the runner to the given parameter.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>s</em>
</td><td>
the name to give to the runner </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l00764">764</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a20" doxytag="easylocal::Runner::SetParameters"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Runner<Input, State>::SetParameters (
</b></td>
<td valign="bottom"><b>
const <a class="el" href="class_easylocal__ParameterBox.html">ParameterBox</a> & <em>pb</em> )<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the runner parameters, passed through a parameter box. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>pb</em>
</td><td>
the object containing the parameter setting for the runner </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a16">easylocal::MoveRunner</a>, <a class="el" href="class_easylocal__TabuSearch.html#a3">easylocal::TabuSearch</a>, and <a class="el" href="class_easylocal__SimulatedAnnealing.html#a1">easylocal::SimulatedAnnealing</a>. </td>
</tr>
</table>
<a name="a3" doxytag="easylocal::Runner::Step"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Runner<Input, State>::Step (
</b></td>
<td valign="bottom"><b>
unsigned int <em>n</em> )<code> [pure virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Performs a given number of steps of the search method. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>n</em>
</td><td>
the number of steps to make </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a2">easylocal::MoveRunner</a>. </td>
</tr>
</table>
<a name="a15" doxytag="easylocal::Runner::Type"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::string easylocal::Runner< Input, State >::Type (
</b></td>
<td valign="bottom"><b>
)
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Inspects the type of the runner.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
the type of the runner </dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l00755">755</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="n0" doxytag="easylocal::Runner::name"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::string easylocal::Runner<Input, State>::name<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The name of the runner.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00554">554</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>. </td>
</tr>
</table>
<a name="n1" doxytag="easylocal::Runner::type"></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 State> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::string easylocal::Runner<Input, State>::type<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
The type of the runner.
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00554">554</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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -