📄 class_easylocal__tester.html
字号:
</tr>
<tr>
<td nowrap valign="top"><b>
void easylocal::Tester< Input, Output, State >::SetMoveTester<Input, Output, State> (
</b></td>
<td valign="bottom"><b>
<a class="el" href="class_easylocal__AbstractMoveTester.html">AbstractMoveTester</a>< Input, Output, State > * <em>p_amt</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
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 move tester as the passed parameter.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>p_amt</em>
</td><td>
a pointer to a move tester </td></tr>
<tr><td valign=top><em>i</em>
</td><td>
the position </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02339">2339</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a9" doxytag="easylocal::Tester::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::Tester< Input, Output, State >::SetRunner (
</b></td>
<td valign="bottom"><b>
<a class="el" href="class_easylocal__Runner.html">Runner</a>< Input, State > * <em>p_ru</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 attached to the tester to the one passed as parameter.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>p_ru</em>
</td><td>
a pointer to a compatible runner </td></tr>
<tr><td valign=top><em>i</em>
</td><td>
the position of the runner </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02501">2501</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a15" doxytag="easylocal::Tester::SetRunningParameters"></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::Tester< Input, Output, State >::SetRunningParameters (
</b></td>
<td valign="bottom"><b>
std::string <em>name</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
std::string <em>type</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="class_easylocal__ParameterBox.html">ParameterBox</a> & <em>pb</em> )<code> [virtual]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the parameters of the runner specified by name and type.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
</td><td>
the name of the runner </td></tr>
<tr><td valign=top><em>type</em>
</td><td>
the type of the runner </td></tr>
<tr><td valign=top><em>pb</em>
</td><td>
the parameterbox that contains the parameters to be passed </td></tr>
</table>
</dl>
<p>
Reimplemented from <a class="el" href="class_easylocal__AbstractTester.html#a8">easylocal::AbstractTester</a>.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02575">2575</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a11" doxytag="easylocal::Tester::SetSolver"></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::Tester< Input, Output, State >::SetSolver (
</b></td>
<td valign="bottom"><b>
<a class="el" href="class_easylocal__TokenRingSolver.html">TokenRingSolver</a>< Input, Output, State > * <em>p_so</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the token-ring solver associated to the tester.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>p_so</em>
</td><td>
a pointer to a compatible token-ring solver </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02461">2461</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a12" doxytag="easylocal::Tester::SetSolverParameters"></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::Tester< Input, Output, State >::SetSolverParameters (
</b></td>
<td valign="bottom"><b>
unsigned int <em>rounds</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned int <em>start_runner</em> = 0 )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the parameters of the token-ring solver associated to the tester.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>rounds</em>
</td><td>
the maximum number of non improving rounds </td></tr>
<tr><td valign=top><em>start_runner</em>
</td><td>
the runner used to start a round </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02477">2477</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="a7" doxytag="easylocal::Tester::SetStateTester"></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::Tester< Input, Output, State >::SetStateTester<Input, Output, State> (
</b></td>
<td valign="bottom"><b>
<a class="el" href="class_easylocal__StateTester.html">StateTester</a>< Input, Output, State > * <em>p_st</em> )
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the state tester as the passed parameter.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>p_st</em>
</td><td>
a pointer to a state tester </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02364">2364</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>. </td>
</tr>
</table>
<a name="b3" doxytag="easylocal::Tester::ShowDebuggingMenu"></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::Tester< Input, Output, State >::ShowDebuggingMenu (
</b></td>
<td valign="bottom"><b>
)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Outputs a debugging menu.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02713">2713</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>.
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l02746">ExecuteMainChoice</a>(). </td>
</tr>
</table>
<a name="b0" doxytag="easylocal::Tester::ShowMainMenu"></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::Tester< Input, Output, State >::ShowMainMenu (
</b></td>
<td valign="bottom"><b>
)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Outputs the main menu options.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02696">2696</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>.
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l02671">RunMainMenu</a>(). </td>
</tr>
</table>
<a name="b1" doxytag="easylocal::Tester::ShowMovesMenu"></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::Tester< Input, Output, State >::ShowMovesMenu (
</b></td>
<td valign="bottom"><b>
)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Outputs the menu for the move testers.
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l02783">2783</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>.
<p>
Referenced by <a class="el" href="EasyLocalTemplates_cpp-source.html#l02746">ExecuteMainChoice</a>(). </td>
</tr>
</table>
<a name="b2" doxytag="easylocal::Tester::ShowRunMenu"></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::Tester< Input, Output, State >::ShowRunMenu (
</b></td>
<td valign="bottom"><b>
)<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -