153 lines
12 KiB
TeX
153 lines
12 KiB
TeX
\hypertarget{classeo_steady_fit_continue}{}\doxysection{eo\+Steady\+Fit\+Continue$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_steady_fit_continue}\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Steady\+Fit\+Continue.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Steady\+Fit\+Continue$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_steady_fit_continue__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Steady\+Fit\+Continue$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_steady_fit_continue__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Types}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a4cf0f820f513559811deca87b31c86a6}\label{classeo_steady_fit_continue_a4cf0f820f513559811deca87b31c86a6}}
|
|
typedef E\+O\+T\+::\+Fitness {\bfseries Fitness}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a4cf0f820f513559811deca87b31c86a6}\label{classeo_steady_fit_continue_a4cf0f820f513559811deca87b31c86a6}}
|
|
typedef E\+O\+T\+::\+Fitness {\bfseries Fitness}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}\label{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}}
|
|
\mbox{\hyperlink{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}{eo\+Steady\+Fit\+Continue}} (unsigned long \+\_\+min\+Gens, unsigned long \+\_\+steady\+Gens)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for setting a. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}\label{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}}
|
|
\mbox{\hyperlink{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}{eo\+Steady\+Fit\+Continue}} (unsigned long \+\_\+min\+Gens, unsigned long \+\_\+steady\+Gen, unsigned long \&\+\_\+current\+Gen)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for enabling the save/load the no. of generations counted. \end{DoxyCompactList}\item
|
|
virtual bool \mbox{\hyperlink{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+v\+EO)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}{total\+Generations}} (unsigned long \+\_\+mg, unsigned long \+\_\+sg)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}\label{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}}
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}{reset}} ()
|
|
\begin{DoxyCompactList}\small\item\em Resets the state after it\textquotesingle{}s been reached. \end{DoxyCompactList}\item
|
|
virtual unsigned long \mbox{\hyperlink{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}{min\+Generations}} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_af51ced675e4c39b0d3ac1c77f2660867}\label{classeo_steady_fit_continue_af51ced675e4c39b0d3ac1c77f2660867}}
|
|
virtual unsigned long {\bfseries steady\+Generations} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a71249370bf6e328e96283a753d6985a4}\label{classeo_steady_fit_continue_a71249370bf6e328e96283a753d6985a4}}
|
|
virtual std\+::string {\bfseries class\+Name} (void) const
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}\label{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}}
|
|
\mbox{\hyperlink{classeo_steady_fit_continue_a667e6160ead2792b543ecdd6dfd18648}{eo\+Steady\+Fit\+Continue}} (unsigned long \+\_\+min\+Gens, unsigned long \+\_\+steady\+Gens)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for setting a. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}\label{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}}
|
|
\mbox{\hyperlink{classeo_steady_fit_continue_a97c4b6c00f70c8f9bc539c155a97339f}{eo\+Steady\+Fit\+Continue}} (unsigned long \+\_\+min\+Gens, unsigned long \+\_\+steady\+Gen, unsigned long \&\+\_\+current\+Gen)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for enabling the save/load the no. of generations counted. \end{DoxyCompactList}\item
|
|
virtual bool \mbox{\hyperlink{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+v\+EO)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}{total\+Generations}} (unsigned long \+\_\+mg, unsigned long \+\_\+sg)
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}\label{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}}
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue_a235b57950a2d2e22d4bc6be1143a4a31}{reset}} ()
|
|
\begin{DoxyCompactList}\small\item\em Resets the state after it\textquotesingle{}s been reached. \end{DoxyCompactList}\item
|
|
virtual unsigned long \mbox{\hyperlink{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}{min\+Generations}} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_af51ced675e4c39b0d3ac1c77f2660867}\label{classeo_steady_fit_continue_af51ced675e4c39b0d3ac1c77f2660867}}
|
|
virtual unsigned long {\bfseries steady\+Generations} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a71249370bf6e328e96283a753d6985a4}\label{classeo_steady_fit_continue_a71249370bf6e328e96283a753d6985a4}}
|
|
virtual std\+::string {\bfseries class\+Name} (void) const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Steady\+Fit\+Continue$<$ E\+O\+T $>$}
|
|
|
|
A continuator\+: does a minimum number of generations, then stops whenever a given number of generations takes place without improvement
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}\label{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!minGenerations@{minGenerations}}
|
|
\index{minGenerations@{minGenerations}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{minGenerations()}{minGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned long \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::min\+Generations (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
accessors \mbox{\Hypertarget{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}\label{classeo_steady_fit_continue_af95410dc76cf75b428855ac67855eef4}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!minGenerations@{minGenerations}}
|
|
\index{minGenerations@{minGenerations}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{minGenerations()}{minGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned long \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::min\+Generations (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
accessors \mbox{\Hypertarget{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}\label{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual bool \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+v\+EO }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns false when a certain number of generations is reached withtout improvement
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}\label{classeo_steady_fit_continue_a5b29028c7c26aa84395b7ab96d733498}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual bool \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&}]{\+\_\+v\+EO }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns false when a certain number of generations is reached withtout improvement
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}\label{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}\item[{unsigned long}]{\+\_\+mg, }\item[{unsigned long}]{\+\_\+sg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Sets the parameters (minimum nb of gen. + steady nb of gen.) and sets the current generation to 0 (the begin)
|
|
|
|
\begin{DoxyRefDesc}{Todo}
|
|
\item[\mbox{\hyperlink{todo__todo000005}{Todo}}]replace thi by an init method ? \end{DoxyRefDesc}
|
|
\mbox{\Hypertarget{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}\label{classeo_steady_fit_continue_ae3e1c217556934a4cd284b2bb64e54d8}}
|
|
\index{eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoSteadyFitContinue$<$ EOT $>$@{eoSteadyFitContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_steady_fit_continue}{eo\+Steady\+Fit\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}\item[{unsigned long}]{\+\_\+mg, }\item[{unsigned long}]{\+\_\+sg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Sets the parameters (minimum nb of gen. + steady nb of gen.) and sets the current generation to 0 (the begin)
|
|
|
|
\begin{DoxyRefDesc}{Todo}
|
|
\item[\mbox{\hyperlink{todo__todo000022}{Todo}}]replace thi by an init method ? \end{DoxyRefDesc}
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Steady\+Fit\+Continue.\+h\end{DoxyCompactItemize}
|