112 lines
11 KiB
TeX
112 lines
11 KiB
TeX
\hypertarget{classeo_velocity}{}\doxysection{eo\+Velocity$<$ P\+OT $>$ Class Template Reference}
|
|
\label{classeo_velocity}\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Velocity.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Velocity$<$ P\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_velocity__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Velocity$<$ P\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=334pt]{classeo_velocity__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}{apply}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&\+\_\+pop)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}{update\+Neighborhood}} (P\+OT \&, unsigned)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}{update\+Neighborhood}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&\+\_\+pop)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_velocity_a2cc473f15eb3a55df9a5dd8a0b63f38e}\label{classeo_velocity_a2cc473f15eb3a55df9a5dd8a0b63f38e}}
|
|
virtual \mbox{\hyperlink{classeo_topology}{eo\+Topology}}$<$ P\+OT $>$ \& {\bfseries get\+Topology} ()=0
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}{apply}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&\+\_\+pop)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}{update\+Neighborhood}} (P\+OT \&, unsigned)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}{update\+Neighborhood}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&\+\_\+pop)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_velocity_a2cc473f15eb3a55df9a5dd8a0b63f38e}\label{classeo_velocity_a2cc473f15eb3a55df9a5dd8a0b63f38e}}
|
|
virtual \mbox{\hyperlink{classeo_topology}{eo\+Topology}}$<$ P\+OT $>$ \& {\bfseries get\+Topology} ()=0
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class P\+OT$>$\newline
|
|
class eo\+Velocity$<$ P\+O\+T $>$}
|
|
|
|
Abstract class for velocities calculation (particle swarm optimization). All the velocities must derivated from \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}.
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}\label{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!apply@{apply}}
|
|
\index{apply@{apply}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{apply()}{apply()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::apply (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Apply the velocity computation to a whole given population. Used for synchronous P\+SO. \mbox{\Hypertarget{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}\label{classeo_velocity_aa0c852f2c7a299f1c27f08c447d994c3}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!apply@{apply}}
|
|
\index{apply@{apply}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{apply()}{apply()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::apply (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Apply the velocity computation to a whole given population. Used for synchronous P\+SO. \mbox{\Hypertarget{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}\label{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!updateNeighborhood@{updateNeighborhood}}
|
|
\index{updateNeighborhood@{updateNeighborhood}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{updateNeighborhood()}{updateNeighborhood()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::update\+Neighborhood (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Apply the neighborhood with a whole population (used for distributed or synchronous P\+SO). \mbox{\Hypertarget{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}\label{classeo_velocity_a0458b22a854076436dbde0fbda1986d6}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!updateNeighborhood@{updateNeighborhood}}
|
|
\index{updateNeighborhood@{updateNeighborhood}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{updateNeighborhood()}{updateNeighborhood()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::update\+Neighborhood (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ P\+OT $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Apply the neighborhood with a whole population (used for distributed or synchronous P\+SO). \mbox{\Hypertarget{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}\label{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!updateNeighborhood@{updateNeighborhood}}
|
|
\index{updateNeighborhood@{updateNeighborhood}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{updateNeighborhood()}{updateNeighborhood()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::update\+Neighborhood (\begin{DoxyParamCaption}\item[{P\+OT \&}]{, }\item[{unsigned}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Update the neighborhood of the given particle.
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_constricted_variable_weight_velocity_abbf7fb28e7b4a65e33d6154c3e996889}{eo\+Constricted\+Variable\+Weight\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_variable_weight_velocity_abbf7fb28e7b4a65e33d6154c3e996889}{eo\+Constricted\+Variable\+Weight\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_extended_velocity_a34d8d305ef3234326b0ccd77e05d2ec5}{eo\+Extended\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_extended_velocity_a34d8d305ef3234326b0ccd77e05d2ec5}{eo\+Extended\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_variable_inertia_weighted_velocity_adf70e0b2c6a331f58407ecff369cb459}{eo\+Variable\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_variable_inertia_weighted_velocity_adf70e0b2c6a331f58407ecff369cb459}{eo\+Variable\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_velocity_a32564a70ed86e69b5f9b716a9f42a6f0}{eo\+Constricted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_velocity_a32564a70ed86e69b5f9b716a9f42a6f0}{eo\+Constricted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_fixed_inertia_weighted_velocity_a8b26d61003f0713edc36cff5c5eab34e}{eo\+Fixed\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_fixed_inertia_weighted_velocity_a8b26d61003f0713edc36cff5c5eab34e}{eo\+Fixed\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_integer_velocity_aaef2aadb9c8f9c0258bf2ecaa496ba3a}{eo\+Integer\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_standard_velocity_a805dbeebfb2c11dae8b1da8dbf42605d}{eo\+Standard\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_integer_velocity_aaef2aadb9c8f9c0258bf2ecaa496ba3a}{eo\+Integer\+Velocity$<$ P\+O\+T $>$}}, and \mbox{\hyperlink{classeo_standard_velocity_a805dbeebfb2c11dae8b1da8dbf42605d}{eo\+Standard\+Velocity$<$ P\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}\label{classeo_velocity_a5e2310d90e8bc72782f4c865706b4549}}
|
|
\index{eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}!updateNeighborhood@{updateNeighborhood}}
|
|
\index{updateNeighborhood@{updateNeighborhood}!eoVelocity$<$ POT $>$@{eoVelocity$<$ POT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{updateNeighborhood()}{updateNeighborhood()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
|
{\footnotesize\ttfamily template$<$class P\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_velocity}{eo\+Velocity}}$<$ P\+OT $>$\+::update\+Neighborhood (\begin{DoxyParamCaption}\item[{P\+OT \&}]{, }\item[{unsigned}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Update the neighborhood of the given particle.
|
|
|
|
Reimplemented in \mbox{\hyperlink{classeo_constricted_variable_weight_velocity_abbf7fb28e7b4a65e33d6154c3e996889}{eo\+Constricted\+Variable\+Weight\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_variable_weight_velocity_abbf7fb28e7b4a65e33d6154c3e996889}{eo\+Constricted\+Variable\+Weight\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_extended_velocity_a34d8d305ef3234326b0ccd77e05d2ec5}{eo\+Extended\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_extended_velocity_a34d8d305ef3234326b0ccd77e05d2ec5}{eo\+Extended\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_variable_inertia_weighted_velocity_adf70e0b2c6a331f58407ecff369cb459}{eo\+Variable\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_variable_inertia_weighted_velocity_adf70e0b2c6a331f58407ecff369cb459}{eo\+Variable\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_velocity_a32564a70ed86e69b5f9b716a9f42a6f0}{eo\+Constricted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_constricted_velocity_a32564a70ed86e69b5f9b716a9f42a6f0}{eo\+Constricted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_fixed_inertia_weighted_velocity_a8b26d61003f0713edc36cff5c5eab34e}{eo\+Fixed\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_fixed_inertia_weighted_velocity_a8b26d61003f0713edc36cff5c5eab34e}{eo\+Fixed\+Inertia\+Weighted\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_integer_velocity_aaef2aadb9c8f9c0258bf2ecaa496ba3a}{eo\+Integer\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_standard_velocity_a805dbeebfb2c11dae8b1da8dbf42605d}{eo\+Standard\+Velocity$<$ P\+O\+T $>$}}, \mbox{\hyperlink{classeo_integer_velocity_aaef2aadb9c8f9c0258bf2ecaa496ba3a}{eo\+Integer\+Velocity$<$ P\+O\+T $>$}}, and \mbox{\hyperlink{classeo_standard_velocity_a805dbeebfb2c11dae8b1da8dbf42605d}{eo\+Standard\+Velocity$<$ P\+O\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Velocity.\+h\end{DoxyCompactItemize}
|