178 lines
14 KiB
TeX
178 lines
14 KiB
TeX
\hypertarget{classmo_neutral_walk_sampling}{}\doxysection{mo\+Neutral\+Walk\+Sampling$<$ Neighbor $>$ Class Template Reference}
|
|
\label{classmo_neutral_walk_sampling}\index{moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+Neutral\+Walk\+Sampling.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+Neutral\+Walk\+Sampling$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=225pt]{classmo_neutral_walk_sampling__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+Neutral\+Walk\+Sampling$<$ Neighbor $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_neutral_walk_sampling__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a439520331494afc656cf881a26c707d9}\label{classmo_neutral_walk_sampling_a439520331494afc656cf881a26c707d9}}
|
|
typedef \mbox{\hyperlink{classeo_bit}{Neighbor\+::\+E\+OT}} {\bfseries E\+OT}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling_acbec9de2aeca99713190392ea8041622}{mo\+Neutral\+Walk\+Sampling}} (\mbox{\hyperlink{classeo_bit}{E\+OT}} \&\+\_\+init\+Sol, \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, \mbox{\hyperlink{classeo_distance}{eo\+Distance}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&\+\_\+distance, unsigned int \+\_\+nb\+Step)
|
|
\item
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling_aa21368a8f2eab0ae1ddbba6c98373039}{mo\+Neutral\+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\+Step)
|
|
\item
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling_a4b59823a89cf98e00e606f2e5ed47ff8}{$\sim$mo\+Neutral\+Walk\+Sampling}} ()
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Protected Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_aff1282afc76f8d1e3fd56a43a157ae1c}\label{classmo_neutral_walk_sampling_aff1282afc76f8d1e3fd56a43a157ae1c}}
|
|
\mbox{\hyperlink{classeo_bit}{E\+OT}} {\bfseries initial\+Sol}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ae25a7eb5585e2423e2ecb396d2e96764}\label{classmo_neutral_walk_sampling_ae25a7eb5585e2423e2ecb396d2e96764}}
|
|
\mbox{\hyperlink{classeo_hamming_distance}{eo\+Hamming\+Distance}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries dummy\+Distance}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a31de6261605c813adf332f6abc7dcec4}\label{classmo_neutral_walk_sampling_a31de6261605c813adf332f6abc7dcec4}}
|
|
\mbox{\hyperlink{classmo_sol_init}{mo\+Sol\+Init}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries init}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a2aa67f3ef34ec69ee519b376f4d4be47}\label{classmo_neutral_walk_sampling_a2aa67f3ef34ec69ee519b376f4d4be47}}
|
|
\mbox{\hyperlink{classmo_solution_stat}{mo\+Solution\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries solution\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_aaa7349c8623e78157887f1f7db74eb0e}\label{classmo_neutral_walk_sampling_aaa7349c8623e78157887f1f7db74eb0e}}
|
|
\mbox{\hyperlink{classmo_distance_stat}{mo\+Distance\+Stat}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ {\bfseries dist\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a9401f369e8b5160308d320c1a15f4812}\label{classmo_neutral_walk_sampling_a9401f369e8b5160308d320c1a15f4812}}
|
|
\mbox{\hyperlink{classmo_neighborhood_stat}{mo\+Neighborhood\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries neighborhood\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_abb6e1e8b5eeba6ab1a8ddd0a48b1fa8f}\label{classmo_neutral_walk_sampling_abb6e1e8b5eeba6ab1a8ddd0a48b1fa8f}}
|
|
\mbox{\hyperlink{classmo_min_neighbor_stat}{mo\+Min\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries min\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_adb10c9c85528d665a664455ad632e29d}\label{classmo_neutral_walk_sampling_adb10c9c85528d665a664455ad632e29d}}
|
|
\mbox{\hyperlink{classmo_average_fitness_neighbor_stat}{mo\+Average\+Fitness\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries average\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ae9ade9d7909721f4a90c3e46de5b2612}\label{classmo_neutral_walk_sampling_ae9ade9d7909721f4a90c3e46de5b2612}}
|
|
\mbox{\hyperlink{classmo_std_fitness_neighbor_stat}{mo\+Std\+Fitness\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries std\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ace0bda90767fac2c4791fc403ca19cf4}\label{classmo_neutral_walk_sampling_ace0bda90767fac2c4791fc403ca19cf4}}
|
|
\mbox{\hyperlink{classmo_max_neighbor_stat}{mo\+Max\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries max\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ab5722b9bd384459b6be0e96b1947971b}\label{classmo_neutral_walk_sampling_ab5722b9bd384459b6be0e96b1947971b}}
|
|
\mbox{\hyperlink{classmo_nb_sup_neighbor_stat}{mo\+Nb\+Sup\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries nb\+Sup\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ab630d0053fc1665e0490ff65dae39b80}\label{classmo_neutral_walk_sampling_ab630d0053fc1665e0490ff65dae39b80}}
|
|
\mbox{\hyperlink{classmo_nb_inf_neighbor_stat}{mo\+Nb\+Inf\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries nb\+Inf\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_aa35aeeb09d9601fc0c8264b4389c7042}\label{classmo_neutral_walk_sampling_aa35aeeb09d9601fc0c8264b4389c7042}}
|
|
\mbox{\hyperlink{classmo_size_neighbor_stat}{mo\+Size\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries size\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a28a30c1a2792e5025228b3c293a7851a}\label{classmo_neutral_walk_sampling_a28a30c1a2792e5025228b3c293a7851a}}
|
|
\mbox{\hyperlink{classmo_neutral_degree_neighbor_stat}{mo\+Neutral\+Degree\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries nd\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_adcc3ef234cfc7601d794ff48c9e4861b}\label{classmo_neutral_walk_sampling_adcc3ef234cfc7601d794ff48c9e4861b}}
|
|
\mbox{\hyperlink{classmo_q1_neighbor_stat}{mo\+Q1\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries q1\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a3fd2c8d368ac04f338fed2b797c3e53f}\label{classmo_neutral_walk_sampling_a3fd2c8d368ac04f338fed2b797c3e53f}}
|
|
\mbox{\hyperlink{classmo_median_neighbor_stat}{mo\+Median\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries median\+Stat}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_ad7a23e4a3b17d1b9ce88262f0d586ee4}\label{classmo_neutral_walk_sampling_ad7a23e4a3b17d1b9ce88262f0d586ee4}}
|
|
\mbox{\hyperlink{classmo_q3_neighbor_stat}{mo\+Q3\+Neighbor\+Stat}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$ {\bfseries q3\+Stat}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class Neighbor$>$\newline
|
|
class mo\+Neutral\+Walk\+Sampling$<$ Neighbor $>$}
|
|
|
|
To explore the evolvability of solutions in a neutral networks\+: Perform a random neutral walk based on the neighborhood, The measures of evolvability of solutions are collected during the random neutral walk The distribution and autocorrelation can be computed from the serie of values
|
|
|
|
Informations collected\+:
|
|
\begin{DoxyItemize}
|
|
\item the current solution of the walk
|
|
\item the distance from the starting solution
|
|
\item the average fitness
|
|
\item the standard deviation of the fitness
|
|
\item the minimal fitness in the neighborhood
|
|
\item the first quartile of fitness in the neighborhood
|
|
\item the median fitness in the neighborhood
|
|
\item the third quartile of fitness in the neighborhood
|
|
\item the maximal fitness
|
|
\item the size of the neighborhood
|
|
\item the number of neighbors with lower fitness
|
|
\item the number of neighbors with equal fitness (neutral degree)
|
|
\item the number of neighbors with higher fitness
|
|
\end{DoxyItemize}
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_acbec9de2aeca99713190392ea8041622}\label{classmo_neutral_walk_sampling_acbec9de2aeca99713190392ea8041622}}
|
|
\index{moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}!moNeutralWalkSampling@{moNeutralWalkSampling}}
|
|
\index{moNeutralWalkSampling@{moNeutralWalkSampling}!moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moNeutralWalkSampling()}{moNeutralWalkSampling()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+Walk\+Sampling}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+Walk\+Sampling}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_bit}{E\+OT}} \&}]{\+\_\+init\+Sol, }\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[{\mbox{\hyperlink{classeo_distance}{eo\+Distance}}$<$ \mbox{\hyperlink{classeo_bit}{E\+OT}} $>$ \&}]{\+\_\+distance, }\item[{unsigned int}]{\+\_\+nb\+Step }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+init\+Sol} & the first solution of the walk \\
|
|
\hline
|
|
{\em \+\_\+neighborhood} & neighborhood giving neighbor in random order \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & Fitness function, full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor evaluation, incremental evaluation function \\
|
|
\hline
|
|
{\em \+\_\+distance} & component to measure the distance from the initial solution \\
|
|
\hline
|
|
{\em \+\_\+nb\+Step} & Number of steps of the random walk \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_aa21368a8f2eab0ae1ddbba6c98373039}\label{classmo_neutral_walk_sampling_aa21368a8f2eab0ae1ddbba6c98373039}}
|
|
\index{moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}!moNeutralWalkSampling@{moNeutralWalkSampling}}
|
|
\index{moNeutralWalkSampling@{moNeutralWalkSampling}!moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moNeutralWalkSampling()}{moNeutralWalkSampling()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+Walk\+Sampling}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+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\+Step }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+init\+Sol} & the first solution of the walk \\
|
|
\hline
|
|
{\em \+\_\+neighborhood} & neighborhood giving neighbor in random order \\
|
|
\hline
|
|
{\em \+\_\+full\+Eval} & Fitness function, full evaluation function \\
|
|
\hline
|
|
{\em \+\_\+eval} & neighbor evaluation, incremental evaluation function \\
|
|
\hline
|
|
{\em \+\_\+distance} & component to measure the distance from the initial solution \\
|
|
\hline
|
|
{\em \+\_\+nb\+Step} & Number of steps of the random walk \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classmo_neutral_walk_sampling_a4b59823a89cf98e00e606f2e5ed47ff8}\label{classmo_neutral_walk_sampling_a4b59823a89cf98e00e606f2e5ed47ff8}}
|
|
\index{moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}!````~moNeutralWalkSampling@{$\sim$moNeutralWalkSampling}}
|
|
\index{````~moNeutralWalkSampling@{$\sim$moNeutralWalkSampling}!moNeutralWalkSampling$<$ Neighbor $>$@{moNeutralWalkSampling$<$ Neighbor $>$}}
|
|
\doxysubsubsection{\texorpdfstring{$\sim$moNeutralWalkSampling()}{~moNeutralWalkSampling()}}
|
|
{\footnotesize\ttfamily template$<$class Neighbor $>$ \\
|
|
\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+Walk\+Sampling}}$<$ \mbox{\hyperlink{classmo_bit_neighbor}{Neighbor}} $>$\+::$\sim$\mbox{\hyperlink{classmo_neutral_walk_sampling}{mo\+Neutral\+Walk\+Sampling}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
default destructor
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/sampling/mo\+Neutral\+Walk\+Sampling.\+h\end{DoxyCompactItemize}
|