|
Main Page Modules Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages
easylocal::ListItem Class Template Reference#include <EasyLocal.h>
List of all members. Public Methods
Protected Attributes
Friends
Detailed Description
template<class Move> class easylocal::ListItem
The class for a Move item in the Tabu List. It is simply a compound data made up of the Move itself and the iteration at which the element shall leave the list.
Definition at line 296 of file EasyLocal.h.
Constructor & Destructor Documentation
template<class Move> |
easylocal::ListItem<Move>::ListItem<Move> (
|
Move mv,
|
|
unsigned long out ) [inline]
|
|
|
Creates a tabu list item constituted by a move and the leaving iteration passed as parameters. -
Parameters:
-
mv
|
the move to insert into the list |
out
|
the iteration at which the move leaves the list. |
Definition at line 312 of file EasyLocal.h. |
Friends And Related Function Documentation
template<class Move> |
std::ostream& operator<< (
|
std::ostream & os,
|
|
const TabuListManager< Move > & tl ) [friend]
|
|
Member Data Documentation
template<class Move> |
Move easylocal::ListItem<Move>::elem [protected]
|
|
|
The move stored in the list item.
Definition at line 315 of file EasyLocal.h. |
template<class Move> |
unsigned long easylocal::ListItem<Move>::out_iter [protected]
|
|
|
iteration at which the element leaves the list
Definition at line 316 of file EasyLocal.h. |
The documentation for this class was generated from the following file:
|