\section{TwoOptTabuList Class Reference}
\label{class_two_opt_tabu_list}\index{TwoOptTabuList@{TwoOptTabuList}}
The table of tabu movements, i.e.  


{\tt \#include $<$two\_\-opt\_\-tabu\_\-list.h$>$}

Inheritance diagram for TwoOptTabuList::\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2cm]{class_two_opt_tabu_list}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{CompactItemize}
\item 
bool {\bf operator()} (const {\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-sol)\label{class_two_opt_tabu_list_94eb6bced415ff97cec89107cc6eebab}

\item 
void {\bf add} (const {\bf TwoOpt} \&\_\-\_\-move, const Route \&\_\-\_\-sol)\label{class_two_opt_tabu_list_10436d67bef09f5893df2d85549d1dbd}

\item 
void {\bf update} ()
\begin{CompactList}\small\item\em Procedure that updates the tabu list content. \item\end{CompactList}\item 
void {\bf init} ()
\begin{CompactList}\small\item\em Procedure which initialises the tabu list. \item\end{CompactList}\end{CompactItemize}
\subsection*{Private Attributes}
\begin{CompactItemize}
\item 
std::vector$<$ std::vector$<$ unsigned $>$ $>$ {\bf tabu\_\-span}\label{class_two_opt_tabu_list_cbcdf3b501f624a14f3c767652609382}

\end{CompactItemize}


\subsection{Detailed Description}
The table of tabu movements, i.e. 

forbidden edges 



Definition at line 20 of file two\_\-opt\_\-tabu\_\-list.h.

\subsection{Member Function Documentation}
\index{TwoOptTabuList@{TwoOptTabuList}!update@{update}}
\index{update@{update}!TwoOptTabuList@{TwoOptTabuList}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TwoOptTabuList::update ()\hspace{0.3cm}{\tt  [virtual]}}\label{class_two_opt_tabu_list_c460034b7debe7198c6df046855155da}


Procedure that updates the tabu list content. 

Generally, a counter associated to each saved move is decreased by one. 

Implements {\bf moTabuList$<$ TwoOpt $>$} \doxyref{}{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}.

Definition at line 46 of file two\_\-opt\_\-tabu\_\-list.cpp.

References tabu\_\-span.\index{TwoOptTabuList@{TwoOptTabuList}!init@{init}}
\index{init@{init}!TwoOptTabuList@{TwoOptTabuList}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void TwoOptTabuList::init ()\hspace{0.3cm}{\tt  [virtual]}}\label{class_two_opt_tabu_list_2d3101e6045700b0e32f5e82672a175e}


Procedure which initialises the tabu list. 

Can be useful if the data structure needs to be allocated before being used. 

Implements {\bf moTabuList$<$ TwoOpt $>$} \doxyref{}{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}.

Definition at line 17 of file two\_\-opt\_\-tabu\_\-list.cpp.

References Graph::size(), and tabu\_\-span.

The documentation for this class was generated from the following files:\begin{CompactItemize}
\item 
two\_\-opt\_\-tabu\_\-list.h\item 
two\_\-opt\_\-tabu\_\-list.cpp\end{CompactItemize}
