89 lines
5 KiB
TeX
89 lines
5 KiB
TeX
\hypertarget{classmoeo_rand_weight_strategy}{}\doxysection{moeo\+Rand\+Weight\+Strategy$<$ M\+O\+E\+OT $>$ Class Template Reference}
|
|
\label{classmoeo_rand_weight_strategy}\index{moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$moeo\+Rand\+Weight\+Strategy.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for moeo\+Rand\+Weight\+Strategy$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=239pt]{classmoeo_rand_weight_strategy__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for moeo\+Rand\+Weight\+Strategy$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=239pt]{classmoeo_rand_weight_strategy__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmoeo_rand_weight_strategy_a017292e9ddd60737b8c0f22f7b1c1bf1}{moeo\+Rand\+Weight\+Strategy}} ()
|
|
\item
|
|
\mbox{\hyperlink{classmoeo_rand_weight_strategy_af8ab9cd1c23f965d0b5c16d6aa3a4556}{moeo\+Rand\+Weight\+Strategy}} (\mbox{\hyperlink{class_u_f__random__generator}{U\+F\+\_\+random\+\_\+generator}}$<$ double $>$ \&\+\_\+random)
|
|
\item
|
|
void \mbox{\hyperlink{classmoeo_rand_weight_strategy_a884c5cfd0ee0a7b32358bbd2775be8e0}{operator()}} (std\+::vector$<$ double $>$ \&\+\_\+weights, const M\+O\+E\+OT \&\+\_\+moeot)
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
|
|
class moeo\+Rand\+Weight\+Strategy$<$ M\+O\+E\+O\+T $>$}
|
|
|
|
Change all weights randomly.
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmoeo_rand_weight_strategy_a017292e9ddd60737b8c0f22f7b1c1bf1}\label{classmoeo_rand_weight_strategy_a017292e9ddd60737b8c0f22f7b1c1bf1}}
|
|
\index{moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}!moeoRandWeightStrategy@{moeoRandWeightStrategy}}
|
|
\index{moeoRandWeightStrategy@{moeoRandWeightStrategy}!moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moeoRandWeightStrategy()}{moeoRandWeightStrategy()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
\mbox{\hyperlink{classmoeo_rand_weight_strategy}{moeo\+Rand\+Weight\+Strategy}}$<$ M\+O\+E\+OT $>$\+::\mbox{\hyperlink{classmoeo_rand_weight_strategy}{moeo\+Rand\+Weight\+Strategy}} (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
default constructor \mbox{\Hypertarget{classmoeo_rand_weight_strategy_af8ab9cd1c23f965d0b5c16d6aa3a4556}\label{classmoeo_rand_weight_strategy_af8ab9cd1c23f965d0b5c16d6aa3a4556}}
|
|
\index{moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}!moeoRandWeightStrategy@{moeoRandWeightStrategy}}
|
|
\index{moeoRandWeightStrategy@{moeoRandWeightStrategy}!moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moeoRandWeightStrategy()}{moeoRandWeightStrategy()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
\mbox{\hyperlink{classmoeo_rand_weight_strategy}{moeo\+Rand\+Weight\+Strategy}}$<$ M\+O\+E\+OT $>$\+::\mbox{\hyperlink{classmoeo_rand_weight_strategy}{moeo\+Rand\+Weight\+Strategy}} (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{class_u_f__random__generator}{U\+F\+\_\+random\+\_\+generator}}$<$ double $>$ \&}]{\+\_\+random }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
constructor with a given random generator, for algorithms wanting to keep the same generator for some reason
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+random} & an uniform random generator \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmoeo_rand_weight_strategy_a884c5cfd0ee0a7b32358bbd2775be8e0}\label{classmoeo_rand_weight_strategy_a884c5cfd0ee0a7b32358bbd2775be8e0}}
|
|
\index{moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoRandWeightStrategy$<$ MOEOT $>$@{moeoRandWeightStrategy$<$ MOEOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classmoeo_rand_weight_strategy}{moeo\+Rand\+Weight\+Strategy}}$<$ M\+O\+E\+OT $>$\+::operator() (\begin{DoxyParamCaption}\item[{std\+::vector$<$ double $>$ \&}]{\+\_\+weights, }\item[{const M\+O\+E\+OT \&}]{\+\_\+moeot }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
main function, fill the weight randomly
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+weights} & the weights to change \\
|
|
\hline
|
|
{\em \+\_\+moeot} & not used \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classmoeo_variable_weight_strategy}{moeo\+Variable\+Weight\+Strategy$<$ M\+O\+E\+O\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
moeo/src/scalar\+Stuffs/weighting/moeo\+Rand\+Weight\+Strategy.\+h\end{DoxyCompactItemize}
|