class_easylocal__abstracttester.html

来自「一个tabu search算法框架」· HTML 代码 · 共 539 行 · 第 1/2 页

HTML
539
字号
    </td>
    <td>

<p>
Sets the prefix for the plot file. If plotting is required, the tester will write it on a set of files whose name starts with the given prefix.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>s</em>
&nbsp;</td><td>
 the prefix to be used </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00094">94</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>.    </td>
  </tr>
</table>
<a name="a8" doxytag="easylocal::AbstractTester::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 nowrap valign="top"><b> 
void easylocal::AbstractTester::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> &amp; <em>pb</em>&nbsp;)<code> [pure virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the parameter of the runner specified by the pair (name, type). They will be passed as a parameter box that contains them. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>name</em>
&nbsp;</td><td>
 the name of the runner to set </td></tr>
<tr><td valign=top><em>type</em>
&nbsp;</td><td>
 the type of the runner to set </td></tr>
<tr><td valign=top><em>pb</em>
&nbsp;</td><td>
 a parameter box containing the parameters to set </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__Tester.html#a15">easylocal::Tester</a>.    </td>
  </tr>
</table>
<a name="a3" doxytag="easylocal::AbstractTester::SetSolverTrials"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void easylocal::AbstractTester::SetSolverTrials (
          </b></td>
          <td valign="bottom"><b>
unsigned int <em>t</em>&nbsp;)
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Sets the number of experiments the solver shall perform.<dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>t</em>
&nbsp;</td><td>
 the number of trials </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_cpp-source.html#l00066">66</a> of file <a class="el" href="EasyLocal_cpp-source.html">EasyLocal.cpp</a>.    </td>
  </tr>
</table>
<a name="a7" doxytag="easylocal::AbstractTester::StartSolver"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
void easylocal::AbstractTester::StartSolver (
          </b></td>
          <td valign="bottom"><b>
)<code> [pure virtual]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Starts the solving procedure and collects the results. 
<p>
Reimplemented in <a class="el" href="class_easylocal__Tester.html#a16">easylocal::Tester</a>.    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="n1" doxytag="easylocal::AbstractTester::logstream"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
std::ostream * easylocal::AbstractTester::logstream<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
An output stream where to write running information. 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l01070">1070</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<a name="n2" doxytag="easylocal::AbstractTester::output_file_prefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
std::string easylocal::AbstractTester::output_file_prefix<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The file prefix to be used for  writing the outcome of each trial. 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l01071">1071</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<a name="n3" doxytag="easylocal::AbstractTester::plot_file_prefix"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
std::string easylocal::AbstractTester::plot_file_prefix<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
The prefix to be used for writing the progress of each run in a plot file. 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l01073">1073</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<a name="n0" doxytag="easylocal::AbstractTester::trials"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td nowrap valign="top"><b> 
unsigned int easylocal::AbstractTester::trials<code> [protected]</code>
          </b></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Number of trials the solver will be run 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l01069">1069</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="EasyLocal_cpp-source.html">EasyLocal.cpp</a></ul>
      </td>
    </tr>
    <tr>
      <td>&nbsp;</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 + -
显示快捷键?