\hypertarget{classmo_rnd_with_repl_neighborhood}{}\doxysection{mo\+Rnd\+With\+Repl\+Neighborhood$<$ Neighbor $>$ Class Template Reference} \label{classmo_rnd_with_repl_neighborhood}\index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} {\ttfamily \#include $<$mo\+Rnd\+With\+Repl\+Neighborhood.\+h$>$} Inheritance diagram for mo\+Rnd\+With\+Repl\+Neighborhood$<$ Neighbor $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{classmo_rnd_with_repl_neighborhood__inherit__graph} \end{center} \end{figure} Collaboration diagram for mo\+Rnd\+With\+Repl\+Neighborhood$<$ Neighbor $>$\+: \nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{classmo_rnd_with_repl_neighborhood__coll__graph} \end{center} \end{figure} \doxysubsection*{Public Types} \begin{DoxyCompactItemize} \item typedef \mbox{\hyperlink{classeo_bit}{Neighbor\+::\+E\+OT}} \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_af7a0a1d7ec92dda84e1c471af798ae67}{E\+OT}} \end{DoxyCompactItemize} \doxysubsection*{Public Member Functions} \begin{DoxyCompactItemize} \item \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_a53a0722d138c2791d046bc48475326b8}{mo\+Rnd\+With\+Repl\+Neighborhood}} (unsigned int \+\_\+neighborhood\+Size, unsigned int \+\_\+max\+Neighbors=0) \item virtual bool \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_a8f07ad7843b4a88dd810ca3243f416b5}{has\+Neighbor}} (\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&\+\_\+solution) \item virtual void \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_ad2fd5ec59c6d2f38c66a2173fba2a913}{init}} (\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&\+\_\+solution, \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} \&\+\_\+neighbor) \item virtual void \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_ab6f2d456d8f30c8ffec918f56a1724d1}{next}} (\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&\+\_\+solution, \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} \&\+\_\+neighbor) \item virtual bool \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_a0cf94ef0028925fdf14038270d2aad9e}{cont}} (\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&\+\_\+solution) \item virtual std\+::string \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood_a4893efd5f00cdb791fe2fd5291389da0}{class\+Name}} () const \end{DoxyCompactItemize} \doxysubsection*{Additional Inherited Members} \doxysubsection{Detailed Description} \subsubsection*{template$<$class Neighbor$>$\newline class mo\+Rnd\+With\+Repl\+Neighborhood$<$ Neighbor $>$} A Random With replacement Neighborhood \doxysubsection{Member Typedef Documentation} \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_af7a0a1d7ec92dda84e1c471af798ae67}\label{classmo_rnd_with_repl_neighborhood_af7a0a1d7ec92dda84e1c471af798ae67}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!EOT@{EOT}} \index{EOT@{EOT}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{EOT}{EOT}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ typedef \mbox{\hyperlink{classeo_bit}{Neighbor\+::\+E\+OT}} \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}}} Define type of a solution corresponding to Neighbor \doxysubsection{Constructor \& Destructor Documentation} \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_a53a0722d138c2791d046bc48475326b8}\label{classmo_rnd_with_repl_neighborhood_a53a0722d138c2791d046bc48475326b8}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!moRndWithReplNeighborhood@{moRndWithReplNeighborhood}} \index{moRndWithReplNeighborhood@{moRndWithReplNeighborhood}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{moRndWithReplNeighborhood()}{moRndWithReplNeighborhood()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}} (\begin{DoxyParamCaption}\item[{unsigned int}]{\+\_\+neighborhood\+Size, }\item[{unsigned int}]{\+\_\+max\+Neighbors = {\ttfamily 0} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}} Constructor \begin{DoxyParams}{Parameters} {\em \+\_\+neighborhood\+Size} & the size of the neighborhood \\ \hline {\em \+\_\+max\+Neighbors} & the maximum number of visited neighbors (0 = infinite number) \\ \hline \end{DoxyParams} \doxysubsection{Member Function Documentation} \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_a4893efd5f00cdb791fe2fd5291389da0}\label{classmo_rnd_with_repl_neighborhood_a4893efd5f00cdb791fe2fd5291389da0}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!className@{className}} \index{className@{className}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{className()}{className()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ virtual std\+::string \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} Return the class Name \begin{DoxyReturn}{Returns} the class name as a std\+::string \end{DoxyReturn} Reimplemented from \mbox{\hyperlink{classmo_index_neighborhood_a56936b46687cf0529bcd59aa7eebaeed}{mo\+Index\+Neighborhood$<$ Neighbor $>$}}. \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_a0cf94ef0028925fdf14038270d2aad9e}\label{classmo_rnd_with_repl_neighborhood_a0cf94ef0028925fdf14038270d2aad9e}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!cont@{cont}} \index{cont@{cont}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{cont()}{cont()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ virtual bool \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::cont (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&}]{\+\_\+solution }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} test if all neighbors are explore or not,if false, there is no neighbor left to explore \begin{DoxyParams}{Parameters} {\em \+\_\+solution} & the solution to explore \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true if there is again a neighbor to explore \end{DoxyReturn} Implements \mbox{\hyperlink{classmo_neighborhood_a4093914507138339f3756ff5edaf6531}{mo\+Neighborhood$<$ Neighbor $>$}}. \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_a8f07ad7843b4a88dd810ca3243f416b5}\label{classmo_rnd_with_repl_neighborhood_a8f07ad7843b4a88dd810ca3243f416b5}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!hasNeighbor@{hasNeighbor}} \index{hasNeighbor@{hasNeighbor}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{hasNeighbor()}{hasNeighbor()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ virtual bool \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::has\+Neighbor (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&}]{\+\_\+solution }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} \mbox{\hyperlink{struct_test}{Test}} if it exist a neighbor \begin{DoxyParams}{Parameters} {\em \+\_\+solution} & the solution to explore \\ \hline \end{DoxyParams} \begin{DoxyReturn}{Returns} true if the neighborhood was not empty \end{DoxyReturn} Implements \mbox{\hyperlink{classmo_neighborhood_a9a4b6ca2bcf76697145509eb35baf3be}{mo\+Neighborhood$<$ Neighbor $>$}}. \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_ad2fd5ec59c6d2f38c66a2173fba2a913}\label{classmo_rnd_with_repl_neighborhood_ad2fd5ec59c6d2f38c66a2173fba2a913}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!init@{init}} \index{init@{init}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{init()}{init()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ virtual void \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&}]{\+\_\+solution, }\item[{\mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} \&}]{\+\_\+neighbor }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} Initialization of the neighborhood \begin{DoxyParams}{Parameters} {\em \+\_\+solution} & the solution to explore \\ \hline {\em \+\_\+neighbor} & the first neighbor \\ \hline \end{DoxyParams} Implements \mbox{\hyperlink{classmo_neighborhood_a0022065ea8d42fa00768896648badf5c}{mo\+Neighborhood$<$ Neighbor $>$}}. \mbox{\Hypertarget{classmo_rnd_with_repl_neighborhood_ab6f2d456d8f30c8ffec918f56a1724d1}\label{classmo_rnd_with_repl_neighborhood_ab6f2d456d8f30c8ffec918f56a1724d1}} \index{moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}!next@{next}} \index{next@{next}!moRndWithReplNeighborhood$<$ Neighbor $>$@{moRndWithReplNeighborhood$<$ Neighbor $>$}} \doxysubsubsection{\texorpdfstring{next()}{next()}} {\footnotesize\ttfamily template$<$class Neighbor $>$ \\ virtual void \mbox{\hyperlink{classmo_rnd_with_repl_neighborhood}{mo\+Rnd\+With\+Repl\+Neighborhood}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::next (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmo_index_neighborhood_a0c7c82d0bc5cf6c39c66254f219b78a7}{E\+OT}} \&}]{\+\_\+solution, }\item[{\mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} \&}]{\+\_\+neighbor }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}} Give the next neighbor \begin{DoxyParams}{Parameters} {\em \+\_\+solution} & the solution to explore \\ \hline {\em \+\_\+neighbor} & the next neighbor \\ \hline \end{DoxyParams} Implements \mbox{\hyperlink{classmo_neighborhood_a984c484c44c9852d0f971856d12092ed}{mo\+Neighborhood$<$ Neighbor $>$}}. The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize} \item mo/src/neighborhood/mo\+Rnd\+With\+Repl\+Neighborhood.\+h\end{DoxyCompactItemize}