⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 class_easylocal__runner.html

📁 一个tabu search算法框架
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Gets the best state found by the runner. <dl compact><dt>
<b>Returns: </b><dd>
 the best state found by the runner </dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a6">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a6" doxytag="easylocal::Runner::GetCurrentState"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
State easylocal::Runner&lt;Input, State&gt;::GetCurrentState (
          </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>
Gets the internal state of the runner.  <dl compact><dt>
<b>Returns: </b><dd>
 the current state of the runner </dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a4">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a18" doxytag="easylocal::Runner::GetInput"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
Input * easylocal::Runner&lt;Input, State&gt;::GetInput (
          </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>
Returns the input pointer which the object is attached to. <dl compact><dt>
<b>Returns: </b><dd>
 the pointer to the input object </dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a14">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="easylocal::Runner::Go"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
void easylocal::Runner&lt;Input, State&gt;::Go (
          </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>
Performs a full run of the search method. 
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a1">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a11" doxytag="easylocal::Runner::LowerBoundReached"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
bool easylocal::Runner&lt;Input, State&gt;::LowerBoundReached (
          </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>
Checks whether the lower bound of the cost function has been reached. <dl compact><dt>
<b>Returns: </b><dd>
 true if the lower bound of the cost function has reached, false otherwise </dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a9">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a14" 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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
std::string easylocal::Runner&lt; Input, State &gt;::Name (
          </b></td>
          <td valign="bottom"><b>
)
          </b></td>
        </tr>

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

<p>
Inspects the name of the runner.
<p>
<dl compact><dt>
<b>Returns: </b><dd>
 the name of the runner </dl>
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l00746">746</a> of file <a class="el" href="EasyLocalTemplates_cpp-source.html">EasyLocalTemplates.cpp</a>.    </td>
  </tr>
</table>
<a name="a12" doxytag="easylocal::Runner::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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
unsigned long easylocal::Runner&lt;Input, State&gt;::NumberOfIterations (
          </b></td>
          <td valign="bottom"><b>
) const<code> [pure virtual]</code>
          </b></td>
        </tr>

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

<p>
Gets the number of iterations performed by the runner. <dl compact><dt>
<b>Returns: </b><dd>
 the number of iterations performed </dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a10">easylocal::MoveRunner</a>.    </td>
  </tr>
</table>
<a name="a4" doxytag="easylocal::Runner::Print"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
void easylocal::Runner&lt;Input, State&gt;::Print (
          </b></td>
          <td valign="bottom"><b>
std::ostream &amp; <em>os</em> = std::cout&nbsp;) const<code> [pure virtual]</code>
          </b></td>
        </tr>

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

<p>
Outputs some informations about the runner on a given output stream (cout for default). <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>os</em>
&nbsp;</td><td>
 the output stream </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__MoveRunner.html#a15">easylocal::MoveRunner</a>, <a class="el" href="class_easylocal__SteepestDescent.html#a0">easylocal::SteepestDescent</a>, <a class="el" href="class_easylocal__HillClimbing.html#a0">easylocal::HillClimbing</a>, <a class="el" href="class_easylocal__TabuSearch.html#a1">easylocal::TabuSearch</a>, and <a class="el" href="class_easylocal__SimulatedAnnealing.html#a2">easylocal::SimulatedAnnealing</a>.    </td>
  </tr>
</table>
<a name="a13" doxytag="easylocal::Runner::ReadParameters"></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&lt;class Input, class State&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
void easylocal::Runner&lt;Input, State&gt;::ReadParameters (
          </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>
Reads runner parameters from the standard input and it sets them. 
<p>
Reimplemented in <a class="el" href="class_easylocal__SteepestDescent.html#a1">easylocal::SteepestDescent</a>, <a class="el" href="class_easylocal__HillClimbing.html#a1">easylocal::HillClimbing</a>, <a class="el" href="class_easylocal__TabuSearch.html#a0">easylocal::TabuSearch</a>, and <a class="el" href="class_easylocal__SimulatedAnnealing.html#a0">easylocal::SimulatedAnnealing</a>.    </td>
  </tr>
</table>
<a name="a5" doxytag="easylocal::Runner::SetCurrentState"></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&lt;class Input, class State&gt;           </b></td>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -