123 lines
8.6 KiB
TeX
123 lines
8.6 KiB
TeX
\hypertarget{classmo_adaptive_walk_sampling}{}\doxysection{mo\+Adaptive\+Walk\+Sampling$<$ Neighbor $>$ Class Template Reference}
|
|
\label{classmo_adaptive_walk_sampling}\index{moAdaptiveWalkSampling$<$ Neighbor $>$@{moAdaptiveWalkSampling$<$ Neighbor $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+Adaptive\+Walk\+Sampling.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+Adaptive\+Walk\+Sampling$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=226pt]{classmo_adaptive_walk_sampling__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+Adaptive\+Walk\+Sampling$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_adaptive_walk_sampling__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_ac231bd1a28001115bdff84bb86dff528}\label{classmo_adaptive_walk_sampling_ac231bd1a28001115bdff84bb86dff528}}
|
|
typedef \mbox{\hyperlink{classeo_bit}{Neighbor\+::\+E\+OT}} {\bfseries E\+OT}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmo_adaptive_walk_sampling_a1fa24455c2c11e3bd817358a838be3d8}{mo\+Adaptive\+Walk\+Sampling}} (\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+init, \mbox{\hyperlink{classmo_neighborhood}{mo\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&\+\_\+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 \+\_\+nb\+Adapt\+Walk)
|
|
\item
|
|
\mbox{\hyperlink{classmo_adaptive_walk_sampling_aab8e15986ac6517e7807ae9ef7f9e9a5}{$\sim$mo\+Adaptive\+Walk\+Sampling}} ()
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Protected Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a69f5e879891af4902401d6038b32bcfd}\label{classmo_adaptive_walk_sampling_a69f5e879891af4902401d6038b32bcfd}}
|
|
\mbox{\hyperlink{classmo_eval_counter}{mo\+Eval\+Counter}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries neighbor\+Eval\+Count}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_afc737b4f7eb820e6e207fc008b21938e}\label{classmo_adaptive_walk_sampling_afc737b4f7eb820e6e207fc008b21938e}}
|
|
\mbox{\hyperlink{classmo_value_stat}{mo\+Value\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}}, unsigned long $>$ {\bfseries n\+Eval\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a079299233efe51059f18ef6811fe9661}\label{classmo_adaptive_walk_sampling_a079299233efe51059f18ef6811fe9661}}
|
|
\mbox{\hyperlink{classmo_stat_from_stat}{mo\+Stat\+From\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}}, double $>$ {\bfseries copy\+Eval\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a8a544f2ea3f3a832799e5f4b2c8db614}\label{classmo_adaptive_walk_sampling_a8a544f2ea3f3a832799e5f4b2c8db614}}
|
|
\mbox{\hyperlink{classmo_solution_stat}{mo\+Solution\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries sol\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_ad8155594d87ed4ddf1463c088ec5c7ef}\label{classmo_adaptive_walk_sampling_ad8155594d87ed4ddf1463c088ec5c7ef}}
|
|
\mbox{\hyperlink{classmo_minus_one_counter_stat}{mo\+Minus\+One\+Counter\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries length\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_ab779ab780264022c89aa16171d7279da}\label{classmo_adaptive_walk_sampling_ab779ab780264022c89aa16171d7279da}}
|
|
\mbox{\hyperlink{classmo_true_continuator}{mo\+True\+Continuator}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries true\+Cont}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a6995e39a0a590db8d48069958be31f00}\label{classmo_adaptive_walk_sampling_a6995e39a0a590db8d48069958be31f00}}
|
|
\mbox{\hyperlink{classmo_stat_from_stat}{mo\+Stat\+From\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}}, unsigned int $>$ {\bfseries copy\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_ae8f63d395f7f4055c27fe2d0233988fd}\label{classmo_adaptive_walk_sampling_ae8f63d395f7f4055c27fe2d0233988fd}}
|
|
\mbox{\hyperlink{classmo_checkpoint}{mo\+Checkpoint}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries checkpoint}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a214d6cfeedcfc6fcb43c4ed1994fd205}\label{classmo_adaptive_walk_sampling_a214d6cfeedcfc6fcb43c4ed1994fd205}}
|
|
\mbox{\hyperlink{classmo_first_impr_h_c}{mo\+First\+Impr\+HC}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries hc}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a7c240a76cdaac902383e823e092cce52}\label{classmo_adaptive_walk_sampling_a7c240a76cdaac902383e823e092cce52}}
|
|
\mbox{\hyperlink{classmo_local_search_init}{mo\+Local\+Search\+Init}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries init\+HC}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Neighbor$>$\newline
|
|
class mo\+Adaptive\+Walk\+Sampling$<$ Neighbor $>$}
|
|
|
|
To compute the length and final solution of an adaptive walk\+: Perform a first improvement Hill-\/climber based on the neighborhood (adaptive walk), The adaptive walk is repeated several times (defined by a parameter)
|
|
|
|
Statistics are\+:
|
|
\begin{DoxyItemize}
|
|
\item the length of the adaptive walk
|
|
\item the number of neighbor evaluaitons
|
|
\item the final solution which are local optimum
|
|
\end{DoxyItemize}
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_a1fa24455c2c11e3bd817358a838be3d8}\label{classmo_adaptive_walk_sampling_a1fa24455c2c11e3bd817358a838be3d8}}
|
|
\index{moAdaptiveWalkSampling$<$ Neighbor $>$@{moAdaptiveWalkSampling$<$ Neighbor $>$}!moAdaptiveWalkSampling@{moAdaptiveWalkSampling}}
|
|
\index{moAdaptiveWalkSampling@{moAdaptiveWalkSampling}!moAdaptiveWalkSampling$<$ Neighbor $>$@{moAdaptiveWalkSampling$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moAdaptiveWalkSampling()}{moAdaptiveWalkSampling()}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_adaptive_walk_sampling}{mo\+Adaptive\+Walk\+Sampling}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_adaptive_walk_sampling}{mo\+Adaptive\+Walk\+Sampling}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_init}{eo\+Init}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+init, }\item[{\mbox{\hyperlink{classmo_neighborhood}{mo\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ \&}]{\+\_\+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}]{\+\_\+nb\+Adapt\+Walk }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+init} & initialisation method of the solution \\
|
|
\hline
|
|
{\em \+\_\+neighborhood} & neighborhood giving neighbor in random order \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & a full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & an incremental evaluation of neighbors \\
|
|
\hline
|
|
{\em \+\_\+nb\+Adapt\+Walk} & Number of adaptive walks (minimum value = 2) \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_adaptive_walk_sampling_aab8e15986ac6517e7807ae9ef7f9e9a5}\label{classmo_adaptive_walk_sampling_aab8e15986ac6517e7807ae9ef7f9e9a5}}
|
|
\index{moAdaptiveWalkSampling$<$ Neighbor $>$@{moAdaptiveWalkSampling$<$ Neighbor $>$}!````~moAdaptiveWalkSampling@{$\sim$moAdaptiveWalkSampling}}
|
|
\index{````~moAdaptiveWalkSampling@{$\sim$moAdaptiveWalkSampling}!moAdaptiveWalkSampling$<$ Neighbor $>$@{moAdaptiveWalkSampling$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{$\sim$moAdaptiveWalkSampling()}{~moAdaptiveWalkSampling()}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_adaptive_walk_sampling}{mo\+Adaptive\+Walk\+Sampling}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::$\sim$\mbox{\hyperlink{classmo_adaptive_walk_sampling}{mo\+Adaptive\+Walk\+Sampling}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Destructor
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/sampling/mo\+Adaptive\+Walk\+Sampling.\+h\end{DoxyCompactItemize}
|