80 lines
4.6 KiB
TeX
80 lines
4.6 KiB
TeX
\hypertarget{classeo_real_particle}{}\doxysection{eo\+Real\+Particle$<$ FitT $>$ Class Template Reference}
|
|
\label{classeo_real_particle}\index{eoRealParticle$<$ FitT $>$@{eoRealParticle$<$ FitT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Real\+Particle.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Real\+Particle$<$ FitT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=331pt]{classeo_real_particle__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Real\+Particle$<$ FitT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=331pt]{classeo_real_particle__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_real_particle_aebe00d1008553dcab8fc1697439a8287}\label{classeo_real_particle_aebe00d1008553dcab8fc1697439a8287}}
|
|
{\bfseries eo\+Real\+Particle} (unsigned size=0, double positions=0.\+0, double velocities=0.\+0, double best\+Positions=0.\+0)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}{class\+Name}} () const
|
|
\item
|
|
\mbox{\Hypertarget{classeo_real_particle_aebe00d1008553dcab8fc1697439a8287}\label{classeo_real_particle_aebe00d1008553dcab8fc1697439a8287}}
|
|
{\bfseries eo\+Real\+Particle} (unsigned size=0, double positions=0.\+0, double velocities=0.\+0, double best\+Positions=0.\+0)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}{class\+Name}} () const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class FitT$>$\newline
|
|
class eo\+Real\+Particle$<$ Fit\+T $>$}
|
|
|
|
\mbox{\hyperlink{classeo_real_particle}{eo\+Real\+Particle}}\+: Implementation of a real-\/coded particle for particle swarm optimization. Positions, velocities and best positions are real-\/coded.
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}\label{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}}
|
|
\index{eoRealParticle$<$ FitT $>$@{eoRealParticle$<$ FitT $>$}!className@{className}}
|
|
\index{className@{className}!eoRealParticle$<$ FitT $>$@{eoRealParticle$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_real_particle}{eo\+Real\+Particle}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Return the class id. This should be redefined in each class. Only \char`\"{}leaf\char`\"{} classes can be non-\/virtual.
|
|
|
|
Maarten\+: removed the default implementation as this proved to be too error-\/prone\+: I found several classes that had a typo in class\+Name (like classname), which would print \mbox{\hyperlink{classeo_object}{eo\+Object}} instead of their own. Having it pure will force the implementor to provide a name.
|
|
|
|
Implements \mbox{\hyperlink{classeo_object_a1c02745db786e7bb46dea93b560fe685}{eo\+Object}}.
|
|
|
|
\mbox{\Hypertarget{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}\label{classeo_real_particle_acf2adb0c1bb5161e6ccffba7e426c170}}
|
|
\index{eoRealParticle$<$ FitT $>$@{eoRealParticle$<$ FitT $>$}!className@{className}}
|
|
\index{className@{className}!eoRealParticle$<$ FitT $>$@{eoRealParticle$<$ FitT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class FitT $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classeo_real_particle}{eo\+Real\+Particle}}$<$ \mbox{\hyperlink{classeo_scalar_fitness}{FitT}} $>$\+::class\+Name (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Return the class id. This should be redefined in each class. Only \char`\"{}leaf\char`\"{} classes can be non-\/virtual.
|
|
|
|
Maarten\+: removed the default implementation as this proved to be too error-\/prone\+: I found several classes that had a typo in class\+Name (like classname), which would print \mbox{\hyperlink{classeo_object}{eo\+Object}} instead of their own. Having it pure will force the implementor to provide a name.
|
|
|
|
Implements \mbox{\hyperlink{classeo_object_a1c02745db786e7bb46dea93b560fe685}{eo\+Object}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Real\+Particle.\+h\end{DoxyCompactItemize}
|