86 lines
5.2 KiB
TeX
86 lines
5.2 KiB
TeX
\hypertarget{classeo_s_g_a_transform}{}\doxysection{eo\+S\+G\+A\+Transform$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_s_g_a_transform}\index{eoSGATransform$<$ EOT $>$@{eoSGATransform$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+S\+G\+A\+Transform.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+S\+G\+A\+Transform$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=336pt]{classeo_s_g_a_transform__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+S\+G\+A\+Transform$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=336pt]{classeo_s_g_a_transform__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}\label{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}}
|
|
\mbox{\hyperlink{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}{eo\+S\+G\+A\+Transform}} (\mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+cross, double \+\_\+c\+Proba, \mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+mutate, double \+\_\+m\+Proba)
|
|
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}{operator()}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}\label{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}}
|
|
\mbox{\hyperlink{classeo_s_g_a_transform_a0ed65f971b8f281a989f5ef329b6ea8f}{eo\+S\+G\+A\+Transform}} (\mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+cross, double \+\_\+c\+Proba, \mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+mutate, double \+\_\+m\+Proba)
|
|
\begin{DoxyCompactList}\small\item\em Default constructor. \end{DoxyCompactList}\item
|
|
void \mbox{\hyperlink{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}{operator()}} (\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+S\+G\+A\+Transform$<$ E\+O\+T $>$}
|
|
|
|
\mbox{\hyperlink{classeo_s_g_a_transform}{eo\+S\+G\+A\+Transform}}\+: transforms a population using genetic operators. It does it exactly as class \mbox{\hyperlink{classeo_s_g_a}{eo\+S\+GA}}, i.\+e. only accepts quadratic crossover and unary mutation It is here mainly for tutorial reasons
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}\label{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}}
|
|
\index{eoSGATransform$<$ EOT $>$@{eoSGATransform$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSGATransform$<$ EOT $>$@{eoSGATransform$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_s_g_a_transform}{eo\+S\+G\+A\+Transform}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Transforms a population.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+pop} & The population to be transformed. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Pop$<$ E\+O\+T $>$ \&, void $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}\label{classeo_s_g_a_transform_a81fa3eb1caa43ba25fe0b13a82950373}}
|
|
\index{eoSGATransform$<$ EOT $>$@{eoSGATransform$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSGATransform$<$ EOT $>$@{eoSGATransform$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_s_g_a_transform}{eo\+S\+G\+A\+Transform}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Transforms a population.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+pop} & The population to be transformed. \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ eo\+Pop$<$ E\+O\+T $>$ \&, void $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+S\+G\+A\+Transform.\+h\end{DoxyCompactItemize}
|