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

📄 class_easylocal__listitem.html

📁 一个tabu search算法框架
💻 HTML
字号:
<!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:24 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::ListItem  Class Template Reference</h1><code>#include &lt;<a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>&gt;</code>
<p>
<a href="class_easylocal__ListItem-members.html">List of all members.</a><h2>Public Methods</h2>
<ul>
<li><a class="el" href="class_easylocal__ListItem.html#a0">ListItem</a> (Move mv, unsigned long out)
</ul>
<h2>Protected Attributes</h2>
<ul>
<li>Move <a class="el" href="class_easylocal__ListItem.html#n0">elem</a>
<li>unsigned long <a class="el" href="class_easylocal__ListItem.html#n1">out_iter</a>
</ul>
<h2>Friends</h2>
<ul>
<li>class <b>TabuListManager&lt; Move &gt;</b>
<li>std::ostream&amp; <a class="el" href="class_easylocal__ListItem.html#l1">operator&lt;&lt;</a> (std::ostream &amp;, const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>&lt; Move &gt; &amp;)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;class Move&gt;  class easylocal::ListItem</h3>

The class for a <code>Move</code> item in the Tabu List. It is simply a compound data made up of the <code>Move</code> itself and the  iteration at which the element shall leave the list. 
<p>

<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00296">296</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::ListItem::ListItem"></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 Move&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
easylocal::ListItem&lt;Move&gt;::ListItem&lt;Move&gt; (
          </b></td>
          <td valign="bottom"><b>
Move <em>mv</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
unsigned long <em>out</em>&nbsp;)<code> [inline]</code>
          </b></td>
        </tr>

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

<p>
Creates a tabu list item constituted by a move  and the leaving iteration passed as parameters. <dl compact><dt>
<b>Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>mv</em>
&nbsp;</td><td>
 the move to insert into the list </td></tr>
<tr><td valign=top><em>out</em>
&nbsp;</td><td>
 the iteration at which the move leaves the list. </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00312">312</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<hr><h2>Friends And Related Function Documentation</h2>
<a name="l1" doxytag="easylocal::ListItem::operator<<"></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 Move&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
std::ostream&amp; operator&lt;&lt; (
          </b></td>
          <td valign="bottom"><b>
std::ostream &amp; <em>os</em>, 
          </b></td>
        </tr>
        <tr>
          <td></td>
          <td><b>
const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>&lt; Move &gt; &amp; <em>tl</em>&nbsp;)<code> [friend]</code>
          </b></td>
        </tr>

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

<p>
Prints out the current status of the Tabu List Manager. 
<p>
Definition at line <a class="el" href="EasyLocalTemplates_cpp-source.html#l00317">317</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::ListItem::elem"></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 Move&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
Move easylocal::ListItem&lt;Move&gt;::elem<code> [protected]</code>
          </b></td>
        </tr>

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

<p>
The move stored in the list item. 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00315">315</a> of file <a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>.    </td>
  </tr>
</table>
<a name="n1" doxytag="easylocal::ListItem::out_iter"></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 Move&gt;           </b></td>
        </tr>
        <tr>
          <td nowrap valign="top"><b> 
unsigned long easylocal::ListItem&lt;Move&gt;::out_iter<code> [protected]</code>
          </b></td>
        </tr>

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

<p>
iteration at which the element  leaves the list 
<p>
Definition at line <a class="el" href="EasyLocal_h-source.html#l00316">316</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 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -