117 lines
5.9 KiB
TeX
117 lines
5.9 KiB
TeX
\hypertarget{classeo_random_real_weight_up}{}\doxysection{eo\+Random\+Real\+Weight\+Up Class Reference}
|
|
\label{classeo_random_real_weight_up}\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Random\+Real\+Weight\+Up.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Random\+Real\+Weight\+Up\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=298pt]{classeo_random_real_weight_up__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Random\+Real\+Weight\+Up\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=298pt]{classeo_random_real_weight_up__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}{eo\+Random\+Real\+Weight\+Up}} (double \+\_\+min, double \+\_\+max)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}{operator()}} (double \&\+\_\+weight)
|
|
\item
|
|
\mbox{\hyperlink{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}{eo\+Random\+Real\+Weight\+Up}} (double \+\_\+min, double \+\_\+max)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}{operator()}} (double \&\+\_\+weight)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Protected Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_a3858be7d08d5d309ab86915843b04a3f}\label{classeo_random_real_weight_up_a3858be7d08d5d309ab86915843b04a3f}}
|
|
double {\bfseries min}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_a76e057d9e9ba8b90b515c15404642f02}\label{classeo_random_real_weight_up_a76e057d9e9ba8b90b515c15404642f02}}
|
|
double {\bfseries max}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
Update an inertia weight by assigning it an (uniform) random value. The weight is a basic feature to evaluate the velocity of a particle in swarm optimization.
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}\label{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\doxysubsubsection{\texorpdfstring{eoRandomRealWeightUp()}{eoRandomRealWeightUp()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily eo\+Random\+Real\+Weight\+Up\+::eo\+Random\+Real\+Weight\+Up (\begin{DoxyParamCaption}\item[{double}]{\+\_\+min, }\item[{double}]{\+\_\+max }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Default constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+min} & -\/ The minimum bound for the weight \\
|
|
\hline
|
|
{\em \+\_\+max} & -\/ The maximum bound for the weight \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}\label{classeo_random_real_weight_up_ad4d9cff5b902f2552ad122f7800280dd}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\doxysubsubsection{\texorpdfstring{eoRandomRealWeightUp()}{eoRandomRealWeightUp()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily eo\+Random\+Real\+Weight\+Up\+::eo\+Random\+Real\+Weight\+Up (\begin{DoxyParamCaption}\item[{double}]{\+\_\+min, }\item[{double}]{\+\_\+max }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Default constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+min} & -\/ The minimum bound for the weight \\
|
|
\hline
|
|
{\em \+\_\+max} & -\/ The maximum bound for the weight \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}\label{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily void eo\+Random\+Real\+Weight\+Up\+::operator() (\begin{DoxyParamCaption}\item[{double \&}]{\+\_\+weight }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Generate an real random number in \mbox{[}min,max\mbox{]} and assign it to \+\_\+weight
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+weight} & -\/ The assigned (real) weight \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ double \&, void $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}\label{classeo_random_real_weight_up_ac91257bb336fb58fe4a1cb63042a8ad0}}
|
|
\index{eoRandomRealWeightUp@{eoRandomRealWeightUp}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoRandomRealWeightUp@{eoRandomRealWeightUp}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily void eo\+Random\+Real\+Weight\+Up\+::operator() (\begin{DoxyParamCaption}\item[{double \&}]{\+\_\+weight }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Generate an real random number in \mbox{[}min,max\mbox{]} and assign it to \+\_\+weight
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+weight} & -\/ The assigned (real) weight \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ double \&, void $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Random\+Real\+Weight\+Up.\+h\end{DoxyCompactItemize}
|