188 lines
13 KiB
TeX
188 lines
13 KiB
TeX
\hypertarget{classeo_gen_continue}{}\doxysection{eo\+Gen\+Continue$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_gen_continue}\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Gen\+Continue.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Gen\+Continue$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_gen_continue__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Gen\+Continue$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classeo_gen_continue__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}\label{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}}
|
|
\mbox{\hyperlink{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}{eo\+Gen\+Continue}} (unsigned long \+\_\+total\+Gens)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for setting a. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}\label{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}}
|
|
\mbox{\hyperlink{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}{eo\+Gen\+Continue}} (unsigned long \+\_\+total\+Gens, 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_gen_continue_af971bda54ab9f7a617af3147b562a5af}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+v\+EO)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}{total\+Generations}} (unsigned long \+\_\+tg)
|
|
\item
|
|
virtual unsigned long \mbox{\hyperlink{classeo_gen_continue_a19457e732636b7ce424724a740562c79}{total\+Generations}} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_a1b69fa8e649b1d7604307fec654cc33f}\label{classeo_gen_continue_a1b69fa8e649b1d7604307fec654cc33f}}
|
|
virtual std\+::string {\bfseries class\+Name} (void) const
|
|
\item
|
|
void \mbox{\hyperlink{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}{read\+From}} (std \+::istream \&\+\_\+\+\_\+is)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}{print\+On}} (std \+::ostream \&\+\_\+\+\_\+os) const
|
|
\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}\label{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}}
|
|
\mbox{\hyperlink{classeo_gen_continue_acfd9820848f4969853878181d2c892c9}{eo\+Gen\+Continue}} (unsigned long \+\_\+total\+Gens)
|
|
\begin{DoxyCompactList}\small\item\em Ctor for setting a. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}\label{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}}
|
|
\mbox{\hyperlink{classeo_gen_continue_a868af7a1f782fcededbb4e0e9f6cf7a8}{eo\+Gen\+Continue}} (unsigned long \+\_\+total\+Gens, 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_gen_continue_af971bda54ab9f7a617af3147b562a5af}{operator()}} (const \mbox{\hyperlink{classeo_pop}{eo\+Pop}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$ \&\+\_\+v\+EO)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}{total\+Generations}} (unsigned long \+\_\+tg)
|
|
\item
|
|
virtual unsigned long \mbox{\hyperlink{classeo_gen_continue_a19457e732636b7ce424724a740562c79}{total\+Generations}} ()
|
|
\item
|
|
\mbox{\Hypertarget{classeo_gen_continue_a1b69fa8e649b1d7604307fec654cc33f}\label{classeo_gen_continue_a1b69fa8e649b1d7604307fec654cc33f}}
|
|
virtual std\+::string {\bfseries class\+Name} (void) const
|
|
\item
|
|
void \mbox{\hyperlink{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}{read\+From}} (std \+::istream \&\+\_\+\+\_\+is)
|
|
\item
|
|
void \mbox{\hyperlink{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}{print\+On}} (std \+::ostream \&\+\_\+\+\_\+os) const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Gen\+Continue$<$ E\+O\+T $>$}
|
|
|
|
Generational continuator\+: continues until a number of generations is reached
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classeo_gen_continue_af971bda54ab9f7a617af3147b562a5af}\label{classeo_gen_continue_af971bda54ab9f7a617af3147b562a5af}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual bool \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+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
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_gen_continue_af971bda54ab9f7a617af3147b562a5af}\label{classeo_gen_continue_af971bda54ab9f7a617af3147b562a5af}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual bool \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+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
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ const eo\+Pop$<$ E\+O\+T $>$ \&, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}\label{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!printOn@{printOn}}
|
|
\index{printOn@{printOn}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std \+::ostream \&}]{\+\_\+\+\_\+os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Print on a stream
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+\+\_\+os} & the ostream to print on \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}\label{classeo_gen_continue_a0f73b944bd4d8b87b66314d8fe620e48}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!printOn@{printOn}}
|
|
\index{printOn@{printOn}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{printOn()}{printOn()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::print\+On (\begin{DoxyParamCaption}\item[{std \+::ostream \&}]{\+\_\+\+\_\+os }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Print on a stream
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+\+\_\+os} & the ostream to print on \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}\label{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!readFrom@{readFrom}}
|
|
\index{readFrom@{readFrom}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std \+::istream \&}]{\+\_\+\+\_\+is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Read from a stream
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+\+\_\+is} & the istream to read from \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}\label{classeo_gen_continue_aabc757f832588342f5c92df3341e2b7d}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!readFrom@{readFrom}}
|
|
\index{readFrom@{readFrom}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{readFrom()}{readFrom()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::read\+From (\begin{DoxyParamCaption}\item[{std \+::istream \&}]{\+\_\+\+\_\+is }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Read from a stream
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+\+\_\+is} & the istream to read from \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\mbox{\Hypertarget{classeo_gen_continue_a19457e732636b7ce424724a740562c79}\label{classeo_gen_continue_a19457e732636b7ce424724a740562c79}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [1/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned long \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns the number of generations to reach \mbox{\Hypertarget{classeo_gen_continue_a19457e732636b7ce424724a740562c79}\label{classeo_gen_continue_a19457e732636b7ce424724a740562c79}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [2/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual unsigned long \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns the number of generations to reach \mbox{\Hypertarget{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}\label{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [3/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}\item[{unsigned long}]{\+\_\+tg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Sets the number of generations to reach and sets the current generation to 0 (the begin)
|
|
|
|
\begin{DoxyRefDesc}{Todo}
|
|
\item[\mbox{\hyperlink{todo__todo000021}{Todo}}]replace this by an \char`\"{}init\char`\"{} method \end{DoxyRefDesc}
|
|
\mbox{\Hypertarget{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}\label{classeo_gen_continue_a704f6ea59a619ef430b22d8a797794e8}}
|
|
\index{eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}!totalGenerations@{totalGenerations}}
|
|
\index{totalGenerations@{totalGenerations}!eoGenContinue$<$ EOT $>$@{eoGenContinue$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{totalGenerations()}{totalGenerations()}\hspace{0.1cm}{\footnotesize\ttfamily [4/4]}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classeo_gen_continue}{eo\+Gen\+Continue}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::total\+Generations (\begin{DoxyParamCaption}\item[{unsigned long}]{\+\_\+tg }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Sets the number of generations to reach and sets the current generation to 0 (the begin)
|
|
|
|
\begin{DoxyRefDesc}{Todo}
|
|
\item[\mbox{\hyperlink{todo__todo000004}{Todo}}]replace this by an \char`\"{}init\char`\"{} method \end{DoxyRefDesc}
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/eo\+Gen\+Continue.\+h\end{DoxyCompactItemize}
|