133 lines
9.4 KiB
TeX
133 lines
9.4 KiB
TeX
\hypertarget{classeo_prop_g_a_gen_op}{}\doxysection{eo\+Prop\+G\+A\+Gen\+Op$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_prop_g_a_gen_op}\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Prop\+G\+A\+Gen\+Op.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Prop\+G\+A\+Gen\+Op$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_prop_g_a_gen_op__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Prop\+G\+A\+Gen\+Op$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_prop_g_a_gen_op__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}{eo\+Prop\+G\+A\+Gen\+Op}} (double \+\_\+w\+Clone, \mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+cross, double \+\_\+w\+Cross, \mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+mut, double \+\_\+w\+Mut)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}{apply}} (\mbox{\hyperlink{classeo_populator}{eo\+Populator}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop)
|
|
\item
|
|
virtual unsigned \mbox{\hyperlink{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}{max\+\_\+production}} (void)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a6c9d73baac0c9db93e08d50f5e5cff7d}\label{classeo_prop_g_a_gen_op_a6c9d73baac0c9db93e08d50f5e5cff7d}}
|
|
virtual std\+::string {\bfseries class\+Name} () const
|
|
\item
|
|
\mbox{\hyperlink{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}{eo\+Prop\+G\+A\+Gen\+Op}} (double \+\_\+w\+Clone, \mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+cross, double \+\_\+w\+Cross, \mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+mut, double \+\_\+w\+Mut)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}{apply}} (\mbox{\hyperlink{classeo_populator}{eo\+Populator}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+pop)
|
|
\item
|
|
virtual unsigned \mbox{\hyperlink{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}{max\+\_\+production}} (void)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a6c9d73baac0c9db93e08d50f5e5cff7d}\label{classeo_prop_g_a_gen_op_a6c9d73baac0c9db93e08d50f5e5cff7d}}
|
|
virtual std\+::string {\bfseries class\+Name} () const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Prop\+G\+A\+Gen\+Op$<$ E\+O\+T $>$}
|
|
|
|
\mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}} (for Simple GA, but Proportional) choice between Crossover, mutation or cloining with respect to given relatve weights
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}\label{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!eoPropGAGenOp@{eoPropGAGenOp}}
|
|
\index{eoPropGAGenOp@{eoPropGAGenOp}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoPropGAGenOp()}{eoPropGAGenOp()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}} (\begin{DoxyParamCaption}\item[{double}]{\+\_\+w\+Clone, }\item[{\mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+cross, }\item[{double}]{\+\_\+w\+Cross, }\item[{\mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+mut, }\item[{double}]{\+\_\+w\+Mut }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor from
|
|
\begin{DoxyItemize}
|
|
\item weight of clone
|
|
\item crossover (with weight)
|
|
\item mutation (with weight)
|
|
\end{DoxyItemize}\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}\label{classeo_prop_g_a_gen_op_a3b5d6fa22e8184acde58d91a58fb1fef}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!eoPropGAGenOp@{eoPropGAGenOp}}
|
|
\index{eoPropGAGenOp@{eoPropGAGenOp}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{eoPropGAGenOp()}{eoPropGAGenOp()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}} (\begin{DoxyParamCaption}\item[{double}]{\+\_\+w\+Clone, }\item[{\mbox{\hyperlink{classeo_quad_op}{eo\+Quad\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+cross, }\item[{double}]{\+\_\+w\+Cross, }\item[{\mbox{\hyperlink{classeo_mon_op}{eo\+Mon\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+mut, }\item[{double}]{\+\_\+w\+Mut }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor from
|
|
\begin{DoxyItemize}
|
|
\item weight of clone
|
|
\item crossover (with weight)
|
|
\item mutation (with weight)
|
|
\end{DoxyItemize}
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}\label{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!apply@{apply}}
|
|
\index{apply@{apply}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{apply()}{apply()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::apply (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_populator}{eo\+Populator}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
do the job\+: delegate to op
|
|
|
|
Implements \mbox{\hyperlink{classeo_gen_op_a7f068857fa57b4f399d2b447481c6448}{eo\+Gen\+Op$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}\label{classeo_prop_g_a_gen_op_a17f4c9d70d1cb46c767d242535beb0f3}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!apply@{apply}}
|
|
\index{apply@{apply}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{apply()}{apply()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::apply (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classeo_populator}{eo\+Populator}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+pop }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
do the job\+: delegate to op
|
|
|
|
Implements \mbox{\hyperlink{classeo_gen_op_a7f068857fa57b4f399d2b447481c6448}{eo\+Gen\+Op$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}\label{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!max\_production@{max\_production}}
|
|
\index{max\_production@{max\_production}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{max\_production()}{max\_production()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned \mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::max\+\_\+production (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
inherited from \mbox{\hyperlink{classeo_gen_op}{eo\+Gen\+Op}}
|
|
|
|
Implements \mbox{\hyperlink{classeo_gen_op_aaeaf1af3f0c36a94096b622a6c14241f}{eo\+Gen\+Op$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}\label{classeo_prop_g_a_gen_op_afe6b1c9503f73548950c3fe37e888629}}
|
|
\index{eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}!max\_production@{max\_production}}
|
|
\index{max\_production@{max\_production}!eoPropGAGenOp$<$ EOT $>$@{eoPropGAGenOp$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{max\_production()}{max\_production()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned \mbox{\hyperlink{classeo_prop_g_a_gen_op}{eo\+Prop\+G\+A\+Gen\+Op}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::max\+\_\+production (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
inherited from \mbox{\hyperlink{classeo_gen_op}{eo\+Gen\+Op}}
|
|
|
|
Implements \mbox{\hyperlink{classeo_gen_op_aaeaf1af3f0c36a94096b622a6c14241f}{eo\+Gen\+Op$<$ E\+O\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Prop\+G\+A\+Gen\+Op.\+h\end{DoxyCompactItemize}
|