class_easylocal__abstractsolver.html

来自「一个tabu search算法框架」· HTML 代码 · 共 195 行

HTML
195
字号
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <title>EasyLocal++ Documentation</title>
  <link href="local.css" rel="stylesheet" type="text/css">
</head>

<body lang="en">

<table width="100%" border="0">
  <tbody>
    <tr>
      <td colspan="2"><h1 class="nojustify">EasyLocal++ Documentation</h1>
        <hr>
      </td>
    </tr>
    <tr>
      <td width="30" align="center">&nbsp;</td>
      <td>
<!-- Generated by Doxygen 1.2.5 on Sat Jun 9 18:59:20 2001 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>easylocal::AbstractSolver  Class Reference</h1><code>#include &lt;<a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>&gt;</code>
<p>
Inheritance diagram for easylocal::AbstractSolver<p><center><img src="class_easylocal__AbstractSolver_inherit_graph.gif" border="0" usemap="#easylocal::AbstractSolver_inherit_map" alt="Inheritance graph"></center>
<map name="easylocal::AbstractSolver_inherit_map">
<area href="class_easylocal__Solver.html" shape="rect" coords="229,66,333,85">
<area href="class_easylocal__LocalSearchSolver.html" shape="rect" coords="196,133,367,152">
<area href="class_easylocal__MultiRunnerSolver.html" shape="rect" coords="96,200,269,218">
<area href="class_easylocal__SimpleLocalSearch.html" shape="rect" coords="293,200,467,218">
<area href="class_easylocal__ComparativeSolver.html" shape="rect" coords="0,266,173,285">
<area href="class_easylocal__TokenRingSolver.html" shape="rect" coords="197,266,363,285">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="class_easylocal__AbstractSolver-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li>virtual <a class="el" href="class_easylocal__AbstractSolver.html#a0">~AbstractSolver</a> ()
<li>virtual void <a class="el" href="class_easylocal__AbstractSolver.html#a1">Solve</a> ()=0
<li>virtual void <a class="el" href="class_easylocal__AbstractSolver.html#a2">ReSolve</a> ()=0
<li>virtual void <a class="el" href="class_easylocal__AbstractSolver.html#a3">MultiStartSolve</a> (unsigned int n)=0
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An Abstract <a class="el" href="class_easylocal__Solver.html">Solver</a> is an abstract interface for the <a class="el" href="class_easylocal__Solver.html">Solver</a> concept. It simply defines the signature for them, independently of the problem definition classes. 
<p>

<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00781">781</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="a0" doxytag="easylocal::AbstractSolver::~AbstractSolver"></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> 
easylocal::AbstractSolver::~AbstractSolver (
          </b></td>
          <td valign="bottom"><b>
)<code> [inline, virtual]</code>
          </b></td>
        </tr>

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

<p>
Virtual destructor. 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00785">785</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="a3" doxytag="easylocal::AbstractSolver::MultiStartSolve"></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::AbstractSolver::MultiStartSolve (
          </b></td>
          <td valign="bottom"><b>
unsigned int <em>n</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>
Tries multiple runs on different initial states and records the best one. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>n</em>
&nbsp;</td><td>
 the number of trials </td></tr>
</table>
</dl>
<p>
Reimplemented in <a class="el" href="class_easylocal__LocalSearchSolver.html#a3">easylocal::LocalSearchSolver</a>.    </td>
  </tr>
</table>
<a name="a2" doxytag="easylocal::AbstractSolver::ReSolve"></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::AbstractSolver::ReSolve (
          </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>
Start again a solving procedure, running the attached runner from the current internal state. 
<p>
Reimplemented in <a class="el" href="class_easylocal__LocalSearchSolver.html#a2">easylocal::LocalSearchSolver</a>.    </td>
  </tr>
</table>
<a name="a1" doxytag="easylocal::AbstractSolver::Solve"></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::AbstractSolver::Solve (
          </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 solving procedure by finding an initial state,  running the attached runner and delivering the output. 
<p>
Reimplemented in <a class="el" href="class_easylocal__Solver.html#a0">easylocal::Solver</a>, and <a class="el" href="class_easylocal__LocalSearchSolver.html#a1">easylocal::LocalSearchSolver</a>.    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="EasyLocal_h-source.html">EasyLocal.h</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 + -
显示快捷键?