128 lines
7 KiB
TeX
128 lines
7 KiB
TeX
\hypertarget{classmo_dyn_span_cooling_schedule}{}\doxysection{mo\+Dyn\+Span\+Cooling\+Schedule$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classmo_dyn_span_cooling_schedule}\index{moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+Dyn\+Span\+Cooling\+Schedule.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+Dyn\+Span\+Cooling\+Schedule$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=298pt]{classmo_dyn_span_cooling_schedule__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+Dyn\+Span\+Cooling\+Schedule$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=298pt]{classmo_dyn_span_cooling_schedule__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmo_dyn_span_cooling_schedule_aa852caeaf254aacf95c473cfb81154ff}{mo\+Dyn\+Span\+Cooling\+Schedule}} (double \+\_\+initT, double \+\_\+alpha, unsigned int \+\_\+span\+Tries\+Max, unsigned int \+\_\+span\+Move\+Max, unsigned int \+\_\+nb\+Span\+Max)
|
|
\item
|
|
virtual double \mbox{\hyperlink{classmo_dyn_span_cooling_schedule_a6717352e0213692ceb811679affb9089}{init}} (\mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+solution)
|
|
\item
|
|
virtual void \mbox{\hyperlink{classmo_dyn_span_cooling_schedule_ab27c976fb5e5b887c932bbce1e595dbb}{update}} (double \&\+\_\+temp, bool \+\_\+accepted\+Move)
|
|
\item
|
|
virtual bool \mbox{\hyperlink{classmo_dyn_span_cooling_schedule_aa94d31196713fefba4967db0574b2e1c}{operator()}} (double \+\_\+temp)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class mo\+Dyn\+Span\+Cooling\+Schedule$<$ E\+O\+T $>$}
|
|
|
|
Cooling Schedule of the temperature in the simulated algorithm dynamic span \+: maximum number of tries and maximum number of moves stop on the number of span with no move
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmo_dyn_span_cooling_schedule_aa852caeaf254aacf95c473cfb81154ff}\label{classmo_dyn_span_cooling_schedule_aa852caeaf254aacf95c473cfb81154ff}}
|
|
\index{moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}!moDynSpanCoolingSchedule@{moDynSpanCoolingSchedule}}
|
|
\index{moDynSpanCoolingSchedule@{moDynSpanCoolingSchedule}!moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{moDynSpanCoolingSchedule()}{moDynSpanCoolingSchedule()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
\mbox{\hyperlink{classmo_dyn_span_cooling_schedule}{mo\+Dyn\+Span\+Cooling\+Schedule}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::\mbox{\hyperlink{classmo_dyn_span_cooling_schedule}{mo\+Dyn\+Span\+Cooling\+Schedule}} (\begin{DoxyParamCaption}\item[{double}]{\+\_\+initT, }\item[{double}]{\+\_\+alpha, }\item[{unsigned int}]{\+\_\+span\+Tries\+Max, }\item[{unsigned int}]{\+\_\+span\+Move\+Max, }\item[{unsigned int}]{\+\_\+nb\+Span\+Max }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
default constructor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+initT} & initial temperature \\
|
|
\hline
|
|
{\em \+\_\+alpha} & factor of decreasing \\
|
|
\hline
|
|
{\em \+\_\+span\+Tries\+Max} & maximum number of total move at equal temperature \\
|
|
\hline
|
|
{\em \+\_\+span\+Move\+Max} & maximum number of moves at equal temperature \\
|
|
\hline
|
|
{\em \+\_\+nb\+Span\+Max} & maximum number of span with no move before stopping the search \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmo_dyn_span_cooling_schedule_a6717352e0213692ceb811679affb9089}\label{classmo_dyn_span_cooling_schedule_a6717352e0213692ceb811679affb9089}}
|
|
\index{moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}!init@{init}}
|
|
\index{init@{init}!moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{init()}{init()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual double \mbox{\hyperlink{classmo_dyn_span_cooling_schedule}{mo\+Dyn\+Span\+Cooling\+Schedule}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::init (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{struct_dummy}{E\+OT}} \&}]{\+\_\+solution }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Initial temperature
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+solution} & initial solution \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classmo_cooling_schedule_a227ce6ed032c453e025d8f7cf01fa624}{mo\+Cooling\+Schedule$<$ E\+O\+T $>$}}.
|
|
|
|
\mbox{\Hypertarget{classmo_dyn_span_cooling_schedule_aa94d31196713fefba4967db0574b2e1c}\label{classmo_dyn_span_cooling_schedule_aa94d31196713fefba4967db0574b2e1c}}
|
|
\index{moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual bool \mbox{\hyperlink{classmo_dyn_span_cooling_schedule}{mo\+Dyn\+Span\+Cooling\+Schedule}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::operator() (\begin{DoxyParamCaption}\item[{double}]{\+\_\+temp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
compare the number of span with no move
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+temp} & current temperature \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
true if the search can continue
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_u_f_a786e028409366dc273e19104f17ba68a}{eo\+U\+F$<$ double, bool $>$}}.
|
|
|
|
\mbox{\Hypertarget{classmo_dyn_span_cooling_schedule_ab27c976fb5e5b887c932bbce1e595dbb}\label{classmo_dyn_span_cooling_schedule_ab27c976fb5e5b887c932bbce1e595dbb}}
|
|
\index{moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}!update@{update}}
|
|
\index{update@{update}!moDynSpanCoolingSchedule$<$ EOT $>$@{moDynSpanCoolingSchedule$<$ EOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{update()}{update()}}
|
|
{\footnotesize\ttfamily template$<$class E\+OT $>$ \\
|
|
virtual void \mbox{\hyperlink{classmo_dyn_span_cooling_schedule}{mo\+Dyn\+Span\+Cooling\+Schedule}}$<$ \mbox{\hyperlink{struct_dummy}{E\+OT}} $>$\+::update (\begin{DoxyParamCaption}\item[{double \&}]{\+\_\+temp, }\item[{bool}]{\+\_\+accepted\+Move }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
update the temperature by a factor
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+temp} & current temperature to update \\
|
|
\hline
|
|
{\em \+\_\+accepted\+Move} & true when the move is accepted, false otherwise \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classmo_cooling_schedule_afb04032f2cd9f875c918270c5d518014}{mo\+Cooling\+Schedule$<$ E\+O\+T $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/cooling\+Schedule/mo\+Dyn\+Span\+Cooling\+Schedule.\+h\end{DoxyCompactItemize}
|