122 lines
6 KiB
TeX
122 lines
6 KiB
TeX
\hypertarget{classmo_best_so_far_stat}{}\doxysection{mo\+Best\+So\+Far\+Stat$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classmo_best_so_far_stat}\index{moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+Best\+So\+Far\+Stat.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+Best\+So\+Far\+Stat$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_best_so_far_stat__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+Best\+So\+Far\+Stat$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{classmo_best_so_far_stat__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmo_best_so_far_stat_a18c41f607e8f369c526a1265e3a8a5da}{mo\+Best\+So\+Far\+Stat}} (bool \+\_\+re\+Init\+Sol=true)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classmo_best_so_far_stat_a3ab3c7319fb3adb70b6b6c1a5a34c6de}{init}} (\mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+sol)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classmo_best_so_far_stat_a7c2e47525a345c808ecc09598e62688c}{operator()}} (\mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+sol)
|
|
\item
|
|
virtual std\+::string \mbox{\hyperlink{classmo_best_so_far_stat_a3fbf4a9122c0f16f4b4fe376b7a59d27}{class\+Name}} (void) const
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Protected Attributes}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a531eed2d6625d71511b48d9688f7d794}\label{classmo_best_so_far_stat_a531eed2d6625d71511b48d9688f7d794}}
|
|
bool {\bfseries re\+Init\+Sol}
|
|
\item
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a7ae0633239e38404a546db7cdb9c7144}\label{classmo_best_so_far_stat_a7ae0633239e38404a546db7cdb9c7144}}
|
|
bool {\bfseries first\+Time}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class mo\+Best\+So\+Far\+Stat$<$ E\+O\+T $>$}
|
|
|
|
The statistic which save the best solution found during the search
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a18c41f607e8f369c526a1265e3a8a5da}\label{classmo_best_so_far_stat_a18c41f607e8f369c526a1265e3a8a5da}}
|
|
\index{moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}!moBestSoFarStat@{moBestSoFarStat}}
|
|
\index{moBestSoFarStat@{moBestSoFarStat}!moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moBestSoFarStat()}{moBestSoFarStat()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classmo_best_so_far_stat}{mo\+Best\+So\+Far\+Stat}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classmo_best_so_far_stat}{mo\+Best\+So\+Far\+Stat}} (\begin{DoxyParamCaption}\item[{bool}]{\+\_\+re\+Init\+Sol = {\ttfamily true} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Default Constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+re\+Init\+Sol} & when true the best so far is reinitialized \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a3fbf4a9122c0f16f4b4fe376b7a59d27}\label{classmo_best_so_far_stat_a3fbf4a9122c0f16f4b4fe376b7a59d27}}
|
|
\index{moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}!className@{className}}
|
|
\index{className@{className}!moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{className()}{className()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual std\+::string \mbox{\hyperlink{classmo_best_so_far_stat}{mo\+Best\+So\+Far\+Stat}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::class\+Name (\begin{DoxyParamCaption}\item[{void}]{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
\begin{DoxyReturn}{Returns}
|
|
name of the class
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classeo_functor_base}{eo\+Functor\+Base}}.
|
|
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a3ab3c7319fb3adb70b6b6c1a5a34c6de}\label{classmo_best_so_far_stat_a3ab3c7319fb3adb70b6b6c1a5a34c6de}}
|
|
\index{moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}!init@{init}}
|
|
\index{init@{init}!moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{init()}{init()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classmo_best_so_far_stat}{mo\+Best\+So\+Far\+Stat}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_dummy}{E\+OT}} \&}]{\+\_\+sol }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Initialization of the best solution on the first one
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+sol} & the first solution \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Reimplemented from \mbox{\hyperlink{classmo_stat_base_a283efc00343f493a562ecac8224f6b52}{mo\+Stat\+Base$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classmo_best_so_far_stat_a7c2e47525a345c808ecc09598e62688c}\label{classmo_best_so_far_stat_a7c2e47525a345c808ecc09598e62688c}}
|
|
\index{moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moBestSoFarStat$<$ EOT $>$@{moBestSoFarStat$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classmo_best_so_far_stat}{mo\+Best\+So\+Far\+Stat}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_dummy}{E\+OT}} \&}]{\+\_\+sol }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Update the best solution
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+sol} & the current solution \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ E\+O\+T \&, void $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/continuator/mo\+Best\+So\+Far\+Stat.\+h\end{DoxyCompactItemize}
|