📄 class_easylocal__listitem.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"> </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> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="namespaces.html">Namespace List</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="classes.html">Alphabetical List</a> <a class="qindex" href="annotated.html">Compound List</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="namespacemembers.html">Namespace Members</a> <a class="qindex" href="functions.html">Compound Members</a> <a class="qindex" href="globals.html">File Members</a> <a class="qindex" href="pages.html">Related Pages</a> </center>
<hr><h1>easylocal::ListItem Class Template Reference</h1><code>#include <<a class="el" href="EasyLocal_h-source.html">EasyLocal.h</a>></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< Move ></b>
<li>std::ostream& <a class="el" href="class_easylocal__ListItem.html#l1">operator<<</a> (std::ostream &, const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>< Move > &)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<class Move> 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 & 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<class Move> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
easylocal::ListItem<Move>::ListItem<Move> (
</b></td>
<td valign="bottom"><b>
Move <em>mv</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
unsigned long <em>out</em> )<code> [inline]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</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>
</td><td>
the move to insert into the list </td></tr>
<tr><td valign=top><em>out</em>
</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<class Move> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
std::ostream& operator<< (
</b></td>
<td valign="bottom"><b>
std::ostream & <em>os</em>,
</b></td>
</tr>
<tr>
<td></td>
<td><b>
const <a class="el" href="class_easylocal__TabuListManager.html">TabuListManager</a>< Move > & <em>tl</em> )<code> [friend]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</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<class Move> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
Move easylocal::ListItem<Move>::elem<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</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<class Move> </b></td>
</tr>
<tr>
<td nowrap valign="top"><b>
unsigned long easylocal::ListItem<Move>::out_iter<code> [protected]</code>
</b></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</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> </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 + -