156 lines
12 KiB
TeX
156 lines
12 KiB
TeX
\hypertarget{classmo_t_s}{}\doxysection{mo\+TS$<$ Neighbor $>$ Class Template Reference}
|
|
\label{classmo_t_s}\index{moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+T\+S.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+TS$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_t_s__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+TS$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_t_s__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_t_s_a501bc63b72cb28c4d193269c423b2cdf}\label{classmo_t_s_a501bc63b72cb28c4d193269c423b2cdf}}
|
|
typedef \mbox{\hyperlink{classeo_bit}{Neighbor\+::\+E\+OT}} {\bfseries E\+OT}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_t_s_a2d0d32b4b9743214425751b21ee61a07}\label{classmo_t_s_a2d0d32b4b9743214425751b21ee61a07}}
|
|
typedef \mbox{\hyperlink{classmo_neighborhood}{mo\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries Neighborhood}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmo_t_s_a4139065d817892b16cb6c715e26a6bc3}{mo\+TS}} (\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&\+\_\+neighborhood, \mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+full\+Eval, \mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+eval, unsigned int \+\_\+time, unsigned int \+\_\+tabu\+List\+Size)
|
|
\item
|
|
\mbox{\hyperlink{classmo_t_s_addd14cad845f74cc6e8b4dd5aa727614}{mo\+TS}} (\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&\+\_\+neighborhood, \mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+full\+Eval, \mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+eval, unsigned int \+\_\+time, \mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+tabu\+List)
|
|
\item
|
|
\mbox{\hyperlink{classmo_t_s_a0f2fc0bb31db136e94ee56e549c3dd9d}{mo\+TS}} (\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&\+\_\+neighborhood, \mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+full\+Eval, \mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+eval, \mbox{\hyperlink{classmo_continuator}{mo\+Continuator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+cont, \mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+tabu\+List, \mbox{\hyperlink{classmo_aspiration}{mo\+Aspiration}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+aspiration)
|
|
\item
|
|
\mbox{\hyperlink{classmo_t_s_a7a6d671b75263aa84cf0e7108ea36027}{mo\+TS}} (\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&\+\_\+neighborhood, \mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+full\+Eval, \mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+eval, \mbox{\hyperlink{classmo_neighbor_comparator}{mo\+Neighbor\+Comparator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+neighbor\+Comp, \mbox{\hyperlink{classmo_sol_neighbor_comparator}{mo\+Sol\+Neighbor\+Comparator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+sol\+Neighbor\+Comp, \mbox{\hyperlink{classmo_continuator}{mo\+Continuator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+cont, \mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+tabu\+List, \mbox{\hyperlink{classmo_intensification}{mo\+Intensification}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+intensification, \mbox{\hyperlink{classmo_diversification}{mo\+Diversification}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+diversification, \mbox{\hyperlink{classmo_aspiration}{mo\+Aspiration}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+aspiration)
|
|
\item
|
|
\mbox{\Hypertarget{classmo_t_s_a82a257ab1ec152d3076d72b0df78c52d}\label{classmo_t_s_a82a257ab1ec152d3076d72b0df78c52d}}
|
|
\mbox{\hyperlink{classmo_t_sexplorer}{mo\+T\+Sexplorer}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \& {\bfseries get\+Explorer} ()
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Neighbor$>$\newline
|
|
class mo\+T\+S$<$ Neighbor $>$}
|
|
|
|
Tabu Search
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmo_t_s_a4139065d817892b16cb6c715e26a6bc3}\label{classmo_t_s_a4139065d817892b16cb6c715e26a6bc3}}
|
|
\index{moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}!moTS@{moTS}}
|
|
\index{moTS@{moTS}!moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moTS()}{moTS()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_t_s}{mo\+TS}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_t_s}{mo\+TS}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&}]{\+\_\+neighborhood, }\item[{\mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+full\+Eval, }\item[{\mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+eval, }\item[{unsigned int}]{\+\_\+time, }\item[{unsigned int}]{\+\_\+tabu\+List\+Size }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Basic constructor for a tabu search
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+neighborhood} & the neighborhood \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & the full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor\textquotesingle{}s evaluation function \\
|
|
\hline
|
|
{\em \+\_\+time} & the time limit for stopping criteria \\
|
|
\hline
|
|
{\em \+\_\+tabu\+List\+Size} & the size of the tabu list \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_t_s_addd14cad845f74cc6e8b4dd5aa727614}\label{classmo_t_s_addd14cad845f74cc6e8b4dd5aa727614}}
|
|
\index{moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}!moTS@{moTS}}
|
|
\index{moTS@{moTS}!moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moTS()}{moTS()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_t_s}{mo\+TS}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_t_s}{mo\+TS}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&}]{\+\_\+neighborhood, }\item[{\mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+full\+Eval, }\item[{\mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+eval, }\item[{unsigned int}]{\+\_\+time, }\item[{\mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+tabu\+List }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Simple constructor for a tabu search
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+neighborhood} & the neighborhood \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & the full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor\textquotesingle{}s evaluation function \\
|
|
\hline
|
|
{\em \+\_\+time} & the time limit for stopping criteria \\
|
|
\hline
|
|
{\em \+\_\+tabu\+List} & the tabu list \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_t_s_a0f2fc0bb31db136e94ee56e549c3dd9d}\label{classmo_t_s_a0f2fc0bb31db136e94ee56e549c3dd9d}}
|
|
\index{moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}!moTS@{moTS}}
|
|
\index{moTS@{moTS}!moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moTS()}{moTS()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_t_s}{mo\+TS}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_t_s}{mo\+TS}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&}]{\+\_\+neighborhood, }\item[{\mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+full\+Eval, }\item[{\mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+eval, }\item[{\mbox{\hyperlink{classmo_continuator}{mo\+Continuator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+cont, }\item[{\mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+tabu\+List, }\item[{\mbox{\hyperlink{classmo_aspiration}{mo\+Aspiration}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+aspiration }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
General constructor for a tabu search
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+neighborhood} & the neighborhood \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & the full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor\textquotesingle{}s evaluation function \\
|
|
\hline
|
|
{\em \+\_\+cont} & an external continuator \\
|
|
\hline
|
|
{\em \+\_\+tabu\+List} & the tabu list \\
|
|
\hline
|
|
{\em \+\_\+aspiration} & the aspiration Criteria \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_t_s_a7a6d671b75263aa84cf0e7108ea36027}\label{classmo_t_s_a7a6d671b75263aa84cf0e7108ea36027}}
|
|
\index{moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}!moTS@{moTS}}
|
|
\index{moTS@{moTS}!moTS$<$ Neighbor $>$@{moTS$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moTS()}{moTS()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_t_s}{mo\+TS}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_t_s}{mo\+TS}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_neighborhood}{Neighborhood}} \&}]{\+\_\+neighborhood, }\item[{\mbox{\hyperlink{classeo_eval_func}{eo\+Eval\+Func}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+full\+Eval, }\item[{\mbox{\hyperlink{classmo_eval}{mo\+Eval}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+eval, }\item[{\mbox{\hyperlink{classmo_neighbor_comparator}{mo\+Neighbor\+Comparator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+neighbor\+Comp, }\item[{\mbox{\hyperlink{classmo_sol_neighbor_comparator}{mo\+Sol\+Neighbor\+Comparator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+sol\+Neighbor\+Comp, }\item[{\mbox{\hyperlink{classmo_continuator}{mo\+Continuator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+cont, }\item[{\mbox{\hyperlink{classmo_tabu_list}{mo\+Tabu\+List}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+tabu\+List, }\item[{\mbox{\hyperlink{classmo_intensification}{mo\+Intensification}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+intensification, }\item[{\mbox{\hyperlink{classmo_diversification}{mo\+Diversification}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+diversification, }\item[{\mbox{\hyperlink{classmo_aspiration}{mo\+Aspiration}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+aspiration }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
General constructor for a tabu search
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+neighborhood} & the neighborhood \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & the full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor\textquotesingle{}s evaluation function \\
|
|
\hline
|
|
{\em \+\_\+neighbor\+Comp} & a comparator between 2 neighbors \\
|
|
\hline
|
|
{\em \+\_\+sol\+Neighbor\+Comp} & a solution vs neighbor comparator \\
|
|
\hline
|
|
{\em \+\_\+cont} & an external continuator \\
|
|
\hline
|
|
{\em \+\_\+tabu\+List} & the tabu list \\
|
|
\hline
|
|
{\em \+\_\+intensification} & the intensification strategy \\
|
|
\hline
|
|
{\em \+\_\+diversification} & the diversification strategy \\
|
|
\hline
|
|
{\em \+\_\+aspiration} & the aspiration Criteria \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/algo/mo\+T\+S.\+h\end{DoxyCompactItemize}
|