deleted useless mo.doxyfile
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@592 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
f5c3ea10be
commit
d8fd28a192
237 changed files with 2409 additions and 5083 deletions
|
|
@ -1,37 +1,37 @@
|
|||
\section{PARADISEO-MO Class List}
|
||||
Here are the classes, structs, unions and interfaces with brief descriptions:\begin{CompactList}
|
||||
\item\contentsline{section}{{\bf EmptySelection} (Special class that describes the case of no selection )}{\pageref{class_empty_selection}}{}
|
||||
\item\contentsline{section}{{\bf moAlgo$<$ EOT $>$} (Description of an algorithm of the paradiseo-mo library )}{\pageref{classmo_algo}}{}
|
||||
\item\contentsline{section}{{\bf moAspirCrit$<$ M $>$} (Description of the conditions in which a tabu move could be accepted )}{\pageref{classmo_aspir_crit}}{}
|
||||
\item\contentsline{section}{{\bf moBestImprSelect$<$ M $>$} (One of the possible \doxyref{moMoveSelect}{p.}{classmo_move_select} )}{\pageref{classmo_best_impr_select}}{}
|
||||
\item\contentsline{section}{{\bf moCoolingSchedule} (This class gives the description of a cooling schedule )}{\pageref{classmo_cooling_schedule}}{}
|
||||
\item\contentsline{section}{{\bf moExponentialCoolingSchedule} (One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_exponential_cooling_schedule}}{}
|
||||
\item\contentsline{section}{{\bf moFirstImprSelect$<$ M $>$} (One possible \doxyref{moMoveSelect}{p.}{classmo_move_select} )}{\pageref{classmo_first_impr_select}}{}
|
||||
\item\contentsline{section}{{\bf moFitSolContinue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_fit_sol_continue}}{}
|
||||
\item\contentsline{section}{{\bf moGenSolContinue$<$ EOT $>$} (One possible stopping criterion for a solution-based heuristic )}{\pageref{classmo_gen_sol_continue}}{}
|
||||
\item\contentsline{section}{{\bf moHC$<$ M $>$} (Hill Climbing (HC) )}{\pageref{classmo_h_c}}{}
|
||||
\item\contentsline{section}{{\bf moHCMoveLoopExpl$<$ M $>$} (Iterative explorer used by a \doxyref{moHC}{p.}{classmo_h_c} )}{\pageref{classmo_h_c_move_loop_expl}}{}
|
||||
\item\contentsline{section}{{\bf moImprBestFitAspirCrit$<$ M $>$} (One of the possible \doxyref{moAspirCrit}{p.}{classmo_aspir_crit} )}{\pageref{classmo_impr_best_fit_aspir_crit}}{}
|
||||
\item\contentsline{section}{{\bf moItRandNextMove$<$ M $>$} (One of the possible \doxyref{moNextMove}{p.}{classmo_next_move} )}{\pageref{classmo_it_rand_next_move}}{}
|
||||
\item\contentsline{section}{{\bf moLinearCoolingSchedule} (One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_linear_cooling_schedule}}{}
|
||||
\item\contentsline{section}{{\bf moLSCheckPoint$<$ M $>$} (Class which allows a checkpointing system )}{\pageref{classmo_l_s_check_point}}{}
|
||||
\item\contentsline{section}{{\bf moMove$<$ EOT $>$} (Definition of a move )}{\pageref{classmo_move}}{}
|
||||
\item\contentsline{section}{{\bf moMoveExpl$<$ M $>$} (Description of a move (\doxyref{moMove}{p.}{classmo_move}) explorer )}{\pageref{classmo_move_expl}}{}
|
||||
\item\contentsline{section}{{\bf moMoveIncrEval$<$ M $>$} ((generally) Efficient evaluation function based a move and a solution )}{\pageref{classmo_move_incr_eval}}{}
|
||||
\item\contentsline{section}{{\bf moMoveInit$<$ M $>$} (Move (\doxyref{moMove}{p.}{classmo_move}) initializer )}{\pageref{classmo_move_init}}{}
|
||||
\item\contentsline{section}{{\bf moMoveLoopExpl$<$ M $>$} (Class which describes an iterative explorer )}{\pageref{classmo_move_loop_expl}}{}
|
||||
\item\contentsline{section}{{\bf moMoveSelect$<$ M $>$} (Class that describes a move selector (\doxyref{moMove}{p.}{classmo_move}) )}{\pageref{classmo_move_select}}{}
|
||||
\item\contentsline{section}{{\bf moNextMove$<$ M $>$} (Class which allows to generate a new move (\doxyref{moMove}{p.}{classmo_move}) )}{\pageref{classmo_next_move}}{}
|
||||
\item\contentsline{section}{{\bf moNoAspirCrit$<$ M $>$} (One of the possible aspiration criterion (\doxyref{moAspirCrit}{p.}{classmo_aspir_crit}) )}{\pageref{classmo_no_aspir_crit}}{}
|
||||
\item\contentsline{section}{{\bf moNoFitImprSolContinue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_no_fit_impr_sol_continue}}{}
|
||||
\item\contentsline{section}{{\bf moRandImprSelect$<$ M $>$} (One of the possible \doxyref{moMove}{p.}{classmo_move} selector (\doxyref{moMoveSelect}{p.}{classmo_move_select}) )}{\pageref{classmo_rand_impr_select}}{}
|
||||
\item\contentsline{section}{{\bf moRandMove$<$ M $>$} (Random move generator )}{\pageref{classmo_rand_move}}{}
|
||||
\item\contentsline{section}{{\bf moSA$<$ M $>$} (Simulated Annealing (SA) )}{\pageref{classmo_s_a}}{}
|
||||
\item\contentsline{section}{{\bf moSimpleMoveTabuList$<$ M $>$} (Class describing a move tabu list with a limited memory )}{\pageref{classmo_simple_move_tabu_list}}{}
|
||||
\item\contentsline{section}{{\bf moSimpleSolutionTabuList$<$ M $>$} (Class describing a solution tabu list with limited length )}{\pageref{classmo_simple_solution_tabu_list}}{}
|
||||
\item\contentsline{section}{{\bf moSolContinue$<$ EOT $>$} (Class that describes a stopping criterion for a solution-based heuristic )}{\pageref{classmo_sol_continue}}{}
|
||||
\item\contentsline{section}{{\bf moSteadyFitSolContinue$<$ EOT $>$} (One possible stopping criterion for a solution-based heuristic )}{\pageref{classmo_steady_fit_sol_continue}}{}
|
||||
\item\contentsline{section}{{\bf moTabuList$<$ M $>$} (Class describing a tabu list that a \doxyref{moTS}{p.}{classmo_t_s} uses )}{\pageref{classmo_tabu_list}}{}
|
||||
\item\contentsline{section}{{\bf moTS$<$ M $>$} (Tabu Search (TS) )}{\pageref{classmo_t_s}}{}
|
||||
\item\contentsline{section}{{\bf moTSMoveLoopExpl$<$ M $>$} (Explorer for a Tabu Search algorithm )}{\pageref{classmo_t_s_move_loop_expl}}{}
|
||||
\item\contentsline{section}{\bf{Empty\-Selection} (Special class that describes the case of no selection )}{\pageref{class_empty_selection}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Algo$<$ EOT $>$} (Description of an algorithm of the paradiseo-mo library )}{\pageref{classmo_algo}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Aspir\-Crit$<$ M $>$} (Description of the conditions in which a tabu move could be accepted )}{\pageref{classmo_aspir_crit}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Best\-Impr\-Select$<$ M $>$} (One of the possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select} )}{\pageref{classmo_best_impr_select}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Cooling\-Schedule} (This class gives the description of a cooling schedule )}{\pageref{classmo_cooling_schedule}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Exponential\-Cooling\-Schedule} (One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_exponential_cooling_schedule}}{}
|
||||
\item\contentsline{section}{\bf{mo\-First\-Impr\-Select$<$ M $>$} (One possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select} )}{\pageref{classmo_first_impr_select}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Fit\-Sol\-Continue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_fit_sol_continue}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Gen\-Sol\-Continue$<$ EOT $>$} (One possible stopping criterion for a solution-based heuristic )}{\pageref{classmo_gen_sol_continue}}{}
|
||||
\item\contentsline{section}{\bf{mo\-HC$<$ M $>$} (Hill Climbing (HC) )}{\pageref{classmo_h_c}}{}
|
||||
\item\contentsline{section}{\bf{mo\-HCMove\-Loop\-Expl$<$ M $>$} (Iterative explorer used by a \doxyref{mo\-HC}{p.}{classmo_h_c} )}{\pageref{classmo_h_c_move_loop_expl}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$} (One of the possible \doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit} )}{\pageref{classmo_impr_best_fit_aspir_crit}}{}
|
||||
\item\contentsline{section}{\bf{mo\-It\-Rand\-Next\-Move$<$ M $>$} (One of the possible \doxyref{mo\-Next\-Move}{p.}{classmo_next_move} )}{\pageref{classmo_it_rand_next_move}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Linear\-Cooling\-Schedule} (One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule} )}{\pageref{classmo_linear_cooling_schedule}}{}
|
||||
\item\contentsline{section}{\bf{mo\-LSCheck\-Point$<$ M $>$} (Class which allows a checkpointing system )}{\pageref{classmo_l_s_check_point}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move$<$ EOT $>$} (Definition of a move )}{\pageref{classmo_move}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move\-Expl$<$ M $>$} (Description of a move (\doxyref{mo\-Move}{p.}{classmo_move}) explorer )}{\pageref{classmo_move_expl}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move\-Incr\-Eval$<$ M $>$} ((generally) Efficient evaluation function based a move and a solution )}{\pageref{classmo_move_incr_eval}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move\-Init$<$ M $>$} (Move (\doxyref{mo\-Move}{p.}{classmo_move}) initializer )}{\pageref{classmo_move_init}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move\-Loop\-Expl$<$ M $>$} (Class which describes an iterative explorer )}{\pageref{classmo_move_loop_expl}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Move\-Select$<$ M $>$} (Class that describes a move selector (\doxyref{mo\-Move}{p.}{classmo_move}) )}{\pageref{classmo_move_select}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Next\-Move$<$ M $>$} (Class which allows to generate a new move (\doxyref{mo\-Move}{p.}{classmo_move}) )}{\pageref{classmo_next_move}}{}
|
||||
\item\contentsline{section}{\bf{mo\-No\-Aspir\-Crit$<$ M $>$} (One of the possible aspiration criterion (\doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit}) )}{\pageref{classmo_no_aspir_crit}}{}
|
||||
\item\contentsline{section}{\bf{mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$} (One possible stop criterion for a solution-based heuristic )}{\pageref{classmo_no_fit_impr_sol_continue}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Rand\-Impr\-Select$<$ M $>$} (One of the possible \doxyref{mo\-Move}{p.}{classmo_move} selector (\doxyref{mo\-Move\-Select}{p.}{classmo_move_select}) )}{\pageref{classmo_rand_impr_select}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Rand\-Move$<$ M $>$} (Random move generator )}{\pageref{classmo_rand_move}}{}
|
||||
\item\contentsline{section}{\bf{mo\-SA$<$ M $>$} (Simulated Annealing (SA) )}{\pageref{classmo_s_a}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Simple\-Move\-Tabu\-List$<$ M $>$} (Class describing a move tabu list with a limited memory )}{\pageref{classmo_simple_move_tabu_list}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$} (Class describing a solution tabu list with limited length )}{\pageref{classmo_simple_solution_tabu_list}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Sol\-Continue$<$ EOT $>$} (Class that describes a stopping criterion for a solution-based heuristic )}{\pageref{classmo_sol_continue}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$} (One possible stopping criterion for a solution-based heuristic )}{\pageref{classmo_steady_fit_sol_continue}}{}
|
||||
\item\contentsline{section}{\bf{mo\-Tabu\-List$<$ M $>$} (Class describing a tabu list that a \doxyref{mo\-TS}{p.}{classmo_t_s} uses )}{\pageref{classmo_tabu_list}}{}
|
||||
\item\contentsline{section}{\bf{mo\-TS$<$ M $>$} (Tabu Search (TS) )}{\pageref{classmo_t_s}}{}
|
||||
\item\contentsline{section}{\bf{mo\-TSMove\-Loop\-Expl$<$ M $>$} (Explorer for a Tabu Search algorithm )}{\pageref{classmo_t_s_move_loop_expl}}{}
|
||||
\end{CompactList}
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
\section{EmptySelection Class Reference}
|
||||
\section{Empty\-Selection Class Reference}
|
||||
\label{class_empty_selection}\index{EmptySelection@{EmptySelection}}
|
||||
Special class that describes the case of no selection.
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveSelect.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Select.h$>$}
|
||||
|
||||
|
||||
|
||||
|
|
@ -14,8 +14,8 @@ This class is used as an exception that can be thrown if a solution selector has
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moMoveSelect.h.
|
||||
Definition at line 21 of file mo\-Move\-Select.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveSelect.h\end{CompactItemize}
|
||||
mo\-Move\-Select.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,29 +1,23 @@
|
|||
\section{moAlgo$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Algo$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_algo}\index{moAlgo@{moAlgo}}
|
||||
Description of an algorithm of the paradiseo-mo library.
|
||||
|
||||
|
||||
{\tt \#include $<$moAlgo.h$>$}
|
||||
{\tt \#include $<$mo\-Algo.h$>$}
|
||||
|
||||
Inheritance diagram for moAlgo$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_algo}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moAlgo$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Algo$<$ EOT $>$}
|
||||
|
||||
Description of an algorithm of the paradiseo-mo library.
|
||||
|
||||
\doxyref{moHC}{p.}{classmo_h_c}, \doxyref{moTS}{p.}{classmo_t_s} and \doxyref{moSA}{p.}{classmo_s_a} are 3 examples of algorithm of the paradiseo-mo library.
|
||||
\doxyref{mo\-HC}{p.}{classmo_h_c}, \doxyref{mo\-TS}{p.}{classmo_t_s} and \doxyref{mo\-SA}{p.}{classmo_s_a} are 3 examples of algorithm of the paradiseo-mo library.
|
||||
|
||||
|
||||
|
||||
Definition at line 21 of file moAlgo.h.
|
||||
Definition at line 21 of file mo\-Algo.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moAlgo.h\end{CompactItemize}
|
||||
mo\-Algo.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 119.76
|
||||
%%BoundingBox: 0 0 500 109.29
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 4.175 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 4.575 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moAspirCrit< M >) cw
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moImprBestFitAspirCrit< M >) cw
|
||||
(moNoAspirCrit< M >) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
|
|
@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moAspirCrit< M >) 0.5 1 box
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) 0.5 2 box
|
||||
(eoFunctorBase) 0.5 3 box
|
||||
(moImprBestFitAspirCrit< M >) 0 0 box
|
||||
(moNoAspirCrit< M >) 1 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
1 0.5 3 in
|
||||
solid
|
||||
1 0.5 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,46 +1,46 @@
|
|||
\section{moAspirCrit$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Aspir\-Crit$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_aspir_crit}\index{moAspirCrit@{moAspirCrit}}
|
||||
Description of the conditions in which a tabu move could be accepted.
|
||||
|
||||
|
||||
{\tt \#include $<$moAspirCrit.h$>$}
|
||||
{\tt \#include $<$mo\-Aspir\-Crit.h$>$}
|
||||
|
||||
Inheritance diagram for moAspirCrit$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Aspir\-Crit$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3.35329cm]{classmo_aspir_crit}
|
||||
\includegraphics[height=2cm]{classmo_aspir_crit}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
virtual void {\bf init} ()=0
|
||||
virtual void \bf{init} ()=0
|
||||
\begin{CompactList}\small\item\em Procedure which initialises all that needs a aspiration criterion. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moAspirCrit$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Aspir\-Crit$<$ M $>$}
|
||||
|
||||
Description of the conditions in which a tabu move could be accepted.
|
||||
|
||||
It is only a description... An object that herits from this class is needed to be used in a \doxyref{moTS}{p.}{classmo_t_s}. See moNoAspriCrit for example.
|
||||
It is only a description... An object that herits from this class is needed to be used in a \doxyref{mo\-TS}{p.}{classmo_t_s}. See mo\-No\-Aspri\-Crit for example.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moAspirCrit.h.
|
||||
Definition at line 22 of file mo\-Aspir\-Crit.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moAspirCrit@{moAspirCrit}!init@{init}}
|
||||
\index{init@{init}!moAspirCrit@{moAspirCrit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moAspirCrit}$<$ M $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_aspir_crit_a8ce84510a5ec7c9078381e542c6d140}
|
||||
\index{moAspirCrit@{mo\-Aspir\-Crit}!init@{init}}
|
||||
\index{init@{init}!moAspirCrit@{mo\-Aspir\-Crit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-Aspir\-Crit}$<$ M $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_aspir_crit_a8ce84510a5ec7c9078381e542c6d140}
|
||||
|
||||
|
||||
Procedure which initialises all that needs a aspiration criterion.
|
||||
|
||||
It can be possible that this procedure do nothing...
|
||||
|
||||
Implemented in {\bf moImprBestFitAspirCrit$<$ M $>$} \doxyref{}{p.}{classmo_impr_best_fit_aspir_crit_ffa451a14ff4ea86fb8bd9fdbc348630}, and {\bf moNoAspirCrit$<$ M $>$} \doxyref{}{p.}{classmo_no_aspir_crit_f3a286fc4c2d36bd390ba9a3074f3037}.
|
||||
Implemented in \bf{mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$} \doxyref{p.}{classmo_impr_best_fit_aspir_crit_ffa451a14ff4ea86fb8bd9fdbc348630}, and \bf{mo\-No\-Aspir\-Crit$<$ M $>$} \doxyref{p.}{classmo_no_aspir_crit_f3a286fc4c2d36bd390ba9a3074f3037}.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moAspirCrit.h\end{CompactItemize}
|
||||
mo\-Aspir\-Crit.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 303.03
|
||||
%%BoundingBox: 0 0 500 259.74
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.925 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moBestImprSelect< M >) cw
|
||||
(moMoveSelect< M >) cw
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moBestImprSelect< M >) 0 0 box
|
||||
(moMoveSelect< M >) 0 1 box
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,66 +1,66 @@
|
|||
\section{moBestImprSelect$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Best\-Impr\-Select$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_best_impr_select}\index{moBestImprSelect@{moBestImprSelect}}
|
||||
One of the possible \doxyref{moMoveSelect}{p.}{classmo_move_select}.
|
||||
One of the possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select}.
|
||||
|
||||
|
||||
{\tt \#include $<$moBestImprSelect.h$>$}
|
||||
{\tt \#include $<$mo\-Best\-Impr\-Select.h$>$}
|
||||
|
||||
Inheritance diagram for moBestImprSelect$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Best\-Impr\-Select$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_best_impr_select}
|
||||
\includegraphics[height=2cm]{classmo_best_impr_select}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_best_impr_select_c4ae17435221fb0a8e8acd285210cfcb}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_best_impr_select_c4ae17435221fb0a8e8acd285210cfcb}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
void {\bf init} (const {\bf Fitness} \&\_\-\_\-fit)\label{classmo_best_impr_select_2d2abf9aa17dc77cbb4f41810ab7b956}
|
||||
void \bf{init} (const \bf{Fitness} \&\_\-\_\-fit)\label{classmo_best_impr_select_2d2abf9aa17dc77cbb4f41810ab7b956}
|
||||
|
||||
\begin{CompactList}\small\item\em Procedure which initialise the exploration. \item\end{CompactList}\item
|
||||
bool {\bf update} (const M \&\_\-\_\-move, const {\bf Fitness} \&\_\-\_\-fit)
|
||||
bool \bf{update} (const M \&\_\-\_\-move, const \bf{Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Function that indicates if the current move has not improved the fitness. \item\end{CompactList}\item
|
||||
void {\bf operator()} (M \&\_\-\_\-move, {\bf Fitness} \&\_\-\_\-fit) throw (EmptySelection)
|
||||
void \bf{operator()} (M \&\_\-\_\-move, \bf{Fitness} \&\_\-\_\-fit) throw (Empty\-Selection)
|
||||
\begin{CompactList}\small\item\em Procedure which saved the best move and fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
bool {\bf first\_\-time}\label{classmo_best_impr_select_352b14d206b0772eb9f40efb7beb0f13}
|
||||
bool \bf{first\_\-time}\label{classmo_best_impr_select_352b14d206b0772eb9f40efb7beb0f13}
|
||||
|
||||
\begin{CompactList}\small\item\em Allowing to know if at least one move has been generated. \item\end{CompactList}\item
|
||||
M {\bf best\_\-move}\label{classmo_best_impr_select_bd86f70519f954c07ff0d8a2a3a8ff6a}
|
||||
M \bf{best\_\-move}\label{classmo_best_impr_select_bd86f70519f954c07ff0d8a2a3a8ff6a}
|
||||
|
||||
\begin{CompactList}\small\item\em The best move. \item\end{CompactList}\item
|
||||
{\bf Fitness} {\bf best\_\-fit}\label{classmo_best_impr_select_dcac897424b5805f146bb1dbb429f2fe}
|
||||
\bf{Fitness} \bf{best\_\-fit}\label{classmo_best_impr_select_dcac897424b5805f146bb1dbb429f2fe}
|
||||
|
||||
\begin{CompactList}\small\item\em The best fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moBestImprSelect$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Best\-Impr\-Select$<$ M $>$}
|
||||
|
||||
One of the possible \doxyref{moMoveSelect}{p.}{classmo_move_select}.
|
||||
One of the possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select}.
|
||||
|
||||
All neighbors are considered, and the movement which enables the best improvement is selected.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moBestImprSelect.h.
|
||||
Definition at line 22 of file mo\-Best\-Impr\-Select.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moBestImprSelect@{moBestImprSelect}!update@{update}}
|
||||
\index{update@{update}!moBestImprSelect@{moBestImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moBestImprSelect}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_best_impr_select_d10e3e6f8a0277731e95ef506d064d6d}
|
||||
\index{moBestImprSelect@{mo\-Best\-Impr\-Select}!update@{update}}
|
||||
\index{update@{update}!moBestImprSelect@{mo\-Best\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-Best\-Impr\-Select}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_best_impr_select_d10e3e6f8a0277731e95ef506d064d6d}
|
||||
|
||||
|
||||
Function that indicates if the current move has not improved the fitness.
|
||||
|
||||
If the given fitness enables an improvement, the move (\doxyref{moMove}{p.}{classmo_move}) and the fitness linked to this move are saved.
|
||||
If the given fitness enables an improvement, the move (\doxyref{mo\-Move}{p.}{classmo_move}) and the fitness linked to this move are saved.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -71,13 +71,13 @@ If the given fitness enables an improvement, the move (\doxyref{moMove}{p.}{clas
|
|||
\item[Returns:]TRUE if the move does not improve the fitness. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf moMoveSelect$<$ M $>$} \doxyref{}{p.}{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}.
|
||||
Implements \bf{mo\-Move\-Select$<$ M $>$} \doxyref{p.}{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}.
|
||||
|
||||
Definition at line 47 of file moBestImprSelect.h.
|
||||
Definition at line 47 of file mo\-Best\-Impr\-Select.h.
|
||||
|
||||
References moBestImprSelect$<$ M $>$::best\_\-fit, moBestImprSelect$<$ M $>$::best\_\-move, and moBestImprSelect$<$ M $>$::first\_\-time.\index{moBestImprSelect@{moBestImprSelect}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moBestImprSelect@{moBestImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moBestImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_best_impr_select_169773d4d127acd782cf379f758222da}
|
||||
References mo\-Best\-Impr\-Select$<$ M $>$::best\_\-fit, mo\-Best\-Impr\-Select$<$ M $>$::best\_\-move, and mo\-Best\-Impr\-Select$<$ M $>$::first\_\-time.\index{moBestImprSelect@{mo\-Best\-Impr\-Select}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moBestImprSelect@{mo\-Best\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Best\-Impr\-Select}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, \bf{Fitness} \& {\em \_\-\_\-fit}) throw (\bf{Empty\-Selection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_best_impr_select_169773d4d127acd782cf379f758222da}
|
||||
|
||||
|
||||
Procedure which saved the best move and fitness.
|
||||
|
|
@ -90,16 +90,14 @@ Procedure which saved the best move and fitness.
|
|||
\begin{Desc}
|
||||
\item[Exceptions:]
|
||||
\begin{description}
|
||||
\item[{\em \doxyref{EmptySelection}{p.}{class_empty_selection}}]if no move has improved the fitness. \end{description}
|
||||
\item[{\em \doxyref{Empty\-Selection}{p.}{class_empty_selection}}]if no move has improved the fitness. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}.
|
||||
Definition at line 65 of file mo\-Best\-Impr\-Select.h.
|
||||
|
||||
Definition at line 65 of file moBestImprSelect.h.
|
||||
|
||||
References moBestImprSelect$<$ M $>$::best\_\-fit, moBestImprSelect$<$ M $>$::best\_\-move, and moBestImprSelect$<$ M $>$::first\_\-time.
|
||||
References mo\-Best\-Impr\-Select$<$ M $>$::best\_\-fit, mo\-Best\-Impr\-Select$<$ M $>$::best\_\-move, and mo\-Best\-Impr\-Select$<$ M $>$::first\_\-time.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moBestImprSelect.h\end{CompactItemize}
|
||||
mo\-Best\-Impr\-Select.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 203.046
|
||||
%%BoundingBox: 0 0 500 101.523
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 2.4625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 4.925 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moCoolingSchedule) cw
|
||||
(eoUF< double &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moExponentialCoolingSchedule) cw
|
||||
(moLinearCoolingSchedule) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
|
|
@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moCoolingSchedule) 0.5 1 box
|
||||
(eoUF< double &, bool >) 0.5 2 box
|
||||
(eoFunctorBase) 0.5 3 box
|
||||
(moExponentialCoolingSchedule) 0 0 box
|
||||
(moLinearCoolingSchedule) 1 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
1 0.5 3 in
|
||||
solid
|
||||
1 0.5 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
\section{moCoolingSchedule Class Reference}
|
||||
\section{mo\-Cooling\-Schedule Class Reference}
|
||||
\label{classmo_cooling_schedule}\index{moCoolingSchedule@{moCoolingSchedule}}
|
||||
This class gives the description of a cooling schedule.
|
||||
|
||||
|
||||
{\tt \#include $<$moCoolingSchedule.h$>$}
|
||||
{\tt \#include $<$mo\-Cooling\-Schedule.h$>$}
|
||||
|
||||
Inheritance diagram for moCoolingSchedule::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Cooling\-Schedule::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_cooling_schedule}
|
||||
\includegraphics[height=2cm]{classmo_cooling_schedule}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
|
@ -16,12 +16,12 @@ Inheritance diagram for moCoolingSchedule::\begin{figure}[H]
|
|||
\subsection{Detailed Description}
|
||||
This class gives the description of a cooling schedule.
|
||||
|
||||
It is only a description... An object that herits from this class is needed to be used in a \doxyref{moSA}{p.}{classmo_s_a}. See \doxyref{moExponentialCoolingSchedule}{p.}{classmo_exponential_cooling_schedule} or \doxyref{moLinearCoolingSchedule}{p.}{classmo_linear_cooling_schedule} for example.
|
||||
It is only a description... An object that herits from this class is needed to be used in a \doxyref{mo\-SA}{p.}{classmo_s_a}. See \doxyref{mo\-Exponential\-Cooling\-Schedule}{p.}{classmo_exponential_cooling_schedule} or \doxyref{mo\-Linear\-Cooling\-Schedule}{p.}{classmo_linear_cooling_schedule} for example.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moCoolingSchedule.h.
|
||||
Definition at line 22 of file mo\-Cooling\-Schedule.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moCoolingSchedule.h\end{CompactItemize}
|
||||
mo\-Cooling\-Schedule.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 406.091
|
||||
%%BoundingBox: 0 0 500 203.046
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.23125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.4625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moExponentialCoolingSchedule) cw
|
||||
(moCoolingSchedule) cw
|
||||
(eoUF< double &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moExponentialCoolingSchedule) 0 0 box
|
||||
(moCoolingSchedule) 0 1 box
|
||||
(eoUF< double &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
\section{moExponentialCoolingSchedule Class Reference}
|
||||
\section{mo\-Exponential\-Cooling\-Schedule Class Reference}
|
||||
\label{classmo_exponential_cooling_schedule}\index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}}
|
||||
One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}.
|
||||
One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule}.
|
||||
|
||||
|
||||
{\tt \#include $<$moExponentialCoolingSchedule.h$>$}
|
||||
{\tt \#include $<$mo\-Exponential\-Cooling\-Schedule.h$>$}
|
||||
|
||||
Inheritance diagram for moExponentialCoolingSchedule::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Exponential\-Cooling\-Schedule::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_exponential_cooling_schedule}
|
||||
\includegraphics[height=2cm]{classmo_exponential_cooling_schedule}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moExponentialCoolingSchedule} (double \_\-\_\-threshold, double \_\-\_\-ratio)
|
||||
\bf{mo\-Exponential\-Cooling\-Schedule} (double \_\-\_\-threshold, double \_\-\_\-ratio)
|
||||
\begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (double \&\_\-\_\-temp)
|
||||
bool \bf{operator()} (double \&\_\-\_\-temp)
|
||||
\begin{CompactList}\small\item\em Function which proceeds to the cooling. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
double {\bf threshold}\label{classmo_exponential_cooling_schedule_8d4327c0bb33b7121a322279eea97f84}
|
||||
double \bf{threshold}\label{classmo_exponential_cooling_schedule_8d4327c0bb33b7121a322279eea97f84}
|
||||
|
||||
\begin{CompactList}\small\item\em The temperature threhold. \item\end{CompactList}\item
|
||||
double {\bf ratio}\label{classmo_exponential_cooling_schedule_e8f3f87417c1c7253efb938a740846fa}
|
||||
double \bf{ratio}\label{classmo_exponential_cooling_schedule_e8f3f87417c1c7253efb938a740846fa}
|
||||
|
||||
\begin{CompactList}\small\item\em The decreasing factor of the temperature. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}.
|
||||
One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule}.
|
||||
|
||||
An other very simple cooling schedule, the temperature decrease according to a ratio while the temperature is greater than a given threshold.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moExponentialCoolingSchedule.h.
|
||||
Definition at line 22 of file mo\-Exponential\-Cooling\-Schedule.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}!moExponentialCoolingSchedule@{moExponentialCoolingSchedule}}
|
||||
\index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}!moExponentialCoolingSchedule@{moExponentialCoolingSchedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}moExponentialCoolingSchedule::moExponentialCoolingSchedule (double {\em \_\-\_\-threshold}, double {\em \_\-\_\-ratio})\hspace{0.3cm}{\tt [inline]}}\label{classmo_exponential_cooling_schedule_b01930c1051c0940666c6325bfd036bc}
|
||||
\index{moExponentialCoolingSchedule@{mo\-Exponential\-Cooling\-Schedule}!moExponentialCoolingSchedule@{moExponentialCoolingSchedule}}
|
||||
\index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}!moExponentialCoolingSchedule@{mo\-Exponential\-Cooling\-Schedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}mo\-Exponential\-Cooling\-Schedule::mo\-Exponential\-Cooling\-Schedule (double {\em \_\-\_\-threshold}, double {\em \_\-\_\-ratio})\hspace{0.3cm}{\tt [inline]}}\label{classmo_exponential_cooling_schedule_b01930c1051c0940666c6325bfd036bc}
|
||||
|
||||
|
||||
Basic constructor.
|
||||
|
|
@ -53,12 +53,12 @@ Basic constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 31 of file moExponentialCoolingSchedule.h.
|
||||
Definition at line 31 of file mo\-Exponential\-Cooling\-Schedule.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moExponentialCoolingSchedule@{moExponentialCoolingSchedule}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moExponentialCoolingSchedule@{moExponentialCoolingSchedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moExponentialCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_exponential_cooling_schedule_00642b03453b51612a10fcf2280543db}
|
||||
\index{moExponentialCoolingSchedule@{mo\-Exponential\-Cooling\-Schedule}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moExponentialCoolingSchedule@{mo\-Exponential\-Cooling\-Schedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool mo\-Exponential\-Cooling\-Schedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline]}}\label{classmo_exponential_cooling_schedule_00642b03453b51612a10fcf2280543db}
|
||||
|
||||
|
||||
Function which proceeds to the cooling.
|
||||
|
|
@ -74,12 +74,10 @@ It decreases the temperature and indicates if it is greater than the threshold.
|
|||
\item[Returns:]if the new temperature (current temperature $\ast$ ratio) is greater than the threshold. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ double \&, bool $>$}.
|
||||
|
||||
Definition at line 41 of file moExponentialCoolingSchedule.h.
|
||||
Definition at line 41 of file mo\-Exponential\-Cooling\-Schedule.h.
|
||||
|
||||
References ratio, and threshold.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moExponentialCoolingSchedule.h\end{CompactItemize}
|
||||
mo\-Exponential\-Cooling\-Schedule.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 303.03
|
||||
%%BoundingBox: 0 0 500 258.065
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.9375 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moFirstImprSelect< M >) cw
|
||||
(moMoveSelect< M >) cw
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moFirstImprSelect< M >) 0 0 box
|
||||
(moMoveSelect< M >) 0 1 box
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,81 +1,81 @@
|
|||
\section{moFirstImprSelect$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-First\-Impr\-Select$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_first_impr_select}\index{moFirstImprSelect@{moFirstImprSelect}}
|
||||
One possible \doxyref{moMoveSelect}{p.}{classmo_move_select}.
|
||||
One possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select}.
|
||||
|
||||
|
||||
{\tt \#include $<$moFirstImprSelect.h$>$}
|
||||
{\tt \#include $<$mo\-First\-Impr\-Select.h$>$}
|
||||
|
||||
Inheritance diagram for moFirstImprSelect$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-First\-Impr\-Select$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_first_impr_select}
|
||||
\includegraphics[height=2cm]{classmo_first_impr_select}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_first_impr_select_64763ce3e6d2873266624382b407fa5a}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_first_impr_select_64763ce3e6d2873266624382b407fa5a}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
virtual void {\bf init} (const {\bf Fitness} \&\_\-\_\-fit)
|
||||
virtual void \bf{init} (const \bf{Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Procedure which initialise the exploration. \item\end{CompactList}\item
|
||||
bool {\bf update} (const M \&\_\-\_\-move, const typename M::EOType::Fitness \&\_\-\_\-fit)
|
||||
bool \bf{update} (const M \&\_\-\_\-move, const typename M::EOType::Fitness \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Function that indicates if the current move has not improved the fitness. \item\end{CompactList}\item
|
||||
void {\bf operator()} (M \&\_\-\_\-move, {\bf Fitness} \&\_\-\_\-fit) throw (EmptySelection)
|
||||
void \bf{operator()} (M \&\_\-\_\-move, \bf{Fitness} \&\_\-\_\-fit) throw (Empty\-Selection)
|
||||
\begin{CompactList}\small\item\em Procedure which saved the best move and fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
bool {\bf valid}\label{classmo_first_impr_select_a99c0586ba07449234705c17a258d58c}
|
||||
bool \bf{valid}\label{classmo_first_impr_select_a99c0586ba07449234705c17a258d58c}
|
||||
|
||||
\begin{CompactList}\small\item\em Allow to know if at least one move has improved the solution. \item\end{CompactList}\item
|
||||
M {\bf best\_\-move}\label{classmo_first_impr_select_dfed419a608dd7c41f07fa1f1279cb8c}
|
||||
M \bf{best\_\-move}\label{classmo_first_impr_select_dfed419a608dd7c41f07fa1f1279cb8c}
|
||||
|
||||
\begin{CompactList}\small\item\em Best stored movement. \item\end{CompactList}\item
|
||||
{\bf Fitness} {\bf init\_\-fit}\label{classmo_first_impr_select_ce7ba63e8cc3a9164f4e546477e98ca8}
|
||||
\bf{Fitness} \bf{init\_\-fit}\label{classmo_first_impr_select_ce7ba63e8cc3a9164f4e546477e98ca8}
|
||||
|
||||
\begin{CompactList}\small\item\em Initial fitness. \item\end{CompactList}\item
|
||||
{\bf Fitness} {\bf best\_\-fit}\label{classmo_first_impr_select_e1190347b76ec6fe717be32354b4a9a9}
|
||||
\bf{Fitness} \bf{best\_\-fit}\label{classmo_first_impr_select_e1190347b76ec6fe717be32354b4a9a9}
|
||||
|
||||
\begin{CompactList}\small\item\em Best stored fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moFirstImprSelect$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-First\-Impr\-Select$<$ M $>$}
|
||||
|
||||
One possible \doxyref{moMoveSelect}{p.}{classmo_move_select}.
|
||||
One possible \doxyref{mo\-Move\-Select}{p.}{classmo_move_select}.
|
||||
|
||||
The neighborhood is explored until a move enables an improvement of the current solution.
|
||||
|
||||
|
||||
|
||||
Definition at line 23 of file moFirstImprSelect.h.
|
||||
Definition at line 23 of file mo\-First\-Impr\-Select.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moFirstImprSelect@{moFirstImprSelect}!init@{init}}
|
||||
\index{init@{init}!moFirstImprSelect@{moFirstImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moFirstImprSelect}$<$ M $>$::init (const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_first_impr_select_4c5ce18ede46247a439c68f6954a4055}
|
||||
\index{moFirstImprSelect@{mo\-First\-Impr\-Select}!init@{init}}
|
||||
\index{init@{init}!moFirstImprSelect@{mo\-First\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-First\-Impr\-Select}$<$ M $>$::init (const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_first_impr_select_4c5ce18ede46247a439c68f6954a4055}
|
||||
|
||||
|
||||
Procedure which initialise the exploration.
|
||||
|
||||
It save the current fitness as the initial value for the fitness.
|
||||
|
||||
Implements {\bf moMoveSelect$<$ M $>$} \doxyref{}{p.}{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}.
|
||||
Implements \bf{mo\-Move\-Select$<$ M $>$} \doxyref{p.}{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}.
|
||||
|
||||
Definition at line 35 of file moFirstImprSelect.h.
|
||||
Definition at line 35 of file mo\-First\-Impr\-Select.h.
|
||||
|
||||
References moFirstImprSelect$<$ M $>$::init\_\-fit, and moFirstImprSelect$<$ M $>$::valid.\index{moFirstImprSelect@{moFirstImprSelect}!update@{update}}
|
||||
\index{update@{update}!moFirstImprSelect@{moFirstImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moFirstImprSelect}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const typename M::EOType::Fitness \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_first_impr_select_7ba0882728daedc75c249647c070ccf0}
|
||||
References mo\-First\-Impr\-Select$<$ M $>$::init\_\-fit, and mo\-First\-Impr\-Select$<$ M $>$::valid.\index{moFirstImprSelect@{mo\-First\-Impr\-Select}!update@{update}}
|
||||
\index{update@{update}!moFirstImprSelect@{mo\-First\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-First\-Impr\-Select}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const typename M::EOType::Fitness \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_first_impr_select_7ba0882728daedc75c249647c070ccf0}
|
||||
|
||||
|
||||
Function that indicates if the current move has not improved the fitness.
|
||||
|
||||
If the given fitness enables an improvement, the move (\doxyref{moMove}{p.}{classmo_move}) should be applied to the current solution.
|
||||
If the given fitness enables an improvement, the move (\doxyref{mo\-Move}{p.}{classmo_move}) should be applied to the current solution.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -86,11 +86,11 @@ If the given fitness enables an improvement, the move (\doxyref{moMove}{p.}{clas
|
|||
\item[Returns:]TRUE if the move does not improve the fitness. \end{Desc}
|
||||
|
||||
|
||||
Definition at line 52 of file moFirstImprSelect.h.
|
||||
Definition at line 52 of file mo\-First\-Impr\-Select.h.
|
||||
|
||||
References moFirstImprSelect$<$ M $>$::best\_\-fit, moFirstImprSelect$<$ M $>$::best\_\-move, moFirstImprSelect$<$ M $>$::init\_\-fit, and moFirstImprSelect$<$ M $>$::valid.\index{moFirstImprSelect@{moFirstImprSelect}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moFirstImprSelect@{moFirstImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moFirstImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_first_impr_select_3be12cf4cbaed00df7c4fa735b2c0a95}
|
||||
References mo\-First\-Impr\-Select$<$ M $>$::best\_\-fit, mo\-First\-Impr\-Select$<$ M $>$::best\_\-move, mo\-First\-Impr\-Select$<$ M $>$::init\_\-fit, and mo\-First\-Impr\-Select$<$ M $>$::valid.\index{moFirstImprSelect@{mo\-First\-Impr\-Select}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moFirstImprSelect@{mo\-First\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-First\-Impr\-Select}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, \bf{Fitness} \& {\em \_\-\_\-fit}) throw (\bf{Empty\-Selection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_first_impr_select_3be12cf4cbaed00df7c4fa735b2c0a95}
|
||||
|
||||
|
||||
Procedure which saved the best move and fitness.
|
||||
|
|
@ -103,16 +103,14 @@ Procedure which saved the best move and fitness.
|
|||
\begin{Desc}
|
||||
\item[Exceptions:]
|
||||
\begin{description}
|
||||
\item[{\em \doxyref{EmptySelection}{p.}{class_empty_selection}}]if no move has improved the fitness. \end{description}
|
||||
\item[{\em \doxyref{Empty\-Selection}{p.}{class_empty_selection}}]if no move has improved the fitness. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}.
|
||||
Definition at line 76 of file mo\-First\-Impr\-Select.h.
|
||||
|
||||
Definition at line 76 of file moFirstImprSelect.h.
|
||||
|
||||
References moFirstImprSelect$<$ M $>$::best\_\-fit, moFirstImprSelect$<$ M $>$::best\_\-move, and moFirstImprSelect$<$ M $>$::valid.
|
||||
References mo\-First\-Impr\-Select$<$ M $>$::best\_\-fit, mo\-First\-Impr\-Select$<$ M $>$::best\_\-move, and mo\-First\-Impr\-Select$<$ M $>$::valid.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moFirstImprSelect.h\end{CompactItemize}
|
||||
mo\-First\-Impr\-Select.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 441.989
|
||||
%%BoundingBox: 0 0 500 239.521
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.13125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.0875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moFitSolContinue< EOT >) cw
|
||||
(moSolContinue< EOT >) cw
|
||||
(eoUF< const EOT &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moFitSolContinue< EOT >) 0 0 box
|
||||
(moSolContinue< EOT >) 0 1 box
|
||||
(eoUF< const EOT &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,41 +1,41 @@
|
|||
\section{moFitSolContinue$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Fit\-Sol\-Continue$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_fit_sol_continue}\index{moFitSolContinue@{moFitSolContinue}}
|
||||
One possible stop criterion for a solution-based heuristic.
|
||||
|
||||
|
||||
{\tt \#include $<$moFitSolContinue.h$>$}
|
||||
{\tt \#include $<$mo\-Fit\-Sol\-Continue.h$>$}
|
||||
|
||||
Inheritance diagram for moFitSolContinue$<$ EOT $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_fit_sol_continue}
|
||||
\includegraphics[height=2cm]{classmo_fit_sol_continue}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_fit_sol_continue_369ed94a788d8bdc08d5554f7669376f}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_fit_sol_continue_369ed94a788d8bdc08d5554f7669376f}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moFitSolContinue} ({\bf Fitness} \_\-\_\-fitness)
|
||||
\bf{mo\-Fit\-Sol\-Continue} (\bf{Fitness} \_\-\_\-fitness)
|
||||
\begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const EOT \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const EOT \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which allows to initialise all the stuff needed. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf Fitness} {\bf fitness}\label{classmo_fit_sol_continue_87d0ba8f2f76f61c89317eed5f094dfc}
|
||||
\bf{Fitness} \bf{fitness}\label{classmo_fit_sol_continue_87d0ba8f2f76f61c89317eed5f094dfc}
|
||||
|
||||
\begin{CompactList}\small\item\em Fitness target. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moFitSolContinue$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Fit\-Sol\-Continue$<$ EOT $>$}
|
||||
|
||||
One possible stop criterion for a solution-based heuristic.
|
||||
|
||||
|
|
@ -43,12 +43,12 @@ The stop criterion corresponds to a fitness threshold gained.
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moFitSolContinue.h.
|
||||
Definition at line 21 of file mo\-Fit\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{moFitSolContinue}}
|
||||
\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{moFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moFitSolContinue}$<$ EOT $>$::{\bf moFitSolContinue} ({\bf Fitness} {\em \_\-\_\-fitness})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_b14f37ba88de4e12583b22f5aabeb682}
|
||||
\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!moFitSolContinue@{moFitSolContinue}}
|
||||
\index{moFitSolContinue@{moFitSolContinue}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-Fit\-Sol\-Continue} (\bf{Fitness} {\em \_\-\_\-fitness})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_b14f37ba88de4e12583b22f5aabeb682}
|
||||
|
||||
|
||||
Basic constructor.
|
||||
|
|
@ -60,12 +60,12 @@ Basic constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 33 of file moFitSolContinue.h.
|
||||
Definition at line 33 of file mo\-Fit\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moFitSolContinue@{moFitSolContinue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moFitSolContinue@{moFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moFitSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_fit_sol_continue_fa9f0a15f99c998115cae9b456403a27}
|
||||
\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_fit_sol_continue_fa9f0a15f99c998115cae9b456403a27}
|
||||
|
||||
|
||||
Function that activates the stopping criterion.
|
||||
|
|
@ -81,23 +81,21 @@ Indicates if the fitness threshold has not yet been reached.
|
|||
\item[Returns:]true or false according to the value of the fitness. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ const EOT \&, bool $>$}.
|
||||
Definition at line 43 of file mo\-Fit\-Sol\-Continue.h.
|
||||
|
||||
Definition at line 43 of file moFitSolContinue.h.
|
||||
|
||||
References moFitSolContinue$<$ EOT $>$::fitness.\index{moFitSolContinue@{moFitSolContinue}!init@{init}}
|
||||
\index{init@{init}!moFitSolContinue@{moFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moFitSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c}
|
||||
References mo\-Fit\-Sol\-Continue$<$ EOT $>$::fitness.\index{moFitSolContinue@{mo\-Fit\-Sol\-Continue}!init@{init}}
|
||||
\index{init@{init}!moFitSolContinue@{mo\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-Fit\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c}
|
||||
|
||||
|
||||
Procedure which allows to initialise all the stuff needed.
|
||||
|
||||
It can be also used to reinitialize all the needed things.
|
||||
|
||||
Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
|
||||
Definition at line 57 of file moFitSolContinue.h.
|
||||
Definition at line 57 of file mo\-Fit\-Sol\-Continue.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moFitSolContinue.h\end{CompactItemize}
|
||||
mo\-Fit\-Sol\-Continue.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 441.989
|
||||
%%BoundingBox: 0 0 500 227.273
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.13125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.2 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moGenSolContinue< EOT >) cw
|
||||
(moSolContinue< EOT >) cw
|
||||
(eoUF< const EOT &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moGenSolContinue< EOT >) 0 0 box
|
||||
(moSolContinue< EOT >) 0 1 box
|
||||
(eoUF< const EOT &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,38 +1,38 @@
|
|||
\section{moGenSolContinue$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Gen\-Sol\-Continue$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_gen_sol_continue}\index{moGenSolContinue@{moGenSolContinue}}
|
||||
One possible stopping criterion for a solution-based heuristic.
|
||||
|
||||
|
||||
{\tt \#include $<$moGenSolContinue.h$>$}
|
||||
{\tt \#include $<$mo\-Gen\-Sol\-Continue.h$>$}
|
||||
|
||||
Inheritance diagram for moGenSolContinue$<$ EOT $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Gen\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_gen_sol_continue}
|
||||
\includegraphics[height=2cm]{classmo_gen_sol_continue}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moGenSolContinue} (unsigned int \_\-\_\-maxNumGen)
|
||||
\bf{mo\-Gen\-Sol\-Continue} (unsigned int \_\-\_\-max\-Num\-Gen)
|
||||
\begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const EOT \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const EOT \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that activates the stop criterion. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which allows to initialise all the stuff needed. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
unsigned int {\bf maxNumGen}\label{classmo_gen_sol_continue_30b9861e090578bdfa2374806600987a}
|
||||
unsigned int \bf{max\-Num\-Gen}\label{classmo_gen_sol_continue_30b9861e090578bdfa2374806600987a}
|
||||
|
||||
\begin{CompactList}\small\item\em Iteration maximum number. \item\end{CompactList}\item
|
||||
unsigned int {\bf numGen}\label{classmo_gen_sol_continue_630d9736a3a2c952540cdc211764258c}
|
||||
unsigned int \bf{num\-Gen}\label{classmo_gen_sol_continue_630d9736a3a2c952540cdc211764258c}
|
||||
|
||||
\begin{CompactList}\small\item\em Iteration current number. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moGenSolContinue$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Gen\-Sol\-Continue$<$ EOT $>$}
|
||||
|
||||
One possible stopping criterion for a solution-based heuristic.
|
||||
|
||||
|
|
@ -40,12 +40,12 @@ The stopping criterion corresponds to a maximum number of iteration.
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moGenSolContinue.h.
|
||||
Definition at line 21 of file mo\-Gen\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moGenSolContinue@{moGenSolContinue}!moGenSolContinue@{moGenSolContinue}}
|
||||
\index{moGenSolContinue@{moGenSolContinue}!moGenSolContinue@{moGenSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moGenSolContinue}$<$ EOT $>$::{\bf moGenSolContinue} (unsigned int {\em \_\-\_\-maxNumGen})\hspace{0.3cm}{\tt [inline]}}\label{classmo_gen_sol_continue_b56e890f1caa3f98e161c6512b59c95b}
|
||||
\index{moGenSolContinue@{mo\-Gen\-Sol\-Continue}!moGenSolContinue@{moGenSolContinue}}
|
||||
\index{moGenSolContinue@{moGenSolContinue}!moGenSolContinue@{mo\-Gen\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-Gen\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-Gen\-Sol\-Continue} (unsigned int {\em \_\-\_\-max\-Num\-Gen})\hspace{0.3cm}{\tt [inline]}}\label{classmo_gen_sol_continue_b56e890f1caa3f98e161c6512b59c95b}
|
||||
|
||||
|
||||
Basic constructor.
|
||||
|
|
@ -53,16 +53,16 @@ Basic constructor.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-maxNumGen}]the maximum number of generation. \end{description}
|
||||
\item[{\em \_\-\_\-max\-Num\-Gen}]the maximum number of generation. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 30 of file moGenSolContinue.h.
|
||||
Definition at line 30 of file mo\-Gen\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moGenSolContinue@{moGenSolContinue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moGenSolContinue@{moGenSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moGenSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_gen_sol_continue_457257cd73b474d6f7783d84d02c2e61}
|
||||
\index{moGenSolContinue@{mo\-Gen\-Sol\-Continue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moGenSolContinue@{mo\-Gen\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-Gen\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_gen_sol_continue_457257cd73b474d6f7783d84d02c2e61}
|
||||
|
||||
|
||||
Function that activates the stop criterion.
|
||||
|
|
@ -78,25 +78,23 @@ Increments the counter and returns true if the current number of iteration is lo
|
|||
\item[Returns:]true or false according to the current generation number. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ const EOT \&, bool $>$}.
|
||||
Definition at line 42 of file mo\-Gen\-Sol\-Continue.h.
|
||||
|
||||
Definition at line 42 of file moGenSolContinue.h.
|
||||
|
||||
References moGenSolContinue$<$ EOT $>$::maxNumGen, and moGenSolContinue$<$ EOT $>$::numGen.\index{moGenSolContinue@{moGenSolContinue}!init@{init}}
|
||||
\index{init@{init}!moGenSolContinue@{moGenSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moGenSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}
|
||||
References mo\-Gen\-Sol\-Continue$<$ EOT $>$::max\-Num\-Gen, and mo\-Gen\-Sol\-Continue$<$ EOT $>$::num\-Gen.\index{moGenSolContinue@{mo\-Gen\-Sol\-Continue}!init@{init}}
|
||||
\index{init@{init}!moGenSolContinue@{mo\-Gen\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-Gen\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}
|
||||
|
||||
|
||||
Procedure which allows to initialise all the stuff needed.
|
||||
|
||||
It can be also used to reinitialize the counter all the needed things.
|
||||
|
||||
Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
|
||||
Definition at line 51 of file moGenSolContinue.h.
|
||||
Definition at line 51 of file mo\-Gen\-Sol\-Continue.h.
|
||||
|
||||
References moGenSolContinue$<$ EOT $>$::numGen.
|
||||
References mo\-Gen\-Sol\-Continue$<$ EOT $>$::num\-Gen.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moGenSolContinue.h\end{CompactItemize}
|
||||
mo\-Gen\-Sol\-Continue.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 271.739
|
||||
%%BoundingBox: 0 0 500 268.456
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,13 +19,13 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/cols 2 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
|
|
@ -175,10 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moHC< M >) cw
|
||||
(moAlgo< M::EOType >) cw
|
||||
(eoMonOp< M::EOType >) cw
|
||||
(eoOp< EOType >) cw
|
||||
(eoUF< M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
% ----- classes -----
|
||||
|
||||
(moHC< M >) 0.5 0 box
|
||||
(moAlgo< M::EOType >) 0.5 1 box
|
||||
(eoMonOp< M::EOType >) 0.5 2 box
|
||||
(eoOp< EOType >) 0 3 box
|
||||
(eoUF< M::EOType &, bool >) 1 3 box
|
||||
(eoFunctorBase) 1 4 box
|
||||
(moHC< M >) 0 0 box
|
||||
(moAlgo< M::EOType >) 0 1 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 0 out
|
||||
0 0 0 out
|
||||
solid
|
||||
1 0.5 1 in
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
0 1 3 conn
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
1 1 3 in
|
||||
solid
|
||||
0 1 3 out
|
||||
solid
|
||||
1 1 4 in
|
||||
1 0 1 in
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
\section{moHC$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-HC$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_h_c}\index{moHC@{moHC}}
|
||||
Hill Climbing (HC).
|
||||
|
||||
|
||||
{\tt \#include $<$moHC.h$>$}
|
||||
{\tt \#include $<$mo\-HC.h$>$}
|
||||
|
||||
Inheritance diagram for moHC$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-HC$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=5cm]{classmo_h_c}
|
||||
\includegraphics[height=2cm]{classmo_h_c}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moMoveSelect}$<$ M $>$ \&\_\-\_\-move\_\-select, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\bf{mo\-HC} (\bf{mo\-Move\-Init}$<$ M $>$ \&\_\-\_\-move\_\-init, \bf{mo\-Next\-Move}$<$ M $>$ \&\_\-\_\-next\_\-move, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, \bf{mo\-Move\-Select}$<$ M $>$ \&\_\-\_\-move\_\-select, eo\-Eval\-Func$<$ \bf{EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em Full constructor. \item\end{CompactList}\item
|
||||
{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\bf{mo\-HC} (\bf{mo\-Move\-Expl}$<$ M $>$ \&\_\-\_\-move\_\-expl, eo\-Eval\-Func$<$ \bf{EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em Light constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (\bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function which launches the HC. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_h_c_d219296ede03c679646bce2fe8ff96cb}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_h_c_d219296ede03c679646bce2fe8ff96cb}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_h_c_56487c97a7cf0c423cc879d1bbd45027}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_h_c_56487c97a7cf0c423cc879d1bbd45027}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moMoveExpl}$<$ M $>$ \& {\bf move\_\-expl}\label{classmo_h_c_f6bfb4553fb699f1e08f7d9c37d06103}
|
||||
\bf{mo\-Move\-Expl}$<$ M $>$ \& \bf{move\_\-expl}\label{classmo_h_c_f6bfb4553fb699f1e08f7d9c37d06103}
|
||||
|
||||
\begin{CompactList}\small\item\em Complete exploration of the neighborhood. \item\end{CompactList}\item
|
||||
{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_h_c_4b0d5cc70fc3d83f59a48b2bdea65736}
|
||||
eo\-Eval\-Func$<$ \bf{EOT} $>$ \& \bf{full\_\-eval}\label{classmo_h_c_4b0d5cc70fc3d83f59a48b2bdea65736}
|
||||
|
||||
\begin{CompactList}\small\item\em A full evaluation function. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moHC$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-HC$<$ M $>$}
|
||||
|
||||
Hill Climbing (HC).
|
||||
|
||||
|
|
@ -49,17 +49,17 @@ Class which describes the algorithm for a hill climbing.
|
|||
|
||||
|
||||
|
||||
Definition at line 26 of file moHC.h.
|
||||
Definition at line 26 of file mo\-HC.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moHC@{moHC}!moHC@{moHC}}
|
||||
\index{moHC@{moHC}!moHC@{moHC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moMoveSelect}$<$ M $>$ \& {\em \_\-\_\-move\_\-select}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_6cafe093f86a80c225827884cb9dc5b7}
|
||||
\index{moHC@{mo\-HC}!moHC@{moHC}}
|
||||
\index{moHC@{moHC}!moHC@{mo\-HC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-HC}$<$ M $>$::\bf{mo\-HC} (\bf{mo\-Move\-Init}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, \bf{mo\-Next\-Move}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, \bf{mo\-Move\-Select}$<$ M $>$ \& {\em \_\-\_\-move\_\-select}, eo\-Eval\-Func$<$ \bf{EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_6cafe093f86a80c225827884cb9dc5b7}
|
||||
|
||||
|
||||
Full constructor.
|
||||
|
||||
All the boxes are given in order the HC to use a \doxyref{moHCMoveLoopExpl}{p.}{classmo_h_c_move_loop_expl}.
|
||||
All the boxes are given in order the HC to use a \doxyref{mo\-HCMove\-Loop\-Expl}{p.}{classmo_h_c_move_loop_expl}.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -68,14 +68,14 @@ All the boxes are given in order the HC to use a \doxyref{moHCMoveLoopExpl}{p.}{
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 53 of file moHC.h.\index{moHC@{moHC}!moHC@{moHC}}
|
||||
\index{moHC@{moHC}!moHC@{moHC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHC}$<$ M $>$::{\bf moHC} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_45f27309792e584a27fa6dcb86ccda65}
|
||||
Definition at line 53 of file mo\-HC.h.\index{moHC@{mo\-HC}!moHC@{moHC}}
|
||||
\index{moHC@{moHC}!moHC@{mo\-HC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-HC}$<$ M $>$::\bf{mo\-HC} (\bf{mo\-Move\-Expl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, eo\-Eval\-Func$<$ \bf{EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_45f27309792e584a27fa6dcb86ccda65}
|
||||
|
||||
|
||||
Light constructor.
|
||||
|
||||
This constructor allow to use another \doxyref{moMoveExpl}{p.}{classmo_move_expl} (generally not a \doxyref{moHCMoveLoopExpl}{p.}{classmo_h_c_move_loop_expl}).
|
||||
This constructor allow to use another \doxyref{mo\-Move\-Expl}{p.}{classmo_move_expl} (generally not a \doxyref{mo\-HCMove\-Loop\-Expl}{p.}{classmo_h_c_move_loop_expl}).
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -84,17 +84,17 @@ This constructor allow to use another \doxyref{moMoveExpl}{p.}{classmo_move_expl
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 67 of file moHC.h.
|
||||
Definition at line 67 of file mo\-HC.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moHC@{moHC}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moHC@{moHC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moHC}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_h_c_ed4e273c420efa6386c5975a696a5010}
|
||||
\index{moHC@{mo\-HC}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moHC@{mo\-HC}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-HC}$<$ M $>$::operator() (\bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_ed4e273c420efa6386c5975a696a5010}
|
||||
|
||||
|
||||
Function which launches the HC.
|
||||
|
||||
The HC has to improve a current solution. As the \doxyref{moSA}{p.}{classmo_s_a} and the mo TS, it can be used for HYBRIDATION in an evolutionnary algorithm.
|
||||
The HC has to improve a current solution. As the \doxyref{mo\-SA}{p.}{classmo_s_a} and the mo TS, it can be used for HYBRIDATION in an evolutionnary algorithm.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -105,12 +105,10 @@ The HC has to improve a current solution. As the \doxyref{moSA}{p.}{classmo_s_a}
|
|||
\item[Returns:]TRUE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ M::EOType \&, bool $>$}.
|
||||
Definition at line 82 of file mo\-HC.h.
|
||||
|
||||
Definition at line 82 of file moHC.h.
|
||||
|
||||
References moHC$<$ M $>$::full\_\-eval, and moHC$<$ M $>$::move\_\-expl.
|
||||
References mo\-HC$<$ M $>$::full\_\-eval, and mo\-HC$<$ M $>$::move\_\-expl.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moHC.h\end{CompactItemize}
|
||||
mo\-HC.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 327.869
|
||||
%%BoundingBox: 0 0 500 346.821
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.525 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.44167 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/rows 3 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -176,8 +176,6 @@ boxfont setfont
|
|||
(moHCMoveLoopExpl< M >) cw
|
||||
(moMoveLoopExpl< M >) cw
|
||||
(moMoveExpl< M >) cw
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
(moHCMoveLoopExpl< M >) 0 0 box
|
||||
(moMoveLoopExpl< M >) 0 1 box
|
||||
(moMoveExpl< M >) 0 2 box
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) 0 3 box
|
||||
(eoFunctorBase) 0 4 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -205,11 +201,3 @@ solid
|
|||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
0 0 3 out
|
||||
solid
|
||||
1 0 4 in
|
||||
|
|
|
|||
|
|
@ -1,62 +1,62 @@
|
|||
\section{moHCMoveLoopExpl$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-HCMove\-Loop\-Expl$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_h_c_move_loop_expl}\index{moHCMoveLoopExpl@{moHCMoveLoopExpl}}
|
||||
Iterative explorer used by a \doxyref{moHC}{p.}{classmo_h_c}.
|
||||
Iterative explorer used by a \doxyref{mo\-HC}{p.}{classmo_h_c}.
|
||||
|
||||
|
||||
{\tt \#include $<$moHCMoveLoopExpl.h$>$}
|
||||
{\tt \#include $<$mo\-HCMove\-Loop\-Expl.h$>$}
|
||||
|
||||
Inheritance diagram for moHCMoveLoopExpl$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-HCMove\-Loop\-Expl$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=5cm]{classmo_h_c_move_loop_expl}
|
||||
\includegraphics[height=3cm]{classmo_h_c_move_loop_expl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moHCMoveLoopExpl} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moMoveSelect}$<$ M $>$ \&\_\-\_\-move\_\-select)
|
||||
\bf{mo\-HCMove\-Loop\-Expl} (\bf{mo\-Move\-Init}$<$ M $>$ \&\_\-\_\-move\_\-init, \bf{mo\-Next\-Move}$<$ M $>$ \&\_\-\_\-next\_\-move, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, \bf{mo\-Move\-Select}$<$ M $>$ \&\_\-\_\-move\_\-select)
|
||||
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
|
||||
void {\bf operator()} (const {\bf EOT} \&\_\-\_\-old\_\-sol, {\bf EOT} \&\_\-\_\-new\_\-sol)
|
||||
void \bf{operator()} (const \bf{EOT} \&\_\-\_\-old\_\-sol, \bf{EOT} \&\_\-\_\-new\_\-sol)
|
||||
\begin{CompactList}\small\item\em Procedure which launches the explorer. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_h_c_move_loop_expl_077befd4106c201eafd3ea22bcea2fe9}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_h_c_move_loop_expl_077befd4106c201eafd3ea22bcea2fe9}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_h_c_move_loop_expl_f24871224316d5549b9013a2d27ab465}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_h_c_move_loop_expl_f24871224316d5549b9013a2d27ab465}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moMoveInit}$<$ M $>$ \& {\bf move\_\-init}\label{classmo_h_c_move_loop_expl_6776fc51331c1b452d026b92448b4ffc}
|
||||
\bf{mo\-Move\-Init}$<$ M $>$ \& \bf{move\_\-init}\label{classmo_h_c_move_loop_expl_6776fc51331c1b452d026b92448b4ffc}
|
||||
|
||||
\begin{CompactList}\small\item\em Move initialiser. \item\end{CompactList}\item
|
||||
{\bf moNextMove}$<$ M $>$ \& {\bf next\_\-move}\label{classmo_h_c_move_loop_expl_f716c5271e0eba9275c585dc52768443}
|
||||
\bf{mo\-Next\-Move}$<$ M $>$ \& \bf{next\_\-move}\label{classmo_h_c_move_loop_expl_f716c5271e0eba9275c585dc52768443}
|
||||
|
||||
\begin{CompactList}\small\item\em Neighborhood explorer. \item\end{CompactList}\item
|
||||
{\bf moMoveIncrEval}$<$ M $>$ \& {\bf incr\_\-eval}\label{classmo_h_c_move_loop_expl_84a8fccba05ab30414281469bc8ee779}
|
||||
\bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& \bf{incr\_\-eval}\label{classmo_h_c_move_loop_expl_84a8fccba05ab30414281469bc8ee779}
|
||||
|
||||
\begin{CompactList}\small\item\em (generally) Efficient evaluation. \item\end{CompactList}\item
|
||||
{\bf moMoveSelect}$<$ M $>$ \& {\bf move\_\-select}\label{classmo_h_c_move_loop_expl_13bcd1322b2b97fd665be2f60c532fbb}
|
||||
\bf{mo\-Move\-Select}$<$ M $>$ \& \bf{move\_\-select}\label{classmo_h_c_move_loop_expl_13bcd1322b2b97fd665be2f60c532fbb}
|
||||
|
||||
\begin{CompactList}\small\item\em Move selector. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moHCMoveLoopExpl$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-HCMove\-Loop\-Expl$<$ M $>$}
|
||||
|
||||
Iterative explorer used by a \doxyref{moHC}{p.}{classmo_h_c}.
|
||||
Iterative explorer used by a \doxyref{mo\-HC}{p.}{classmo_h_c}.
|
||||
|
||||
|
||||
|
||||
Definition at line 23 of file moHCMoveLoopExpl.h.
|
||||
Definition at line 23 of file mo\-HCMove\-Loop\-Expl.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moHCMoveLoopExpl@{moHCMoveLoopExpl}!moHCMoveLoopExpl@{moHCMoveLoopExpl}}
|
||||
\index{moHCMoveLoopExpl@{moHCMoveLoopExpl}!moHCMoveLoopExpl@{moHCMoveLoopExpl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moHCMoveLoopExpl}$<$ M $>$::{\bf moHCMoveLoopExpl} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moMoveSelect}$<$ M $>$ \& {\em \_\-\_\-move\_\-select})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_move_loop_expl_11410d648d79746253e9dc249c4ec7b5}
|
||||
\index{moHCMoveLoopExpl@{mo\-HCMove\-Loop\-Expl}!moHCMoveLoopExpl@{moHCMoveLoopExpl}}
|
||||
\index{moHCMoveLoopExpl@{moHCMoveLoopExpl}!moHCMoveLoopExpl@{mo\-HCMove\-Loop\-Expl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-HCMove\-Loop\-Expl}$<$ M $>$::\bf{mo\-HCMove\-Loop\-Expl} (\bf{mo\-Move\-Init}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, \bf{mo\-Next\-Move}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, \bf{mo\-Move\-Select}$<$ M $>$ \& {\em \_\-\_\-move\_\-select})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_move_loop_expl_11410d648d79746253e9dc249c4ec7b5}
|
||||
|
||||
|
||||
Constructor.
|
||||
|
|
@ -70,12 +70,12 @@ All the boxes have to be specified.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 43 of file moHCMoveLoopExpl.h.
|
||||
Definition at line 43 of file mo\-HCMove\-Loop\-Expl.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moHCMoveLoopExpl@{moHCMoveLoopExpl}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moHCMoveLoopExpl@{moHCMoveLoopExpl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moHCMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_h_c_move_loop_expl_f48d5379caac7f6a165e9fe8840e6ccb}
|
||||
\index{moHCMoveLoopExpl@{mo\-HCMove\-Loop\-Expl}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moHCMoveLoopExpl@{mo\-HCMove\-Loop\-Expl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-HCMove\-Loop\-Expl}$<$ M $>$::operator() (const \bf{EOT} \& {\em \_\-\_\-old\_\-sol}, \bf{EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_h_c_move_loop_expl_f48d5379caac7f6a165e9fe8840e6ccb}
|
||||
|
||||
|
||||
Procedure which launches the explorer.
|
||||
|
|
@ -89,12 +89,10 @@ The exploration starts from an old solution and provides a new solution.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ const M::EOType \&, M::EOType \&, void $>$}.
|
||||
Definition at line 59 of file mo\-HCMove\-Loop\-Expl.h.
|
||||
|
||||
Definition at line 59 of file moHCMoveLoopExpl.h.
|
||||
|
||||
References moHCMoveLoopExpl$<$ M $>$::incr\_\-eval, moHCMoveLoopExpl$<$ M $>$::move\_\-init, moHCMoveLoopExpl$<$ M $>$::move\_\-select, and moHCMoveLoopExpl$<$ M $>$::next\_\-move.
|
||||
References mo\-HCMove\-Loop\-Expl$<$ M $>$::incr\_\-eval, mo\-HCMove\-Loop\-Expl$<$ M $>$::move\_\-init, mo\-HCMove\-Loop\-Expl$<$ M $>$::move\_\-select, and mo\-HCMove\-Loop\-Expl$<$ M $>$::next\_\-move.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moHCMoveLoopExpl.h\end{CompactItemize}
|
||||
mo\-HCMove\-Loop\-Expl.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 239.521
|
||||
%%BoundingBox: 0 0 500 218.579
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 2.0875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.2875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moImprBestFitAspirCrit< M >) cw
|
||||
(moAspirCrit< M >) cw
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moImprBestFitAspirCrit< M >) 0 0 box
|
||||
(moAspirCrit< M >) 0 1 box
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,59 +1,59 @@
|
|||
\section{moImprBestFitAspirCrit$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_impr_best_fit_aspir_crit}\index{moImprBestFitAspirCrit@{moImprBestFitAspirCrit}}
|
||||
One of the possible \doxyref{moAspirCrit}{p.}{classmo_aspir_crit}.
|
||||
One of the possible \doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit}.
|
||||
|
||||
|
||||
{\tt \#include $<$moImprBestFitAspirCrit.h$>$}
|
||||
{\tt \#include $<$mo\-Impr\-Best\-Fit\-Aspir\-Crit.h$>$}
|
||||
|
||||
Inheritance diagram for moImprBestFitAspirCrit$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_impr_best_fit_aspir_crit}
|
||||
\includegraphics[height=2cm]{classmo_impr_best_fit_aspir_crit}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_impr_best_fit_aspir_crit_0bc1a8c9af99781e662570c04750cca8}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_impr_best_fit_aspir_crit_0bc1a8c9af99781e662570c04750cca8}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moImprBestFitAspirCrit} ()\label{classmo_impr_best_fit_aspir_crit_e2c697a5cf3a7696e38bb52b6694a340}
|
||||
\bf{mo\-Impr\-Best\-Fit\-Aspir\-Crit} ()\label{classmo_impr_best_fit_aspir_crit_e2c697a5cf3a7696e38bb52b6694a340}
|
||||
|
||||
\begin{CompactList}\small\item\em Contructor. \item\end{CompactList}\item
|
||||
void {\bf init} ()\label{classmo_impr_best_fit_aspir_crit_ffa451a14ff4ea86fb8bd9fdbc348630}
|
||||
void \bf{init} ()\label{classmo_impr_best_fit_aspir_crit_ffa451a14ff4ea86fb8bd9fdbc348630}
|
||||
|
||||
\begin{CompactList}\small\item\em Initialisation procedure. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const M \&\_\-\_\-move, const {\bf Fitness} \&\_\-\_\-fit)
|
||||
bool \bf{operator()} (const M \&\_\-\_\-move, const \bf{Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Function that indicates if the fit is better that the already saved fit. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf Fitness} {\bf best\_\-fit}\label{classmo_impr_best_fit_aspir_crit_9e52383f0af8013b4aff0942325e1bf3}
|
||||
\bf{Fitness} \bf{best\_\-fit}\label{classmo_impr_best_fit_aspir_crit_9e52383f0af8013b4aff0942325e1bf3}
|
||||
|
||||
\begin{CompactList}\small\item\em Best fitness found until now. \item\end{CompactList}\item
|
||||
bool {\bf first\_\-time}\label{classmo_impr_best_fit_aspir_crit_2d5226c7dd661b33011402dbbbe78265}
|
||||
bool \bf{first\_\-time}\label{classmo_impr_best_fit_aspir_crit_2d5226c7dd661b33011402dbbbe78265}
|
||||
|
||||
\begin{CompactList}\small\item\em Indicates that a fitness has been already saved or not. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moImprBestFitAspirCrit$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$}
|
||||
|
||||
One of the possible \doxyref{moAspirCrit}{p.}{classmo_aspir_crit}.
|
||||
One of the possible \doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit}.
|
||||
|
||||
This criterion is satisfied when a given fitness is the best ever considered.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moImprBestFitAspirCrit.h.
|
||||
Definition at line 22 of file mo\-Impr\-Best\-Fit\-Aspir\-Crit.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moImprBestFitAspirCrit@{moImprBestFitAspirCrit}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moImprBestFitAspirCrit@{moImprBestFitAspirCrit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moImprBestFitAspirCrit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_impr_best_fit_aspir_crit_53f62fb56dcae3051a741f1fddb0204b}
|
||||
\index{moImprBestFitAspirCrit@{mo\-Impr\-Best\-Fit\-Aspir\-Crit}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moImprBestFitAspirCrit@{mo\-Impr\-Best\-Fit\-Aspir\-Crit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-Impr\-Best\-Fit\-Aspir\-Crit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_impr_best_fit_aspir_crit_53f62fb56dcae3051a741f1fddb0204b}
|
||||
|
||||
|
||||
Function that indicates if the fit is better that the already saved fit.
|
||||
|
|
@ -69,12 +69,10 @@ The first time, the function only saved the current move and fitness.
|
|||
\item[Returns:]TRUE the first time and if \_\-\_\-fit $>$ best\_\-fit, else FALSE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ const M \&, const M::EOType::Fitness \&, bool $>$}.
|
||||
Definition at line 52 of file mo\-Impr\-Best\-Fit\-Aspir\-Crit.h.
|
||||
|
||||
Definition at line 52 of file moImprBestFitAspirCrit.h.
|
||||
|
||||
References moImprBestFitAspirCrit$<$ M $>$::best\_\-fit, and moImprBestFitAspirCrit$<$ M $>$::first\_\-time.
|
||||
References mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$::best\_\-fit, and mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$::first\_\-time.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moImprBestFitAspirCrit.h\end{CompactItemize}
|
||||
mo\-Impr\-Best\-Fit\-Aspir\-Crit.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 316.206
|
||||
%%BoundingBox: 0 0 500 245.399
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.58125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.0375 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moItRandNextMove< M >) cw
|
||||
(moNextMove< M >) cw
|
||||
(eoBF< M &, const M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moItRandNextMove< M >) 0 0 box
|
||||
(moNextMove< M >) 0 1 box
|
||||
(eoBF< M &, const M::EOType &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,63 +1,63 @@
|
|||
\section{moItRandNextMove$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-It\-Rand\-Next\-Move$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_it_rand_next_move}\index{moItRandNextMove@{moItRandNextMove}}
|
||||
One of the possible \doxyref{moNextMove}{p.}{classmo_next_move}.
|
||||
One of the possible \doxyref{mo\-Next\-Move}{p.}{classmo_next_move}.
|
||||
|
||||
|
||||
{\tt \#include $<$moItRandNextMove.h$>$}
|
||||
{\tt \#include $<$mo\-It\-Rand\-Next\-Move.h$>$}
|
||||
|
||||
Inheritance diagram for moItRandNextMove$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-It\-Rand\-Next\-Move$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_it_rand_next_move}
|
||||
\includegraphics[height=2cm]{classmo_it_rand_next_move}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moItRandNextMove} ({\bf moRandMove}$<$ M $>$ \&\_\-\_\-rand\_\-move, unsigned int \_\-\_\-max\_\-iter)
|
||||
\bf{mo\-It\-Rand\-Next\-Move} (\bf{mo\-Rand\-Move}$<$ M $>$ \&\_\-\_\-rand\_\-move, unsigned int \_\-\_\-max\_\-iter)
|
||||
\begin{CompactList}\small\item\em The constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Generation of a new move. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_it_rand_next_move_ee666007fc494bf4a5f0cd065e5671cf}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_it_rand_next_move_ee666007fc494bf4a5f0cd065e5671cf}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moRandMove}$<$ M $>$ \& {\bf rand\_\-move}\label{classmo_it_rand_next_move_ef9410ec5e7dfa7f002e05967931c459}
|
||||
\bf{mo\-Rand\-Move}$<$ M $>$ \& \bf{rand\_\-move}\label{classmo_it_rand_next_move_ef9410ec5e7dfa7f002e05967931c459}
|
||||
|
||||
\begin{CompactList}\small\item\em A move generator (generally randomly). \item\end{CompactList}\item
|
||||
unsigned int {\bf max\_\-iter}\label{classmo_it_rand_next_move_dc67fa86677d7a4f982de8d8b1eba033}
|
||||
unsigned int \bf{max\_\-iter}\label{classmo_it_rand_next_move_dc67fa86677d7a4f982de8d8b1eba033}
|
||||
|
||||
\begin{CompactList}\small\item\em Iteration maximum number. \item\end{CompactList}\item
|
||||
unsigned int {\bf num\_\-iter}\label{classmo_it_rand_next_move_f43494b13931d8f76b5d9d5d6469e91b}
|
||||
unsigned int \bf{num\_\-iter}\label{classmo_it_rand_next_move_f43494b13931d8f76b5d9d5d6469e91b}
|
||||
|
||||
\begin{CompactList}\small\item\em Iteration current number. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moItRandNextMove$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-It\-Rand\-Next\-Move$<$ M $>$}
|
||||
|
||||
One of the possible \doxyref{moNextMove}{p.}{classmo_next_move}.
|
||||
One of the possible \doxyref{mo\-Next\-Move}{p.}{classmo_next_move}.
|
||||
|
||||
This class is a move (\doxyref{moMove}{p.}{classmo_move}) generator with a bound for the maximum number of iterations.
|
||||
This class is a move (\doxyref{mo\-Move}{p.}{classmo_move}) generator with a bound for the maximum number of iterations.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moItRandNextMove.h.
|
||||
Definition at line 22 of file mo\-It\-Rand\-Next\-Move.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moItRandNextMove@{moItRandNextMove}!moItRandNextMove@{moItRandNextMove}}
|
||||
\index{moItRandNextMove@{moItRandNextMove}!moItRandNextMove@{moItRandNextMove}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moItRandNextMove}$<$ M $>$::{\bf moItRandNextMove} ({\bf moRandMove}$<$ M $>$ \& {\em \_\-\_\-rand\_\-move}, unsigned int {\em \_\-\_\-max\_\-iter})\hspace{0.3cm}{\tt [inline]}}\label{classmo_it_rand_next_move_2b61b3713d482ecf71db8d941551ff7a}
|
||||
\index{moItRandNextMove@{mo\-It\-Rand\-Next\-Move}!moItRandNextMove@{moItRandNextMove}}
|
||||
\index{moItRandNextMove@{moItRandNextMove}!moItRandNextMove@{mo\-It\-Rand\-Next\-Move}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-It\-Rand\-Next\-Move}$<$ M $>$::\bf{mo\-It\-Rand\-Next\-Move} (\bf{mo\-Rand\-Move}$<$ M $>$ \& {\em \_\-\_\-rand\_\-move}, unsigned int {\em \_\-\_\-max\_\-iter})\hspace{0.3cm}{\tt [inline]}}\label{classmo_it_rand_next_move_2b61b3713d482ecf71db8d941551ff7a}
|
||||
|
||||
|
||||
The constructor.
|
||||
|
||||
{\bf Parameters} only for initialising the attributes.
|
||||
Parameters only for initialising the attributes.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -66,12 +66,12 @@ The constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 37 of file moItRandNextMove.h.
|
||||
Definition at line 37 of file mo\-It\-Rand\-Next\-Move.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moItRandNextMove@{moItRandNextMove}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moItRandNextMove@{moItRandNextMove}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moItRandNextMove}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_it_rand_next_move_92a2fbbc02a20853b9a309e99018a102}
|
||||
\index{moItRandNextMove@{mo\-It\-Rand\-Next\-Move}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moItRandNextMove@{mo\-It\-Rand\-Next\-Move}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-It\-Rand\-Next\-Move}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_it_rand_next_move_92a2fbbc02a20853b9a309e99018a102}
|
||||
|
||||
|
||||
Generation of a new move.
|
||||
|
|
@ -87,12 +87,10 @@ If the maximum number is not already reached, the current move is forgotten and
|
|||
\item[Returns:]FALSE if the maximum number of iteration is reached, else TRUE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ M \&, const M::EOType \&, bool $>$}.
|
||||
Definition at line 52 of file mo\-It\-Rand\-Next\-Move.h.
|
||||
|
||||
Definition at line 52 of file moItRandNextMove.h.
|
||||
|
||||
References moItRandNextMove$<$ M $>$::max\_\-iter, moItRandNextMove$<$ M $>$::num\_\-iter, and moItRandNextMove$<$ M $>$::rand\_\-move.
|
||||
References mo\-It\-Rand\-Next\-Move$<$ M $>$::max\_\-iter, mo\-It\-Rand\-Next\-Move$<$ M $>$::num\_\-iter, and mo\-It\-Rand\-Next\-Move$<$ M $>$::rand\_\-move.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moItRandNextMove.h\end{CompactItemize}
|
||||
mo\-It\-Rand\-Next\-Move.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,33 +1,27 @@
|
|||
\section{moLSCheckPoint$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-LSCheck\-Point$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_l_s_check_point}\index{moLSCheckPoint@{moLSCheckPoint}}
|
||||
Class which allows a checkpointing system.
|
||||
|
||||
|
||||
{\tt \#include $<$moLSCheckPoint.h$>$}
|
||||
{\tt \#include $<$mo\-LSCheck\-Point.h$>$}
|
||||
|
||||
Inheritance diagram for moLSCheckPoint$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3cm]{classmo_l_s_check_point}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
void {\bf operator()} (const M \&\_\-\_\-move, const typename M::EOType \&\_\-\_\-sol)
|
||||
void \bf{operator()} (const M \&\_\-\_\-move, const typename M::EOType \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function which launches the checkpointing. \item\end{CompactList}\item
|
||||
void {\bf add} ({\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ \&\_\-\_\-f)
|
||||
void \bf{add} (eo\-BF$<$ const M \&, const typename M::EOType \&, void $>$ \&\_\-\_\-f)
|
||||
\begin{CompactList}\small\item\em Procedure which add a new function to the function vector. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
std::vector$<$ {\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ $\ast$ $>$ {\bf func}\label{classmo_l_s_check_point_ff2a31ee5689a804bd9a572c51a36ca4}
|
||||
std::vector$<$ eo\-BF$<$ const M \&, const typename M::EOType \&, void $>$ $\ast$ $>$ \bf{func}\label{classmo_l_s_check_point_ff2a31ee5689a804bd9a572c51a36ca4}
|
||||
|
||||
\begin{CompactList}\small\item\em vector of function \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moLSCheckPoint$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-LSCheck\-Point$<$ M $>$}
|
||||
|
||||
Class which allows a checkpointing system.
|
||||
|
||||
|
|
@ -35,12 +29,12 @@ Thanks to this class, at each iteration, additionnal function can be used (and n
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moLSCheckPoint.h.
|
||||
Definition at line 21 of file mo\-LSCheck\-Point.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moLSCheckPoint@{moLSCheckPoint}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moLSCheckPoint@{moLSCheckPoint}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moLSCheckPoint}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const typename M::EOType \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_2f9c1250279e3f49ec77a66c10029f1e}
|
||||
\index{moLSCheckPoint@{mo\-LSCheck\-Point}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moLSCheckPoint@{mo\-LSCheck\-Point}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-LSCheck\-Point}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const typename M::EOType \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_2f9c1250279e3f49ec77a66c10029f1e}
|
||||
|
||||
|
||||
Function which launches the checkpointing.
|
||||
|
|
@ -54,11 +48,11 @@ Each saved function is used on the current move and the current solution.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 34 of file moLSCheckPoint.h.
|
||||
Definition at line 34 of file mo\-LSCheck\-Point.h.
|
||||
|
||||
References moLSCheckPoint$<$ M $>$::func.\index{moLSCheckPoint@{moLSCheckPoint}!add@{add}}
|
||||
\index{add@{add}!moLSCheckPoint@{moLSCheckPoint}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moLSCheckPoint}$<$ M $>$::add ({\bf eoBF}$<$ const M \&, const typename M::EOType \&, void $>$ \& {\em \_\-\_\-f})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_66be5fe2944bcdd752f1e58105e969a6}
|
||||
References mo\-LSCheck\-Point$<$ M $>$::func.\index{moLSCheckPoint@{mo\-LSCheck\-Point}!add@{add}}
|
||||
\index{add@{add}!moLSCheckPoint@{mo\-LSCheck\-Point}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-LSCheck\-Point}$<$ M $>$::add (eo\-BF$<$ const M \&, const typename M::EOType \&, void $>$ \& {\em \_\-\_\-f})\hspace{0.3cm}{\tt [inline]}}\label{classmo_l_s_check_point_66be5fe2944bcdd752f1e58105e969a6}
|
||||
|
||||
|
||||
Procedure which add a new function to the function vector.
|
||||
|
|
@ -70,10 +64,10 @@ The new function is added at the end of the vector. \begin{Desc}
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 49 of file moLSCheckPoint.h.
|
||||
Definition at line 49 of file mo\-LSCheck\-Point.h.
|
||||
|
||||
References moLSCheckPoint$<$ M $>$::func.
|
||||
References mo\-LSCheck\-Point$<$ M $>$::func.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moLSCheckPoint.h\end{CompactItemize}
|
||||
mo\-LSCheck\-Point.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 476.19
|
||||
%%BoundingBox: 0 0 500 238.095
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.05 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.1 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moLinearCoolingSchedule) cw
|
||||
(moCoolingSchedule) cw
|
||||
(eoUF< double &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moLinearCoolingSchedule) 0 0 box
|
||||
(moCoolingSchedule) 0 1 box
|
||||
(eoUF< double &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,47 +1,47 @@
|
|||
\section{moLinearCoolingSchedule Class Reference}
|
||||
\section{mo\-Linear\-Cooling\-Schedule Class Reference}
|
||||
\label{classmo_linear_cooling_schedule}\index{moLinearCoolingSchedule@{moLinearCoolingSchedule}}
|
||||
One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}.
|
||||
One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule}.
|
||||
|
||||
|
||||
{\tt \#include $<$moLinearCoolingSchedule.h$>$}
|
||||
{\tt \#include $<$mo\-Linear\-Cooling\-Schedule.h$>$}
|
||||
|
||||
Inheritance diagram for moLinearCoolingSchedule::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Linear\-Cooling\-Schedule::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_linear_cooling_schedule}
|
||||
\includegraphics[height=2cm]{classmo_linear_cooling_schedule}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moLinearCoolingSchedule} (double \_\-\_\-threshold, double \_\-\_\-quantity)
|
||||
\bf{mo\-Linear\-Cooling\-Schedule} (double \_\-\_\-threshold, double \_\-\_\-quantity)
|
||||
\begin{CompactList}\small\item\em Simple constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (double \&\_\-\_\-temp)
|
||||
bool \bf{operator()} (double \&\_\-\_\-temp)
|
||||
\begin{CompactList}\small\item\em Function which proceeds to the cooling. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
double {\bf threshold}\label{classmo_linear_cooling_schedule_e7f539f986801ea71392c4a55ba08a76}
|
||||
double \bf{threshold}\label{classmo_linear_cooling_schedule_e7f539f986801ea71392c4a55ba08a76}
|
||||
|
||||
\begin{CompactList}\small\item\em The temperature threhold. \item\end{CompactList}\item
|
||||
double {\bf quantity}\label{classmo_linear_cooling_schedule_6159dc39ceda89b23ffdab3d6ce8d8ed}
|
||||
double \bf{quantity}\label{classmo_linear_cooling_schedule_6159dc39ceda89b23ffdab3d6ce8d8ed}
|
||||
|
||||
\begin{CompactList}\small\item\em The quantity that allows the temperature to decrease. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
One of the possible \doxyref{moCoolingSchedule}{p.}{classmo_cooling_schedule}.
|
||||
One of the possible \doxyref{mo\-Cooling\-Schedule}{p.}{classmo_cooling_schedule}.
|
||||
|
||||
An another very simple cooling schedule, the temperature decrease according to a quantity while the temperature is greater than a threshold.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moLinearCoolingSchedule.h.
|
||||
Definition at line 22 of file mo\-Linear\-Cooling\-Schedule.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moLinearCoolingSchedule@{moLinearCoolingSchedule}!moLinearCoolingSchedule@{moLinearCoolingSchedule}}
|
||||
\index{moLinearCoolingSchedule@{moLinearCoolingSchedule}!moLinearCoolingSchedule@{moLinearCoolingSchedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}moLinearCoolingSchedule::moLinearCoolingSchedule (double {\em \_\-\_\-threshold}, double {\em \_\-\_\-quantity})\hspace{0.3cm}{\tt [inline]}}\label{classmo_linear_cooling_schedule_2fdde7b1520d5a41251627e81cc9c13d}
|
||||
\index{moLinearCoolingSchedule@{mo\-Linear\-Cooling\-Schedule}!moLinearCoolingSchedule@{moLinearCoolingSchedule}}
|
||||
\index{moLinearCoolingSchedule@{moLinearCoolingSchedule}!moLinearCoolingSchedule@{mo\-Linear\-Cooling\-Schedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}mo\-Linear\-Cooling\-Schedule::mo\-Linear\-Cooling\-Schedule (double {\em \_\-\_\-threshold}, double {\em \_\-\_\-quantity})\hspace{0.3cm}{\tt [inline]}}\label{classmo_linear_cooling_schedule_2fdde7b1520d5a41251627e81cc9c13d}
|
||||
|
||||
|
||||
Simple constructor.
|
||||
|
|
@ -53,12 +53,12 @@ Simple constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 31 of file moLinearCoolingSchedule.h.
|
||||
Definition at line 31 of file mo\-Linear\-Cooling\-Schedule.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moLinearCoolingSchedule@{moLinearCoolingSchedule}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moLinearCoolingSchedule@{moLinearCoolingSchedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool moLinearCoolingSchedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_linear_cooling_schedule_814b109fdfd9426a92a5444b05014da3}
|
||||
\index{moLinearCoolingSchedule@{mo\-Linear\-Cooling\-Schedule}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moLinearCoolingSchedule@{mo\-Linear\-Cooling\-Schedule}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}bool mo\-Linear\-Cooling\-Schedule::operator() (double \& {\em \_\-\_\-temp})\hspace{0.3cm}{\tt [inline]}}\label{classmo_linear_cooling_schedule_814b109fdfd9426a92a5444b05014da3}
|
||||
|
||||
|
||||
Function which proceeds to the cooling.
|
||||
|
|
@ -74,12 +74,10 @@ It decreases the temperature and indicates if it is greater than the threshold.
|
|||
\item[Returns:]if the new temperature (current temperature - quantity) is greater than the threshold. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ double \&, bool $>$}.
|
||||
|
||||
Definition at line 41 of file moLinearCoolingSchedule.h.
|
||||
Definition at line 41 of file mo\-Linear\-Cooling\-Schedule.h.
|
||||
|
||||
References quantity, and threshold.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moLinearCoolingSchedule.h\end{CompactItemize}
|
||||
mo\-Linear\-Cooling\-Schedule.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,26 +1,20 @@
|
|||
\section{moMove$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Move$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_move}\index{moMove@{moMove}}
|
||||
Definition of a move.
|
||||
|
||||
|
||||
{\tt \#include $<$moMove.h$>$}
|
||||
{\tt \#include $<$mo\-Move.h$>$}
|
||||
|
||||
Inheritance diagram for moMove$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3cm]{classmo_move}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef EOT {\bf EOType}\label{classmo_move_7fb853a91ba1319530529e515380bbba}
|
||||
typedef EOT \bf{EOType}\label{classmo_move_7fb853a91ba1319530529e515380bbba}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moMove$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Move$<$ EOT $>$}
|
||||
|
||||
Definition of a move.
|
||||
|
||||
|
|
@ -28,8 +22,8 @@ A move transforms a solution to another close solution. It describes how a solut
|
|||
|
||||
|
||||
|
||||
Definition at line 23 of file moMove.h.
|
||||
Definition at line 23 of file mo\-Move.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMove.h\end{CompactItemize}
|
||||
mo\-Move.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 163.934
|
||||
%%BoundingBox: 0 0 500 173.41
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 3.05 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.88333 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/rows 3 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moMoveExpl< M >) cw
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moMoveLoopExpl< M >) cw
|
||||
(moHCMoveLoopExpl< M >) cw
|
||||
(moTSMoveLoopExpl< M >) cw
|
||||
|
|
@ -191,22 +189,12 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moMoveExpl< M >) 0.5 2 box
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) 0.5 3 box
|
||||
(eoFunctorBase) 0.5 4 box
|
||||
(moMoveLoopExpl< M >) 0.5 1 box
|
||||
(moHCMoveLoopExpl< M >) 0 0 box
|
||||
(moTSMoveLoopExpl< M >) 1 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
1 0.5 3 in
|
||||
solid
|
||||
0 0.5 3 out
|
||||
solid
|
||||
1 0.5 4 in
|
||||
solid
|
||||
1 0.5 1.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
\section{moMoveExpl$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Move\-Expl$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_move_expl}\index{moMoveExpl@{moMoveExpl}}
|
||||
Description of a move (\doxyref{moMove}{p.}{classmo_move}) explorer.
|
||||
Description of a move (\doxyref{mo\-Move}{p.}{classmo_move}) explorer.
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveExpl.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Expl.h$>$}
|
||||
|
||||
Inheritance diagram for moMoveExpl$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Move\-Expl$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4.59016cm]{classmo_move_expl}
|
||||
\includegraphics[height=3cm]{classmo_move_expl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moMoveExpl$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Move\-Expl$<$ M $>$}
|
||||
|
||||
Description of a move (\doxyref{moMove}{p.}{classmo_move}) explorer.
|
||||
Description of a move (\doxyref{mo\-Move}{p.}{classmo_move}) explorer.
|
||||
|
||||
Only a description...See \doxyref{moMoveLoopExpl}{p.}{classmo_move_loop_expl}.
|
||||
Only a description...See \doxyref{mo\-Move\-Loop\-Expl}{p.}{classmo_move_loop_expl}.
|
||||
|
||||
|
||||
|
||||
Definition at line 21 of file moMoveExpl.h.
|
||||
Definition at line 21 of file mo\-Move\-Expl.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveExpl.h\end{CompactItemize}
|
||||
mo\-Move\-Expl.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,20 +1,14 @@
|
|||
\section{moMoveIncrEval$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Move\-Incr\-Eval$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_move_incr_eval}\index{moMoveIncrEval@{moMoveIncrEval}}
|
||||
(generally) Efficient evaluation function based a move and a solution.
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveIncrEval.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Incr\-Eval.h$>$}
|
||||
|
||||
Inheritance diagram for moMoveIncrEval$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3cm]{classmo_move_incr_eval}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moMoveIncrEval$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Move\-Incr\-Eval$<$ M $>$}
|
||||
|
||||
(generally) Efficient evaluation function based a move and a solution.
|
||||
|
||||
|
|
@ -22,8 +16,8 @@ From a move and a solution, it computes a new fitness that could be associated t
|
|||
|
||||
|
||||
|
||||
Definition at line 24 of file moMoveIncrEval.h.
|
||||
Definition at line 24 of file mo\-Move\-Incr\-Eval.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveIncrEval.h\end{CompactItemize}
|
||||
mo\-Move\-Incr\-Eval.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,29 +1,23 @@
|
|||
\section{moMoveInit$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Move\-Init$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_move_init}\index{moMoveInit@{moMoveInit}}
|
||||
Move (\doxyref{moMove}{p.}{classmo_move}) initializer.
|
||||
Move (\doxyref{mo\-Move}{p.}{classmo_move}) initializer.
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveInit.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Init.h$>$}
|
||||
|
||||
Inheritance diagram for moMoveInit$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3cm]{classmo_move_init}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moMoveInit$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Move\-Init$<$ M $>$}
|
||||
|
||||
Move (\doxyref{moMove}{p.}{classmo_move}) initializer.
|
||||
Move (\doxyref{mo\-Move}{p.}{classmo_move}) initializer.
|
||||
|
||||
Class which allows to initiase a move. Only a description... An object that herits from this class needs to be designed to be used.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moMoveInit.h.
|
||||
Definition at line 22 of file mo\-Move\-Init.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveInit.h\end{CompactItemize}
|
||||
mo\-Move\-Init.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 163.934
|
||||
%%BoundingBox: 0 0 500 173.41
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 3.05 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.88333 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/rows 3 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moMoveLoopExpl< M >) cw
|
||||
(moMoveExpl< M >) cw
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moHCMoveLoopExpl< M >) cw
|
||||
(moTSMoveLoopExpl< M >) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
|
|
@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moMoveLoopExpl< M >) 0.5 1 box
|
||||
(moMoveExpl< M >) 0.5 2 box
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) 0.5 3 box
|
||||
(eoFunctorBase) 0.5 4 box
|
||||
(moHCMoveLoopExpl< M >) 0 0 box
|
||||
(moTSMoveLoopExpl< M >) 1 0 box
|
||||
|
||||
|
|
@ -204,14 +200,6 @@ solid
|
|||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
1 0.5 3 in
|
||||
solid
|
||||
0 0.5 3 out
|
||||
solid
|
||||
1 0.5 4 in
|
||||
solid
|
||||
1 0.5 0.25 out
|
||||
solid
|
||||
0 1 1 conn
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
\section{moMoveLoopExpl$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Move\-Loop\-Expl$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_move_loop_expl}\index{moMoveLoopExpl@{moMoveLoopExpl}}
|
||||
Class which describes an iterative explorer.
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveLoopExpl.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Loop\-Expl.h$>$}
|
||||
|
||||
Inheritance diagram for moMoveLoopExpl$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Move\-Loop\-Expl$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4.59016cm]{classmo_move_loop_expl}
|
||||
\includegraphics[height=3cm]{classmo_move_loop_expl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moMoveLoopExpl$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Move\-Loop\-Expl$<$ M $>$}
|
||||
|
||||
Class which describes an iterative explorer.
|
||||
|
||||
Only a description... \doxyref{moHCMoveLoopExpl}{p.}{classmo_h_c_move_loop_expl} and \doxyref{moTSMoveLoopExpl}{p.}{classmo_t_s_move_loop_expl} are exemples of class that are a \doxyref{moMoveLoopExpl}{p.}{classmo_move_loop_expl}.
|
||||
Only a description... \doxyref{mo\-HCMove\-Loop\-Expl}{p.}{classmo_h_c_move_loop_expl} and \doxyref{mo\-TSMove\-Loop\-Expl}{p.}{classmo_t_s_move_loop_expl} are exemples of class that are a \doxyref{mo\-Move\-Loop\-Expl}{p.}{classmo_move_loop_expl}.
|
||||
|
||||
|
||||
|
||||
Definition at line 21 of file moMoveLoopExpl.h.
|
||||
Definition at line 21 of file mo\-Move\-Loop\-Expl.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveLoopExpl.h\end{CompactItemize}
|
||||
mo\-Move\-Loop\-Expl.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 101.01
|
||||
%%BoundingBox: 0 0 500 83.8574
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 4.95 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 5.9625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 3 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moMoveSelect< M >) cw
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moBestImprSelect< M >) cw
|
||||
(moFirstImprSelect< M >) cw
|
||||
(moRandImprSelect< M >) cw
|
||||
|
|
@ -191,22 +189,12 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moMoveSelect< M >) 1 1 box
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) 1 2 box
|
||||
(eoFunctorBase) 1 3 box
|
||||
(moBestImprSelect< M >) 0 0 box
|
||||
(moFirstImprSelect< M >) 1 0 box
|
||||
(moRandImprSelect< M >) 2 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 1 1 out
|
||||
solid
|
||||
1 1 2 in
|
||||
solid
|
||||
0 1 2 out
|
||||
solid
|
||||
1 1 3 in
|
||||
solid
|
||||
1 1 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,46 +1,46 @@
|
|||
\section{moMoveSelect$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Move\-Select$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_move_select}\index{moMoveSelect@{moMoveSelect}}
|
||||
Class that describes a move selector (\doxyref{moMove}{p.}{classmo_move}).
|
||||
Class that describes a move selector (\doxyref{mo\-Move}{p.}{classmo_move}).
|
||||
|
||||
|
||||
{\tt \#include $<$moMoveSelect.h$>$}
|
||||
{\tt \#include $<$mo\-Move\-Select.h$>$}
|
||||
|
||||
Inheritance diagram for moMoveSelect$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Move\-Select$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=2.82828cm]{classmo_move_select}
|
||||
\includegraphics[height=2cm]{classmo_move_select}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_move_select_8148ccc0e6fbd209c3fe6829559895c8}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_move_select_8148ccc0e6fbd209c3fe6829559895c8}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
virtual void {\bf init} (const {\bf Fitness} \&\_\-\_\-fit)=0
|
||||
virtual void \bf{init} (const \bf{Fitness} \&\_\-\_\-fit)=0
|
||||
\begin{CompactList}\small\item\em Procedure which initialises all that the move selector needs including the initial fitness. \item\end{CompactList}\item
|
||||
virtual bool {\bf update} (const M \&\_\-\_\-move, const {\bf Fitness} \&\_\-\_\-fit)=0
|
||||
virtual bool \bf{update} (const M \&\_\-\_\-move, const \bf{Fitness} \&\_\-\_\-fit)=0
|
||||
\begin{CompactList}\small\item\em Function which updates the best solutions. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moMoveSelect$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Move\-Select$<$ M $>$}
|
||||
|
||||
Class that describes a move selector (\doxyref{moMove}{p.}{classmo_move}).
|
||||
Class that describes a move selector (\doxyref{mo\-Move}{p.}{classmo_move}).
|
||||
|
||||
It iteratively considers some moves (\doxyref{moMove}{p.}{classmo_move}) and their associated fitnesses. The best move is so regularly updated. At any time, it could be accessed.
|
||||
It iteratively considers some moves (\doxyref{mo\-Move}{p.}{classmo_move}) and their associated fitnesses. The best move is so regularly updated. At any time, it could be accessed.
|
||||
|
||||
|
||||
|
||||
Definition at line 32 of file moMoveSelect.h.
|
||||
Definition at line 32 of file mo\-Move\-Select.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moMoveSelect@{moMoveSelect}!init@{init}}
|
||||
\index{init@{init}!moMoveSelect@{moMoveSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moMoveSelect}$<$ M $>$::init (const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}
|
||||
\index{moMoveSelect@{mo\-Move\-Select}!init@{init}}
|
||||
\index{init@{init}!moMoveSelect@{mo\-Move\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-Move\-Select}$<$ M $>$::init (const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}
|
||||
|
||||
|
||||
Procedure which initialises all that the move selector needs including the initial fitness.
|
||||
|
|
@ -54,9 +54,9 @@ In order to know the fitness of the solution, for which the neighborhood will be
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implemented in {\bf moBestImprSelect$<$ M $>$} \doxyref{}{p.}{classmo_best_impr_select_2d2abf9aa17dc77cbb4f41810ab7b956}, {\bf moFirstImprSelect$<$ M $>$} \doxyref{}{p.}{classmo_first_impr_select_4c5ce18ede46247a439c68f6954a4055}, and {\bf moRandImprSelect$<$ M $>$} \doxyref{}{p.}{classmo_rand_impr_select_a19726a1509cff874801615d63a3b5d9}.\index{moMoveSelect@{moMoveSelect}!update@{update}}
|
||||
\index{update@{update}!moMoveSelect@{moMoveSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual bool {\bf moMoveSelect}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}
|
||||
Implemented in \bf{mo\-Best\-Impr\-Select$<$ M $>$} \doxyref{p.}{classmo_best_impr_select_2d2abf9aa17dc77cbb4f41810ab7b956}, \bf{mo\-First\-Impr\-Select$<$ M $>$} \doxyref{p.}{classmo_first_impr_select_4c5ce18ede46247a439c68f6954a4055}, and \bf{mo\-Rand\-Impr\-Select$<$ M $>$} \doxyref{p.}{classmo_rand_impr_select_a19726a1509cff874801615d63a3b5d9}.\index{moMoveSelect@{mo\-Move\-Select}!update@{update}}
|
||||
\index{update@{update}!moMoveSelect@{mo\-Move\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual bool \bf{mo\-Move\-Select}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}
|
||||
|
||||
|
||||
Function which updates the best solutions.
|
||||
|
|
@ -70,8 +70,8 @@ Function which updates the best solutions.
|
|||
\item[Returns:]a boolean that expresses the need to resume the exploration. \end{Desc}
|
||||
|
||||
|
||||
Implemented in {\bf moBestImprSelect$<$ M $>$} \doxyref{}{p.}{classmo_best_impr_select_d10e3e6f8a0277731e95ef506d064d6d}, and {\bf moRandImprSelect$<$ M $>$} \doxyref{}{p.}{classmo_rand_impr_select_60ae5548560caee7e28d5ed2446186c9}.
|
||||
Implemented in \bf{mo\-Best\-Impr\-Select$<$ M $>$} \doxyref{p.}{classmo_best_impr_select_d10e3e6f8a0277731e95ef506d064d6d}, and \bf{mo\-Rand\-Impr\-Select$<$ M $>$} \doxyref{p.}{classmo_rand_impr_select_60ae5548560caee7e28d5ed2446186c9}.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moMoveSelect.h\end{CompactItemize}
|
||||
mo\-Move\-Select.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 316.206
|
||||
%%BoundingBox: 0 0 500 245.399
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.58125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.0375 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moNextMove< M >) cw
|
||||
(eoBF< M &, const M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moItRandNextMove< M >) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
|
|
@ -189,20 +187,10 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moNextMove< M >) 0 1 box
|
||||
(eoBF< M &, const M::EOType &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
(moItRandNextMove< M >) 0 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
1 0 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,29 +1,29 @@
|
|||
\section{moNextMove$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Next\-Move$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_next_move}\index{moNextMove@{moNextMove}}
|
||||
Class which allows to generate a new move (\doxyref{moMove}{p.}{classmo_move}).
|
||||
Class which allows to generate a new move (\doxyref{mo\-Move}{p.}{classmo_move}).
|
||||
|
||||
|
||||
{\tt \#include $<$moNextMove.h$>$}
|
||||
{\tt \#include $<$mo\-Next\-Move.h$>$}
|
||||
|
||||
Inheritance diagram for moNextMove$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Next\-Move$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_next_move}
|
||||
\includegraphics[height=2cm]{classmo_next_move}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moNextMove$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Next\-Move$<$ M $>$}
|
||||
|
||||
Class which allows to generate a new move (\doxyref{moMove}{p.}{classmo_move}).
|
||||
Class which allows to generate a new move (\doxyref{mo\-Move}{p.}{classmo_move}).
|
||||
|
||||
Useful for the explorer (for \doxyref{moTS}{p.}{classmo_t_s} or \doxyref{moHC}{p.}{classmo_h_c}). Does nothing... An object that herits from this class needs to be designed for being used.
|
||||
Useful for the explorer (for \doxyref{mo\-TS}{p.}{classmo_t_s} or \doxyref{mo\-HC}{p.}{classmo_h_c}). Does nothing... An object that herits from this class needs to be designed for being used.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moNextMove.h.
|
||||
Definition at line 22 of file mo\-Next\-Move.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moNextMove.h\end{CompactItemize}
|
||||
mo\-Next\-Move.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 239.521
|
||||
%%BoundingBox: 0 0 500 291.971
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 2.0875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.7125 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moNoAspirCrit< M >) cw
|
||||
(moAspirCrit< M >) cw
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moNoAspirCrit< M >) 0 0 box
|
||||
(moAspirCrit< M >) 0 1 box
|
||||
(eoBF< const M &, const M::EOType::Fitness &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,40 +1,40 @@
|
|||
\section{moNoAspirCrit$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-No\-Aspir\-Crit$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_no_aspir_crit}\index{moNoAspirCrit@{moNoAspirCrit}}
|
||||
One of the possible aspiration criterion (\doxyref{moAspirCrit}{p.}{classmo_aspir_crit}).
|
||||
One of the possible aspiration criterion (\doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit}).
|
||||
|
||||
|
||||
{\tt \#include $<$moNoAspirCrit.h$>$}
|
||||
{\tt \#include $<$mo\-No\-Aspir\-Crit.h$>$}
|
||||
|
||||
Inheritance diagram for moNoAspirCrit$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-No\-Aspir\-Crit$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_no_aspir_crit}
|
||||
\includegraphics[height=2cm]{classmo_no_aspir_crit}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Private Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
bool {\bf operator()} (const M \&\_\-\_\-move, const typename M::EOType::Fitness \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const M \&\_\-\_\-move, const typename M::EOType::Fitness \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function which describes the aspiration criterion behaviour. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which initialises all that needs a \doxyref{moNoAspirCrit}{p.}{classmo_no_aspir_crit}. \item\end{CompactList}\end{CompactItemize}
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which initialises all that needs a \doxyref{mo\-No\-Aspir\-Crit}{p.}{classmo_no_aspir_crit}. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moNoAspirCrit$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-No\-Aspir\-Crit$<$ M $>$}
|
||||
|
||||
One of the possible aspiration criterion (\doxyref{moAspirCrit}{p.}{classmo_aspir_crit}).
|
||||
One of the possible aspiration criterion (\doxyref{mo\-Aspir\-Crit}{p.}{classmo_aspir_crit}).
|
||||
|
||||
The simplest : never satisfied.
|
||||
|
||||
|
||||
|
||||
Definition at line 21 of file moNoAspirCrit.h.
|
||||
Definition at line 21 of file mo\-No\-Aspir\-Crit.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moNoAspirCrit@{moNoAspirCrit}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moNoAspirCrit@{moNoAspirCrit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moNoAspirCrit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const typename M::EOType::Fitness \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_no_aspir_crit_8a7180a8d5c25bfb6727d0b59551b0f8}
|
||||
\index{moNoAspirCrit@{mo\-No\-Aspir\-Crit}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moNoAspirCrit@{mo\-No\-Aspir\-Crit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-No\-Aspir\-Crit}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const typename M::EOType::Fitness \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_no_aspir_crit_8a7180a8d5c25bfb6727d0b59551b0f8}
|
||||
|
||||
|
||||
Function which describes the aspiration criterion behaviour.
|
||||
|
|
@ -50,19 +50,19 @@ Does nothing.
|
|||
\item[Returns:]FALSE. \end{Desc}
|
||||
|
||||
|
||||
Definition at line 32 of file moNoAspirCrit.h.\index{moNoAspirCrit@{moNoAspirCrit}!init@{init}}
|
||||
\index{init@{init}!moNoAspirCrit@{moNoAspirCrit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moNoAspirCrit}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, private, virtual]}}\label{classmo_no_aspir_crit_f3a286fc4c2d36bd390ba9a3074f3037}
|
||||
Definition at line 32 of file mo\-No\-Aspir\-Crit.h.\index{moNoAspirCrit@{mo\-No\-Aspir\-Crit}!init@{init}}
|
||||
\index{init@{init}!moNoAspirCrit@{mo\-No\-Aspir\-Crit}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-No\-Aspir\-Crit}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, private, virtual]}}\label{classmo_no_aspir_crit_f3a286fc4c2d36bd390ba9a3074f3037}
|
||||
|
||||
|
||||
Procedure which initialises all that needs a \doxyref{moNoAspirCrit}{p.}{classmo_no_aspir_crit}.
|
||||
Procedure which initialises all that needs a \doxyref{mo\-No\-Aspir\-Crit}{p.}{classmo_no_aspir_crit}.
|
||||
|
||||
Nothing...
|
||||
|
||||
Implements {\bf moAspirCrit$<$ M $>$} \doxyref{}{p.}{classmo_aspir_crit_a8ce84510a5ec7c9078381e542c6d140}.
|
||||
Implements \bf{mo\-Aspir\-Crit$<$ M $>$} \doxyref{p.}{classmo_aspir_crit_a8ce84510a5ec7c9078381e542c6d140}.
|
||||
|
||||
Definition at line 43 of file moNoAspirCrit.h.
|
||||
Definition at line 43 of file mo\-No\-Aspir\-Crit.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moNoAspirCrit.h\end{CompactItemize}
|
||||
mo\-No\-Aspir\-Crit.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 386.473
|
||||
%%BoundingBox: 0 0 500 193.237
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.29375 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.5875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moNoFitImprSolContinue< EOT >) cw
|
||||
(moSolContinue< EOT >) cw
|
||||
(eoUF< const EOT &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moNoFitImprSolContinue< EOT >) 0 0 box
|
||||
(moSolContinue< EOT >) 0 1 box
|
||||
(eoUF< const EOT &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,50 +1,50 @@
|
|||
\section{moNoFitImprSolContinue$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_no_fit_impr_sol_continue}\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
One possible stop criterion for a solution-based heuristic.
|
||||
|
||||
|
||||
{\tt \#include $<$moNoFitImprSolContinue.h$>$}
|
||||
{\tt \#include $<$mo\-No\-Fit\-Impr\-Sol\-Continue.h$>$}
|
||||
|
||||
Inheritance diagram for moNoFitImprSolContinue$<$ EOT $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_no_fit_impr_sol_continue}
|
||||
\includegraphics[height=2cm]{classmo_no_fit_impr_sol_continue}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_no_fit_impr_sol_continue_64c184de66bb37d75d53aa600ac947b3}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_no_fit_impr_sol_continue_64c184de66bb37d75d53aa600ac947b3}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moNoFitImprSolContinue} (unsigned int \_\-\_\-maxNumberOfIterationWithoutImprovement)
|
||||
\bf{mo\-No\-Fit\-Impr\-Sol\-Continue} (unsigned int \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement)
|
||||
\begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const EOT \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const EOT \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which allows to initialise all the stuff needed. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
unsigned int {\bf maxNumberOfIterationsWithoutImprovement}\label{classmo_no_fit_impr_sol_continue_03612ffc3af9d943c1b1d2cde09d461b}
|
||||
unsigned int \bf{max\-Number\-Of\-Iterations\-Without\-Improvement}\label{classmo_no_fit_impr_sol_continue_03612ffc3af9d943c1b1d2cde09d461b}
|
||||
|
||||
\begin{CompactList}\small\item\em Maximum number of iterations without improvement allowed. \item\end{CompactList}\item
|
||||
bool {\bf firstFitnessSaved}\label{classmo_no_fit_impr_sol_continue_ca3591e47a075b59e0826f31234c71ef}
|
||||
bool \bf{first\-Fitness\-Saved}\label{classmo_no_fit_impr_sol_continue_ca3591e47a075b59e0826f31234c71ef}
|
||||
|
||||
\begin{CompactList}\small\item\em Flag that this is the first time that the fitness is used. \item\end{CompactList}\item
|
||||
{\bf Fitness} {\bf fitness}\label{classmo_no_fit_impr_sol_continue_3d3d2b43a4dd73e38689cc0018d44ee7}
|
||||
\bf{Fitness} \bf{fitness}\label{classmo_no_fit_impr_sol_continue_3d3d2b43a4dd73e38689cc0018d44ee7}
|
||||
|
||||
\begin{CompactList}\small\item\em Current Fitness. \item\end{CompactList}\item
|
||||
unsigned int {\bf counter}\label{classmo_no_fit_impr_sol_continue_46fc008a8f7cd06dcaaeb4016b433adb}
|
||||
unsigned int \bf{counter}\label{classmo_no_fit_impr_sol_continue_46fc008a8f7cd06dcaaeb4016b433adb}
|
||||
|
||||
\begin{CompactList}\small\item\em The iteration couter. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moNoFitImprSolContinue$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$}
|
||||
|
||||
One possible stop criterion for a solution-based heuristic.
|
||||
|
||||
|
|
@ -52,12 +52,12 @@ The stop criterion corresponds to a maximum number of iterations without improve
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moNoFitImprSolContinue.h.
|
||||
Definition at line 21 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moNoFitImprSolContinue}$<$ EOT $>$::{\bf moNoFitImprSolContinue} (unsigned int {\em \_\-\_\-maxNumberOfIterationWithoutImprovement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_a447aa0d8ed4ddf6fe47c805269cac6c}
|
||||
\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-No\-Fit\-Impr\-Sol\-Continue} (unsigned int {\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_a447aa0d8ed4ddf6fe47c805269cac6c}
|
||||
|
||||
|
||||
Basic constructor.
|
||||
|
|
@ -65,16 +65,16 @@ Basic constructor.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-maxNumberOfIterationWithoutImprovement}]The number of iterations without fitness improvement to reach for stop. \end{description}
|
||||
\item[{\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement}]The number of iterations without fitness improvement to reach for stop. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 33 of file moNoFitImprSolContinue.h.
|
||||
Definition at line 33 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moNoFitImprSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_no_fit_impr_sol_continue_dbd663623cae56ec76ee504ecb226fed}
|
||||
\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_no_fit_impr_sol_continue_dbd663623cae56ec76ee504ecb226fed}
|
||||
|
||||
|
||||
Function that activates the stopping criterion.
|
||||
|
|
@ -88,25 +88,23 @@ Indicates if the fitness has not been improved since a given number of iteration
|
|||
\item[Returns:]true or false. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ const EOT \&, bool $>$}.
|
||||
Definition at line 43 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h.
|
||||
|
||||
Definition at line 43 of file moNoFitImprSolContinue.h.
|
||||
|
||||
References moNoFitImprSolContinue$<$ EOT $>$::counter, moNoFitImprSolContinue$<$ EOT $>$::firstFitnessSaved, moNoFitImprSolContinue$<$ EOT $>$::fitness, and moNoFitImprSolContinue$<$ EOT $>$::maxNumberOfIterationsWithoutImprovement.\index{moNoFitImprSolContinue@{moNoFitImprSolContinue}!init@{init}}
|
||||
\index{init@{init}!moNoFitImprSolContinue@{moNoFitImprSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moNoFitImprSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4}
|
||||
References mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::counter, mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::fitness, and mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Without\-Improvement.\index{moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}!init@{init}}
|
||||
\index{init@{init}!moNoFitImprSolContinue@{mo\-No\-Fit\-Impr\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-No\-Fit\-Impr\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4}
|
||||
|
||||
|
||||
Procedure which allows to initialise all the stuff needed.
|
||||
|
||||
It can be also used to reinitialize all the needed things.
|
||||
|
||||
Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
|
||||
Definition at line 77 of file moNoFitImprSolContinue.h.
|
||||
Definition at line 77 of file mo\-No\-Fit\-Impr\-Sol\-Continue.h.
|
||||
|
||||
References moNoFitImprSolContinue$<$ EOT $>$::counter, and moNoFitImprSolContinue$<$ EOT $>$::firstFitnessSaved.
|
||||
References mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::counter, and mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moNoFitImprSolContinue.h\end{CompactItemize}
|
||||
mo\-No\-Fit\-Impr\-Sol\-Continue.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 303.03
|
||||
%%BoundingBox: 0 0 500 251.572
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.65 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.9875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moRandImprSelect< M >) cw
|
||||
(moMoveSelect< M >) cw
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moRandImprSelect< M >) 0 0 box
|
||||
(moMoveSelect< M >) 0 1 box
|
||||
(eoBF< M &, M::EOType::Fitness &, void >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,63 +1,63 @@
|
|||
\section{moRandImprSelect$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Rand\-Impr\-Select$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_rand_impr_select}\index{moRandImprSelect@{moRandImprSelect}}
|
||||
One of the possible \doxyref{moMove}{p.}{classmo_move} selector (\doxyref{moMoveSelect}{p.}{classmo_move_select}).
|
||||
One of the possible \doxyref{mo\-Move}{p.}{classmo_move} selector (\doxyref{mo\-Move\-Select}{p.}{classmo_move_select}).
|
||||
|
||||
|
||||
{\tt \#include $<$moRandImprSelect.h$>$}
|
||||
{\tt \#include $<$mo\-Rand\-Impr\-Select.h$>$}
|
||||
|
||||
Inheritance diagram for moRandImprSelect$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Rand\-Impr\-Select$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_rand_impr_select}
|
||||
\includegraphics[height=2cm]{classmo_rand_impr_select}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_rand_impr_select_3bff2fdb963297430543c82ffb567a5c}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_rand_impr_select_3bff2fdb963297430543c82ffb567a5c}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
void {\bf init} (const {\bf Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Procedure which all that needs a \doxyref{moRandImprSelect}{p.}{classmo_rand_impr_select}. \item\end{CompactList}\item
|
||||
bool {\bf update} (const M \&\_\-\_\-move, const {\bf Fitness} \&\_\-\_\-fit)
|
||||
void \bf{init} (const \bf{Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Procedure which all that needs a \doxyref{mo\-Rand\-Impr\-Select}{p.}{classmo_rand_impr_select}. \item\end{CompactList}\item
|
||||
bool \bf{update} (const M \&\_\-\_\-move, const \bf{Fitness} \&\_\-\_\-fit)
|
||||
\begin{CompactList}\small\item\em Function that updates the fitness and move vectors. \item\end{CompactList}\item
|
||||
void {\bf operator()} (M \&\_\-\_\-move, {\bf Fitness} \&\_\-\_\-fit) throw (EmptySelection)
|
||||
void \bf{operator()} (M \&\_\-\_\-move, \bf{Fitness} \&\_\-\_\-fit) throw (Empty\-Selection)
|
||||
\begin{CompactList}\small\item\em The move selection. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf Fitness} {\bf init\_\-fit}\label{classmo_rand_impr_select_d153c277a0a2ea95ac484210d445b40e}
|
||||
\bf{Fitness} \bf{init\_\-fit}\label{classmo_rand_impr_select_d153c277a0a2ea95ac484210d445b40e}
|
||||
|
||||
\begin{CompactList}\small\item\em Fitness of the current solution. \item\end{CompactList}\item
|
||||
std::vector$<$ {\bf Fitness} $>$ {\bf vect\_\-better\_\-fit}\label{classmo_rand_impr_select_05c7c3b858e8a25632f2f5c86b0c97a3}
|
||||
std::vector$<$ \bf{Fitness} $>$ \bf{vect\_\-better\_\-fit}\label{classmo_rand_impr_select_05c7c3b858e8a25632f2f5c86b0c97a3}
|
||||
|
||||
\begin{CompactList}\small\item\em Candidate fitnesse vector. \item\end{CompactList}\item
|
||||
std::vector$<$ M $>$ {\bf vect\_\-better\_\-moves}\label{classmo_rand_impr_select_2ace12bd179144fa71d56324694201f5}
|
||||
std::vector$<$ M $>$ \bf{vect\_\-better\_\-moves}\label{classmo_rand_impr_select_2ace12bd179144fa71d56324694201f5}
|
||||
|
||||
\begin{CompactList}\small\item\em Candidate move vector. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moRandImprSelect$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Rand\-Impr\-Select$<$ M $>$}
|
||||
|
||||
One of the possible \doxyref{moMove}{p.}{classmo_move} selector (\doxyref{moMoveSelect}{p.}{classmo_move_select}).
|
||||
One of the possible \doxyref{mo\-Move}{p.}{classmo_move} selector (\doxyref{mo\-Move\-Select}{p.}{classmo_move_select}).
|
||||
|
||||
All the neighbors are considered. One of them that enables an improvement of the objective function is choosen.
|
||||
|
||||
|
||||
|
||||
Definition at line 25 of file moRandImprSelect.h.
|
||||
Definition at line 25 of file mo\-Rand\-Impr\-Select.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moRandImprSelect@{moRandImprSelect}!init@{init}}
|
||||
\index{init@{init}!moRandImprSelect@{moRandImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moRandImprSelect}$<$ M $>$::init (const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_a19726a1509cff874801615d63a3b5d9}
|
||||
\index{moRandImprSelect@{mo\-Rand\-Impr\-Select}!init@{init}}
|
||||
\index{init@{init}!moRandImprSelect@{mo\-Rand\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Rand\-Impr\-Select}$<$ M $>$::init (const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_a19726a1509cff874801615d63a3b5d9}
|
||||
|
||||
|
||||
Procedure which all that needs a \doxyref{moRandImprSelect}{p.}{classmo_rand_impr_select}.
|
||||
Procedure which all that needs a \doxyref{mo\-Rand\-Impr\-Select}{p.}{classmo_rand_impr_select}.
|
||||
|
||||
Give a value to the initialise fitness. Clean the move and fitness vectors.
|
||||
|
||||
|
|
@ -68,13 +68,13 @@ Give a value to the initialise fitness. Clean the move and fitness vectors.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf moMoveSelect$<$ M $>$} \doxyref{}{p.}{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}.
|
||||
Implements \bf{mo\-Move\-Select$<$ M $>$} \doxyref{p.}{classmo_move_select_bca4c43f13d26eca7163aeb272a4a52e}.
|
||||
|
||||
Definition at line 40 of file moRandImprSelect.h.
|
||||
Definition at line 40 of file mo\-Rand\-Impr\-Select.h.
|
||||
|
||||
References moRandImprSelect$<$ M $>$::init\_\-fit, moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves.\index{moRandImprSelect@{moRandImprSelect}!update@{update}}
|
||||
\index{update@{update}!moRandImprSelect@{moRandImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moRandImprSelect}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const {\bf Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_60ae5548560caee7e28d5ed2446186c9}
|
||||
References mo\-Rand\-Impr\-Select$<$ M $>$::init\_\-fit, mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-fit, and mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-moves.\index{moRandImprSelect@{mo\-Rand\-Impr\-Select}!update@{update}}
|
||||
\index{update@{update}!moRandImprSelect@{mo\-Rand\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-Rand\-Impr\-Select}$<$ M $>$::update (const M \& {\em \_\-\_\-move}, const \bf{Fitness} \& {\em \_\-\_\-fit})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_60ae5548560caee7e28d5ed2446186c9}
|
||||
|
||||
|
||||
Function that updates the fitness and move vectors.
|
||||
|
|
@ -90,13 +90,13 @@ if a move give a better fitness than the initial fitness, it is saved and the fi
|
|||
\item[Returns:]TRUE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf moMoveSelect$<$ M $>$} \doxyref{}{p.}{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}.
|
||||
Implements \bf{mo\-Move\-Select$<$ M $>$} \doxyref{p.}{classmo_move_select_7c157b6e64fd417acf6e900059204eb1}.
|
||||
|
||||
Definition at line 56 of file moRandImprSelect.h.
|
||||
Definition at line 56 of file mo\-Rand\-Impr\-Select.h.
|
||||
|
||||
References moRandImprSelect$<$ M $>$::init\_\-fit, moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves.\index{moRandImprSelect@{moRandImprSelect}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moRandImprSelect@{moRandImprSelect}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moRandImprSelect}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, {\bf Fitness} \& {\em \_\-\_\-fit}) throw ({\bf EmptySelection})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_rand_impr_select_5ee57f77a450c0a9ce50bfccf3ad2a55}
|
||||
References mo\-Rand\-Impr\-Select$<$ M $>$::init\_\-fit, mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-fit, and mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-moves.\index{moRandImprSelect@{mo\-Rand\-Impr\-Select}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moRandImprSelect@{mo\-Rand\-Impr\-Select}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Rand\-Impr\-Select}$<$ M $>$::operator() (M \& {\em \_\-\_\-move}, \bf{Fitness} \& {\em \_\-\_\-fit}) throw (\bf{Empty\-Selection})\hspace{0.3cm}{\tt [inline]}}\label{classmo_rand_impr_select_5ee57f77a450c0a9ce50bfccf3ad2a55}
|
||||
|
||||
|
||||
The move selection.
|
||||
|
|
@ -111,16 +111,14 @@ One the saved move is randomly chosen.
|
|||
\begin{Desc}
|
||||
\item[Exceptions:]
|
||||
\begin{description}
|
||||
\item[{\em \doxyref{EmptySelection}{p.}{class_empty_selection}}]If no move which improves the current fitness are found. \end{description}
|
||||
\item[{\em \doxyref{Empty\-Selection}{p.}{class_empty_selection}}]If no move which improves the current fitness are found. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ M \&, M::EOType::Fitness \&, void $>$}.
|
||||
Definition at line 77 of file mo\-Rand\-Impr\-Select.h.
|
||||
|
||||
Definition at line 77 of file moRandImprSelect.h.
|
||||
|
||||
References eoRng::random(), moRandImprSelect$<$ M $>$::vect\_\-better\_\-fit, and moRandImprSelect$<$ M $>$::vect\_\-better\_\-moves.
|
||||
References mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-fit, and mo\-Rand\-Impr\-Select$<$ M $>$::vect\_\-better\_\-moves.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moRandImprSelect.h\end{CompactItemize}
|
||||
mo\-Rand\-Impr\-Select.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -1,29 +1,23 @@
|
|||
\section{moRandMove$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Rand\-Move$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_rand_move}\index{moRandMove@{moRandMove}}
|
||||
Random move generator.
|
||||
|
||||
|
||||
{\tt \#include $<$moRandMove.h$>$}
|
||||
{\tt \#include $<$mo\-Rand\-Move.h$>$}
|
||||
|
||||
Inheritance diagram for moRandMove$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3cm]{classmo_rand_move}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moRandMove$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Rand\-Move$<$ M $>$}
|
||||
|
||||
Random move generator.
|
||||
|
||||
Only a description... An object that herits from this class needs to be designed in order to use a \doxyref{moSA}{p.}{classmo_s_a}.
|
||||
Only a description... An object that herits from this class needs to be designed in order to use a \doxyref{mo\-SA}{p.}{classmo_s_a}.
|
||||
|
||||
|
||||
|
||||
Definition at line 21 of file moRandMove.h.
|
||||
Definition at line 21 of file mo\-Rand\-Move.h.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moRandMove.h\end{CompactItemize}
|
||||
mo\-Rand\-Move.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 271.739
|
||||
%%BoundingBox: 0 0 500 268.456
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,13 +19,13 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/cols 2 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
|
|
@ -175,10 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moSA< M >) cw
|
||||
(moAlgo< M::EOType >) cw
|
||||
(eoMonOp< M::EOType >) cw
|
||||
(eoOp< EOType >) cw
|
||||
(eoUF< M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
% ----- classes -----
|
||||
|
||||
(moSA< M >) 0.5 0 box
|
||||
(moAlgo< M::EOType >) 0.5 1 box
|
||||
(eoMonOp< M::EOType >) 0.5 2 box
|
||||
(eoOp< EOType >) 0 3 box
|
||||
(eoUF< M::EOType &, bool >) 1 3 box
|
||||
(eoFunctorBase) 1 4 box
|
||||
(moSA< M >) 0 0 box
|
||||
(moAlgo< M::EOType >) 0 1 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 0 out
|
||||
0 0 0 out
|
||||
solid
|
||||
1 0.5 1 in
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
0 1 3 conn
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
1 1 3 in
|
||||
solid
|
||||
0 1 3 out
|
||||
solid
|
||||
1 1 4 in
|
||||
1 0 1 in
|
||||
|
|
|
|||
|
|
@ -1,57 +1,57 @@
|
|||
\section{moSA$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-SA$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_s_a}\index{moSA@{moSA}}
|
||||
Simulated Annealing (SA).
|
||||
|
||||
|
||||
{\tt \#include $<$moSA.h$>$}
|
||||
{\tt \#include $<$mo\-SA.h$>$}
|
||||
|
||||
Inheritance diagram for moSA$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-SA$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=5cm]{classmo_s_a}
|
||||
\includegraphics[height=2cm]{classmo_s_a}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moSA} ({\bf moRandMove}$<$ M $>$ \&\_\-\_\-move\_\-rand, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, double \_\-\_\-init\_\-temp, {\bf moCoolingSchedule} \&\_\-\_\-cool\_\-sched, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\bf{mo\-SA} (\bf{mo\-Rand\-Move}$<$ M $>$ \&\_\-\_\-move\_\-rand, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \&\_\-\_\-cont, double \_\-\_\-init\_\-temp, \bf{mo\-Cooling\-Schedule} \&\_\-\_\-cool\_\-sched, eo\-Eval\-Func$<$ \bf{EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em SA constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (\bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em function that launches the SA algorithm. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_s_a_d5d64a8797bdedc7b3af7893aded0bd5}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_s_a_d5d64a8797bdedc7b3af7893aded0bd5}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_s_a_97f1a40d5ab5a0b3f878d0347b34804b}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_s_a_97f1a40d5ab5a0b3f878d0347b34804b}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moRandMove}$<$ M $>$ \& {\bf move\_\-rand}\label{classmo_s_a_71c49935b63a202d25888a5f86121fec}
|
||||
\bf{mo\-Rand\-Move}$<$ M $>$ \& \bf{move\_\-rand}\label{classmo_s_a_71c49935b63a202d25888a5f86121fec}
|
||||
|
||||
\begin{CompactList}\small\item\em A move generator (generally randomly). \item\end{CompactList}\item
|
||||
{\bf moMoveIncrEval}$<$ M $>$ \& {\bf incr\_\-eval}\label{classmo_s_a_4c3be32e9832e465b24e6d33559356bc}
|
||||
\bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& \bf{incr\_\-eval}\label{classmo_s_a_4c3be32e9832e465b24e6d33559356bc}
|
||||
|
||||
\begin{CompactList}\small\item\em A (generally) efficient evaluation function. \item\end{CompactList}\item
|
||||
{\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\bf cont}\label{classmo_s_a_54484c8a514866ea496e0058c2e09716}
|
||||
\bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \& \bf{cont}\label{classmo_s_a_54484c8a514866ea496e0058c2e09716}
|
||||
|
||||
\begin{CompactList}\small\item\em Stopping criterion before temperature update. \item\end{CompactList}\item
|
||||
double {\bf init\_\-temp}\label{classmo_s_a_f1af7636b52aa5f6b381f8187b667bd4}
|
||||
double \bf{init\_\-temp}\label{classmo_s_a_f1af7636b52aa5f6b381f8187b667bd4}
|
||||
|
||||
\begin{CompactList}\small\item\em Initial temperature. \item\end{CompactList}\item
|
||||
{\bf moCoolingSchedule} \& {\bf cool\_\-sched}\label{classmo_s_a_11c7d0cab649b7d680dd85bb74cb4ff6}
|
||||
\bf{mo\-Cooling\-Schedule} \& \bf{cool\_\-sched}\label{classmo_s_a_11c7d0cab649b7d680dd85bb74cb4ff6}
|
||||
|
||||
\begin{CompactList}\small\item\em The cooling schedule. \item\end{CompactList}\item
|
||||
{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_s_a_bcd6a940046f23dd741444c0b85edf2c}
|
||||
eo\-Eval\-Func$<$ \bf{EOT} $>$ \& \bf{full\_\-eval}\label{classmo_s_a_bcd6a940046f23dd741444c0b85edf2c}
|
||||
|
||||
\begin{CompactList}\small\item\em A full evaluation function. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moSA$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-SA$<$ M $>$}
|
||||
|
||||
Simulated Annealing (SA).
|
||||
|
||||
|
|
@ -59,12 +59,12 @@ Class that describes a Simulated Annealing algorithm.
|
|||
|
||||
|
||||
|
||||
Definition at line 30 of file moSA.h.
|
||||
Definition at line 30 of file mo\-SA.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moSA@{moSA}!moSA@{moSA}}
|
||||
\index{moSA@{moSA}!moSA@{moSA}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moSA}$<$ M $>$::{\bf moSA} ({\bf moRandMove}$<$ M $>$ \& {\em \_\-\_\-move\_\-rand}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, double {\em \_\-\_\-init\_\-temp}, {\bf moCoolingSchedule} \& {\em \_\-\_\-cool\_\-sched}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_01f6a44483e5a7abbce33eb480b6a9b9}
|
||||
\index{moSA@{mo\-SA}!moSA@{moSA}}
|
||||
\index{moSA@{moSA}!moSA@{mo\-SA}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-SA}$<$ M $>$::\bf{mo\-SA} (\bf{mo\-Rand\-Move}$<$ M $>$ \& {\em \_\-\_\-move\_\-rand}, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \& {\em \_\-\_\-cont}, double {\em \_\-\_\-init\_\-temp}, \bf{mo\-Cooling\-Schedule} \& {\em \_\-\_\-cool\_\-sched}, eo\-Eval\-Func$<$ \bf{EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_01f6a44483e5a7abbce33eb480b6a9b9}
|
||||
|
||||
|
||||
SA constructor.
|
||||
|
|
@ -78,17 +78,17 @@ All the boxes used by a SA need to be given.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 52 of file moSA.h.
|
||||
Definition at line 52 of file mo\-SA.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moSA@{moSA}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSA@{moSA}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSA}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_s_a_0e4c54b57bc13fcbd4763883b8f719e5}
|
||||
\index{moSA@{mo\-SA}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSA@{mo\-SA}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-SA}$<$ M $>$::operator() (\bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_s_a_0e4c54b57bc13fcbd4763883b8f719e5}
|
||||
|
||||
|
||||
function that launches the SA algorithm.
|
||||
|
||||
As a \doxyref{moTS}{p.}{classmo_t_s} or a \doxyref{moHC}{p.}{classmo_h_c}, the SA can be used for HYBRIDATION in an evolutionary algorithm.
|
||||
As a \doxyref{mo\-TS}{p.}{classmo_t_s} or a \doxyref{mo\-HC}{p.}{classmo_h_c}, the SA can be used for HYBRIDATION in an evolutionary algorithm.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -99,12 +99,10 @@ As a \doxyref{moTS}{p.}{classmo_t_s} or a \doxyref{moHC}{p.}{classmo_h_c}, the S
|
|||
\item[Returns:]TRUE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ M::EOType \&, bool $>$}.
|
||||
Definition at line 74 of file mo\-SA.h.
|
||||
|
||||
Definition at line 74 of file moSA.h.
|
||||
|
||||
References moSA$<$ M $>$::cont, moSA$<$ M $>$::cool\_\-sched, moSA$<$ M $>$::full\_\-eval, moSA$<$ M $>$::incr\_\-eval, moSA$<$ M $>$::init\_\-temp, moSA$<$ M $>$::move\_\-rand, and eoRng::uniform().
|
||||
References mo\-SA$<$ M $>$::cont, mo\-SA$<$ M $>$::cool\_\-sched, mo\-SA$<$ M $>$::full\_\-eval, mo\-SA$<$ M $>$::incr\_\-eval, mo\-SA$<$ M $>$::init\_\-temp, and mo\-SA$<$ M $>$::move\_\-rand.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moSA.h\end{CompactItemize}
|
||||
mo\-SA.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 277.778
|
||||
%%BoundingBox: 0 0 500 213.904
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.8 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.3375 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moSimpleMoveTabuList< M >) cw
|
||||
(moTabuList< M >) cw
|
||||
(eoBF< const M &, const M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moSimpleMoveTabuList< M >) 0 0 box
|
||||
(moTabuList< M >) 0 1 box
|
||||
(eoBF< const M &, const M::EOType &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,68 +1,68 @@
|
|||
\section{moSimpleMoveTabuList$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Simple\-Move\-Tabu\-List$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_simple_move_tabu_list}\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
Class describing a move tabu list with a limited memory.
|
||||
|
||||
|
||||
{\tt \#include $<$moSimpleMoveTabuList.h$>$}
|
||||
{\tt \#include $<$mo\-Simple\-Move\-Tabu\-List.h$>$}
|
||||
|
||||
Inheritance diagram for moSimpleMoveTabuList$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Simple\-Move\-Tabu\-List$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_simple_move_tabu_list}
|
||||
\includegraphics[height=2cm]{classmo_simple_move_tabu_list}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_simple_move_tabu_list_91286ff3ba6b1e9e1db9e4fdade2edb7}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_simple_move_tabu_list_91286ff3ba6b1e9e1db9e4fdade2edb7}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moSimpleMoveTabuList} (unsigned int \_\-\_\-size)\label{classmo_simple_move_tabu_list_12798ce0bc3a2ee031fb301290ed6d79}
|
||||
\bf{mo\-Simple\-Move\-Tabu\-List} (unsigned int \_\-\_\-size)\label{classmo_simple_move_tabu_list_12798ce0bc3a2ee031fb301290ed6d79}
|
||||
|
||||
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that indicates if, in a given state, the \_\-move is tabu or not. \item\end{CompactList}\item
|
||||
void {\bf add} (const M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)
|
||||
void \bf{add} (const M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Procedure to add a move in the tabu list. \item\end{CompactList}\item
|
||||
void {\bf update} ()
|
||||
void \bf{update} ()
|
||||
\begin{CompactList}\small\item\em Procedure that updates the tabu list content. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which initialises the tabu list. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
void {\bf removeMove} (const M \&\_\-\_\-move)
|
||||
void \bf{remove\-Move} (const M \&\_\-\_\-move)
|
||||
\begin{CompactList}\small\item\em Procedure that removes a given move from the tabu list (if it is into, else do nothing). \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
unsigned int {\bf maxSize}\label{classmo_simple_move_tabu_list_e48848e9e5c9c8435475cbdf21658e23}
|
||||
unsigned int \bf{max\-Size}\label{classmo_simple_move_tabu_list_e48848e9e5c9c8435475cbdf21658e23}
|
||||
|
||||
\begin{CompactList}\small\item\em The maximum size of the tabu list. \item\end{CompactList}\item
|
||||
unsigned int {\bf currentSize}\label{classmo_simple_move_tabu_list_f1f9524e62d48f3688aa58a6055ccceb}
|
||||
unsigned int \bf{current\-Size}\label{classmo_simple_move_tabu_list_f1f9524e62d48f3688aa58a6055ccceb}
|
||||
|
||||
\begin{CompactList}\small\item\em The current size of the tabu list. \item\end{CompactList}\item
|
||||
std::list$<$ M $>$ {\bf tabuList}\label{classmo_simple_move_tabu_list_d91bc838361524720616b44eda9b2c3a}
|
||||
std::list$<$ M $>$ \bf{tabu\-List}\label{classmo_simple_move_tabu_list_d91bc838361524720616b44eda9b2c3a}
|
||||
|
||||
\begin{CompactList}\small\item\em The move tabu list. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moSimpleMoveTabuList$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Simple\-Move\-Tabu\-List$<$ M $>$}
|
||||
|
||||
Class describing a move tabu list with a limited memory.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moSimpleMoveTabuList.h.
|
||||
Definition at line 22 of file mo\-Simple\-Move\-Tabu\-List.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleMoveTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_bb7fe9da28617f56734af71c42c8265a}
|
||||
\index{moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-Simple\-Move\-Tabu\-List}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_move_tabu_list_bb7fe9da28617f56734af71c42c8265a}
|
||||
|
||||
|
||||
Function that indicates if, in a given state, the \_\-move is tabu or not.
|
||||
|
|
@ -70,19 +70,17 @@ Function that indicates if, in a given state, the \_\-move is tabu or not.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{moMove}{p.}{classmo_move}. \item[{\em \_\-\_\-sol}]A solution. \end{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{mo\-Move}{p.}{classmo_move}. \item[{\em \_\-\_\-sol}]A solution. \end{description}
|
||||
\end{Desc}
|
||||
\begin{Desc}
|
||||
\item[Returns:]true or false. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ const M \&, const M::EOType \&, bool $>$}.
|
||||
Definition at line 46 of file mo\-Simple\-Move\-Tabu\-List.h.
|
||||
|
||||
Definition at line 46 of file moSimpleMoveTabuList.h.
|
||||
|
||||
References moSimpleMoveTabuList$<$ M $>$::tabuList.\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!add@{add}}
|
||||
\index{add@{add}!moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleMoveTabuList}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_43c979a9ec876c5e5b591b1c422395ef}
|
||||
References mo\-Simple\-Move\-Tabu\-List$<$ M $>$::tabu\-List.\index{moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}!add@{add}}
|
||||
\index{add@{add}!moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Move\-Tabu\-List}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_43c979a9ec876c5e5b591b1c422395ef}
|
||||
|
||||
|
||||
Procedure to add a move in the tabu list.
|
||||
|
|
@ -96,35 +94,35 @@ The two parameters have not to be modified so they are constant parameters.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}.
|
||||
|
||||
Definition at line 60 of file moSimpleMoveTabuList.h.
|
||||
Definition at line 60 of file mo\-Simple\-Move\-Tabu\-List.h.
|
||||
|
||||
References moSimpleMoveTabuList$<$ M $>$::currentSize, moSimpleMoveTabuList$<$ M $>$::maxSize, moSimpleMoveTabuList$<$ M $>$::removeMove(), and moSimpleMoveTabuList$<$ M $>$::tabuList.\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!update@{update}}
|
||||
\index{update@{update}!moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleMoveTabuList}$<$ M $>$::update ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}
|
||||
References mo\-Simple\-Move\-Tabu\-List$<$ M $>$::current\-Size, mo\-Simple\-Move\-Tabu\-List$<$ M $>$::max\-Size, mo\-Simple\-Move\-Tabu\-List$<$ M $>$::remove\-Move(), and mo\-Simple\-Move\-Tabu\-List$<$ M $>$::tabu\-List.\index{moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}!update@{update}}
|
||||
\index{update@{update}!moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Move\-Tabu\-List}$<$ M $>$::update ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}
|
||||
|
||||
|
||||
Procedure that updates the tabu list content.
|
||||
|
||||
Generally, a counter associated to each saved move is decreased by one.
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}.
|
||||
|
||||
Definition at line 82 of file moSimpleMoveTabuList.h.\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!init@{init}}
|
||||
\index{init@{init}!moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleMoveTabuList}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}
|
||||
Definition at line 82 of file mo\-Simple\-Move\-Tabu\-List.h.\index{moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}!init@{init}}
|
||||
\index{init@{init}!moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Move\-Tabu\-List}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}
|
||||
|
||||
|
||||
Procedure which initialises the tabu list.
|
||||
|
||||
Can be useful if the data structure needs to be allocated before being used.
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}.
|
||||
|
||||
Definition at line 88 of file moSimpleMoveTabuList.h.\index{moSimpleMoveTabuList@{moSimpleMoveTabuList}!removeMove@{removeMove}}
|
||||
\index{removeMove@{removeMove}!moSimpleMoveTabuList@{moSimpleMoveTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleMoveTabuList}$<$ M $>$::removeMove (const M \& {\em \_\-\_\-move})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_simple_move_tabu_list_a3fa2bd19e09f1541878fa28e867d20f}
|
||||
Definition at line 88 of file mo\-Simple\-Move\-Tabu\-List.h.\index{moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}!removeMove@{removeMove}}
|
||||
\index{removeMove@{removeMove}!moSimpleMoveTabuList@{mo\-Simple\-Move\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Move\-Tabu\-List}$<$ M $>$::remove\-Move (const M \& {\em \_\-\_\-move})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_simple_move_tabu_list_a3fa2bd19e09f1541878fa28e867d20f}
|
||||
|
||||
|
||||
Procedure that removes a given move from the tabu list (if it is into, else do nothing).
|
||||
|
|
@ -132,16 +130,16 @@ Procedure that removes a given move from the tabu list (if it is into, else do n
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{moMove}{p.}{classmo_move}. \end{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{mo\-Move}{p.}{classmo_move}. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 100 of file moSimpleMoveTabuList.h.
|
||||
Definition at line 100 of file mo\-Simple\-Move\-Tabu\-List.h.
|
||||
|
||||
References moSimpleMoveTabuList$<$ M $>$::tabuList.
|
||||
References mo\-Simple\-Move\-Tabu\-List$<$ M $>$::tabu\-List.
|
||||
|
||||
Referenced by moSimpleMoveTabuList$<$ M $>$::add().
|
||||
Referenced by mo\-Simple\-Move\-Tabu\-List$<$ M $>$::add().
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moSimpleMoveTabuList.h\end{CompactItemize}
|
||||
mo\-Simple\-Move\-Tabu\-List.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 277.778
|
||||
%%BoundingBox: 0 0 500 200
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.8 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.5 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moSimpleSolutionTabuList< M >) cw
|
||||
(moTabuList< M >) cw
|
||||
(eoBF< const M &, const M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moSimpleSolutionTabuList< M >) 0 0 box
|
||||
(moTabuList< M >) 0 1 box
|
||||
(eoBF< const M &, const M::EOType &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,67 +1,67 @@
|
|||
\section{moSimpleSolutionTabuList$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_simple_solution_tabu_list}\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
Class describing a solution tabu list with limited length.
|
||||
|
||||
|
||||
{\tt \#include $<$moSimpleSolutionTabuList.h$>$}
|
||||
{\tt \#include $<$mo\-Simple\-Solution\-Tabu\-List.h$>$}
|
||||
|
||||
Inheritance diagram for moSimpleSolutionTabuList$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_simple_solution_tabu_list}
|
||||
\includegraphics[height=2cm]{classmo_simple_solution_tabu_list}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_simple_solution_tabu_list_881060871a6b49e5e8554c5df85176d9}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_simple_solution_tabu_list_881060871a6b49e5e8554c5df85176d9}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moSimpleSolutionTabuList} (unsigned int \_\-\_\-size)
|
||||
\bf{mo\-Simple\-Solution\-Tabu\-List} (unsigned int \_\-\_\-size)
|
||||
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that indicates if, in a given state, the \_\-move is tabu or not. \item\end{CompactList}\item
|
||||
void {\bf add} (const M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)
|
||||
void \bf{add} (const M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Procedure to add a move in the tabu list. \item\end{CompactList}\item
|
||||
void {\bf update} ()
|
||||
void \bf{update} ()
|
||||
\begin{CompactList}\small\item\em Procedure that updates the tabu list content. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which initialises the tabu list. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
void {\bf removeSolution} (const {\bf EOT} \&\_\-\_\-sol)
|
||||
void \bf{remove\-Solution} (const \bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Procedure that removes a given solution from the tabu list (if it is into, else does nothing). \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
unsigned int {\bf maxSize}\label{classmo_simple_solution_tabu_list_662e1f65fadff234692be009a2440845}
|
||||
unsigned int \bf{max\-Size}\label{classmo_simple_solution_tabu_list_662e1f65fadff234692be009a2440845}
|
||||
|
||||
\begin{CompactList}\small\item\em The maximum size of the tabu list. \item\end{CompactList}\item
|
||||
unsigned int {\bf currentSize}\label{classmo_simple_solution_tabu_list_2aaf6e882d10495adddae94cb7a48fbf}
|
||||
unsigned int \bf{current\-Size}\label{classmo_simple_solution_tabu_list_2aaf6e882d10495adddae94cb7a48fbf}
|
||||
|
||||
\begin{CompactList}\small\item\em The current size of the tabu list. \item\end{CompactList}\item
|
||||
std::list$<$ {\bf EOT} $>$ {\bf tabuList}\label{classmo_simple_solution_tabu_list_75df9cd683528d3722d02bac407b710b}
|
||||
std::list$<$ \bf{EOT} $>$ \bf{tabu\-List}\label{classmo_simple_solution_tabu_list_75df9cd683528d3722d02bac407b710b}
|
||||
|
||||
\begin{CompactList}\small\item\em The solution tabu list. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moSimpleSolutionTabuList$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Simple\-Solution\-Tabu\-List$<$ M $>$}
|
||||
|
||||
Class describing a solution tabu list with limited length.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moSimpleSolutionTabuList.h.
|
||||
Definition at line 22 of file mo\-Simple\-Solution\-Tabu\-List.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moSimpleSolutionTabuList}$<$ M $>$::{\bf moSimpleSolutionTabuList} (unsigned int {\em \_\-\_\-size})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_solution_tabu_list_8f8ce82b49ff49efbd934cedd3e34178}
|
||||
\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::\bf{mo\-Simple\-Solution\-Tabu\-List} (unsigned int {\em \_\-\_\-size})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_solution_tabu_list_8f8ce82b49ff49efbd934cedd3e34178}
|
||||
|
||||
|
||||
Constructor.
|
||||
|
|
@ -73,14 +73,14 @@ Constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 34 of file moSimpleSolutionTabuList.h.
|
||||
Definition at line 34 of file mo\-Simple\-Solution\-Tabu\-List.h.
|
||||
|
||||
References moSimpleSolutionTabuList$<$ M $>$::currentSize.
|
||||
References mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::current\-Size.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moSimpleSolutionTabuList}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_e1f1cf258b55554d8be88fb5780a0047}
|
||||
\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::operator() (const M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_simple_solution_tabu_list_e1f1cf258b55554d8be88fb5780a0047}
|
||||
|
||||
|
||||
Function that indicates if, in a given state, the \_\-move is tabu or not.
|
||||
|
|
@ -88,19 +88,17 @@ Function that indicates if, in a given state, the \_\-move is tabu or not.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{moMove}{p.}{classmo_move}. \item[{\em \_\-\_\-sol}]A solution. \end{description}
|
||||
\item[{\em \_\-\_\-move}]A given \doxyref{mo\-Move}{p.}{classmo_move}. \item[{\em \_\-\_\-sol}]A solution. \end{description}
|
||||
\end{Desc}
|
||||
\begin{Desc}
|
||||
\item[Returns:]true or false. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ const M \&, const M::EOType \&, bool $>$}.
|
||||
Definition at line 45 of file mo\-Simple\-Solution\-Tabu\-List.h.
|
||||
|
||||
Definition at line 45 of file moSimpleSolutionTabuList.h.
|
||||
|
||||
References moSimpleSolutionTabuList$<$ M $>$::tabuList.\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!add@{add}}
|
||||
\index{add@{add}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleSolutionTabuList}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_fd6b3a1764121169650c969bba895615}
|
||||
References mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::tabu\-List.\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!add@{add}}
|
||||
\index{add@{add}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_fd6b3a1764121169650c969bba895615}
|
||||
|
||||
|
||||
Procedure to add a move in the tabu list.
|
||||
|
|
@ -114,35 +112,35 @@ The two parameters have not to be modified so they are constant parameters.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}.
|
||||
|
||||
Definition at line 64 of file moSimpleSolutionTabuList.h.
|
||||
Definition at line 64 of file mo\-Simple\-Solution\-Tabu\-List.h.
|
||||
|
||||
References moSimpleSolutionTabuList$<$ M $>$::currentSize, moSimpleSolutionTabuList$<$ M $>$::maxSize, moSimpleSolutionTabuList$<$ M $>$::removeSolution(), and moSimpleSolutionTabuList$<$ M $>$::tabuList.\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!update@{update}}
|
||||
\index{update@{update}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleSolutionTabuList}$<$ M $>$::update ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}
|
||||
References mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::current\-Size, mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::max\-Size, mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::remove\-Solution(), and mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::tabu\-List.\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!update@{update}}
|
||||
\index{update@{update}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::update ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}
|
||||
|
||||
|
||||
Procedure that updates the tabu list content.
|
||||
|
||||
Generally, a counter associated to each saved move is decreased by one.
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}.
|
||||
|
||||
Definition at line 91 of file moSimpleSolutionTabuList.h.\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!init@{init}}
|
||||
\index{init@{init}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleSolutionTabuList}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}
|
||||
Definition at line 91 of file mo\-Simple\-Solution\-Tabu\-List.h.\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!init@{init}}
|
||||
\index{init@{init}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}
|
||||
|
||||
|
||||
Procedure which initialises the tabu list.
|
||||
|
||||
Can be useful if the data structure needs to be allocated before being used.
|
||||
|
||||
Implements {\bf moTabuList$<$ M $>$} \doxyref{}{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}.
|
||||
Implements \bf{mo\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}.
|
||||
|
||||
Definition at line 97 of file moSimpleSolutionTabuList.h.\index{moSimpleSolutionTabuList@{moSimpleSolutionTabuList}!removeSolution@{removeSolution}}
|
||||
\index{removeSolution@{removeSolution}!moSimpleSolutionTabuList@{moSimpleSolutionTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moSimpleSolutionTabuList}$<$ M $>$::removeSolution (const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_simple_solution_tabu_list_7847a48f33c15e31298f3e715d754560}
|
||||
Definition at line 97 of file mo\-Simple\-Solution\-Tabu\-List.h.\index{moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}!removeSolution@{removeSolution}}
|
||||
\index{removeSolution@{removeSolution}!moSimpleSolutionTabuList@{mo\-Simple\-Solution\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-Simple\-Solution\-Tabu\-List}$<$ M $>$::remove\-Solution (const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, private]}}\label{classmo_simple_solution_tabu_list_7847a48f33c15e31298f3e715d754560}
|
||||
|
||||
|
||||
Procedure that removes a given solution from the tabu list (if it is into, else does nothing).
|
||||
|
|
@ -154,12 +152,12 @@ Procedure that removes a given solution from the tabu list (if it is into, else
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 109 of file moSimpleSolutionTabuList.h.
|
||||
Definition at line 109 of file mo\-Simple\-Solution\-Tabu\-List.h.
|
||||
|
||||
References moSimpleSolutionTabuList$<$ M $>$::tabuList.
|
||||
References mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::tabu\-List.
|
||||
|
||||
Referenced by moSimpleSolutionTabuList$<$ M $>$::add().
|
||||
Referenced by mo\-Simple\-Solution\-Tabu\-List$<$ M $>$::add().
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moSimpleSolutionTabuList.h\end{CompactItemize}
|
||||
mo\-Simple\-Solution\-Tabu\-List.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 96.6184
|
||||
%%BoundingBox: 0 0 500 48.3092
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 5.175 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 10.35 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 4 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moSolContinue< EOT >) cw
|
||||
(eoUF< const EOT &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moFitSolContinue< EOT >) cw
|
||||
(moGenSolContinue< EOT >) cw
|
||||
(moNoFitImprSolContinue< EOT >) cw
|
||||
|
|
@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moSolContinue< EOT >) 1.5 1 box
|
||||
(eoUF< const EOT &, bool >) 1.5 2 box
|
||||
(eoFunctorBase) 1.5 3 box
|
||||
(moFitSolContinue< EOT >) 0 0 box
|
||||
(moGenSolContinue< EOT >) 1 0 box
|
||||
(moNoFitImprSolContinue< EOT >) 2 0 box
|
||||
|
|
@ -201,14 +197,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 1.5 1 out
|
||||
solid
|
||||
1 1.5 2 in
|
||||
solid
|
||||
0 1.5 2 out
|
||||
solid
|
||||
1 1.5 3 in
|
||||
solid
|
||||
1 1.5 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,46 +1,46 @@
|
|||
\section{moSolContinue$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Sol\-Continue$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_sol_continue}\index{moSolContinue@{moSolContinue}}
|
||||
Class that describes a stopping criterion for a solution-based heuristic.
|
||||
|
||||
|
||||
{\tt \#include $<$moSolContinue.h$>$}
|
||||
{\tt \#include $<$mo\-Sol\-Continue.h$>$}
|
||||
|
||||
Inheritance diagram for moSolContinue$<$ EOT $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=2.70531cm]{classmo_sol_continue}
|
||||
\includegraphics[height=1.35266cm]{classmo_sol_continue}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
virtual void {\bf init} ()=0
|
||||
virtual void \bf{init} ()=0
|
||||
\begin{CompactList}\small\item\em Procedure which initialises all that the stopping criterion needs. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moSolContinue$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Sol\-Continue$<$ EOT $>$}
|
||||
|
||||
Class that describes a stopping criterion for a solution-based heuristic.
|
||||
|
||||
It allows to add an initialisation procedure to an object that is a unary function ({\bf eoUF}).
|
||||
It allows to add an initialisation procedure to an object that is a unary function (eo\-UF).
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moSolContinue.h.
|
||||
Definition at line 22 of file mo\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moSolContinue@{moSolContinue}!init@{init}}
|
||||
\index{init@{init}!moSolContinue@{moSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ virtual void {\bf moSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}
|
||||
\index{moSolContinue@{mo\-Sol\-Continue}!init@{init}}
|
||||
\index{init@{init}!moSolContinue@{mo\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ virtual void \bf{mo\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}
|
||||
|
||||
|
||||
Procedure which initialises all that the stopping criterion needs.
|
||||
|
||||
Generally, it allocates some data structures or initialises some counters.
|
||||
|
||||
Implemented in {\bf moFitSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c}, {\bf moGenSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}, {\bf moNoFitImprSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4}, and {\bf moSteadyFitSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9}.
|
||||
Implemented in \bf{mo\-Fit\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_fit_sol_continue_670bd895b4edfcd3aebb40d2295d7f7c}, \bf{mo\-Gen\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_gen_sol_continue_6c5db8182157584b56507cc9075602d4}, \bf{mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_no_fit_impr_sol_continue_21641c0a38a4501baae6133cbc591de4}, and \bf{mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9}.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moSolContinue.h\end{CompactItemize}
|
||||
mo\-Sol\-Continue.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 388.35
|
||||
%%BoundingBox: 0 0 500 194.175
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.2875 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 2.575 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -175,8 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moSteadyFitSolContinue< EOT >) cw
|
||||
(moSolContinue< EOT >) cw
|
||||
(eoUF< const EOT &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,8 +188,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
(moSteadyFitSolContinue< EOT >) 0 0 box
|
||||
(moSolContinue< EOT >) 0 1 box
|
||||
(eoUF< const EOT &, bool >) 0 2 box
|
||||
(eoFunctorBase) 0 3 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -199,11 +195,3 @@ solid
|
|||
0 0 0 out
|
||||
solid
|
||||
1 0 1 in
|
||||
solid
|
||||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
|
|
|
|||
|
|
@ -1,56 +1,56 @@
|
|||
\section{moSteadyFitSolContinue$<$ EOT $>$ Class Template Reference}
|
||||
\section{mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$ Class Template Reference}
|
||||
\label{classmo_steady_fit_sol_continue}\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
One possible stopping criterion for a solution-based heuristic.
|
||||
|
||||
|
||||
{\tt \#include $<$moSteadyFitSolContinue.h$>$}
|
||||
{\tt \#include $<$mo\-Steady\-Fit\-Sol\-Continue.h$>$}
|
||||
|
||||
Inheritance diagram for moSteadyFitSolContinue$<$ EOT $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=4cm]{classmo_steady_fit_sol_continue}
|
||||
\includegraphics[height=2cm]{classmo_steady_fit_sol_continue}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_steady_fit_sol_continue_c289721abbbafe50f6e3b8305dd31007}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_steady_fit_sol_continue_c289721abbbafe50f6e3b8305dd31007}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moSteadyFitSolContinue} (unsigned int \_\-\_\-maxNumberOfIterations, unsigned int \_\-\_\-maxNumberOfIterationWithoutImprovement)
|
||||
\bf{mo\-Steady\-Fit\-Sol\-Continue} (unsigned int \_\-\_\-max\-Number\-Of\-Iterations, unsigned int \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement)
|
||||
\begin{CompactList}\small\item\em Basic constructor. \item\end{CompactList}\item
|
||||
bool {\bf operator()} (const EOT \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (const EOT \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function that activates the stopping criterion. \item\end{CompactList}\item
|
||||
void {\bf init} ()
|
||||
void \bf{init} ()
|
||||
\begin{CompactList}\small\item\em Procedure which allows to initialise the stuff needed. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
unsigned int {\bf maxNumberOfIterations}\label{classmo_steady_fit_sol_continue_36b43c2a252887ad027165ac32393fe8}
|
||||
unsigned int \bf{max\-Number\-Of\-Iterations}\label{classmo_steady_fit_sol_continue_36b43c2a252887ad027165ac32393fe8}
|
||||
|
||||
\begin{CompactList}\small\item\em Maximum number of iterations before considering the fitness. \item\end{CompactList}\item
|
||||
unsigned int {\bf maxNumberOfIterationsWithoutImprovement}\label{classmo_steady_fit_sol_continue_cde593c09f497a5fa66ff62732544f40}
|
||||
unsigned int \bf{max\-Number\-Of\-Iterations\-Without\-Improvement}\label{classmo_steady_fit_sol_continue_cde593c09f497a5fa66ff62732544f40}
|
||||
|
||||
\begin{CompactList}\small\item\em Maximum number of iterations without improvement allowed. \item\end{CompactList}\item
|
||||
bool {\bf maxNumberOfIterationsReached}\label{classmo_steady_fit_sol_continue_7d88c0eb91b2a12121ba1c3ae9139887}
|
||||
bool \bf{max\-Number\-Of\-Iterations\-Reached}\label{classmo_steady_fit_sol_continue_7d88c0eb91b2a12121ba1c3ae9139887}
|
||||
|
||||
\begin{CompactList}\small\item\em Flag that indicates that the maxNumberIteration have been reached. \item\end{CompactList}\item
|
||||
bool {\bf firstFitnessSaved}\label{classmo_steady_fit_sol_continue_025bf2789e470fdde989eee9121035c3}
|
||||
\begin{CompactList}\small\item\em Flag that indicates that the max\-Number\-Iteration have been reached. \item\end{CompactList}\item
|
||||
bool \bf{first\-Fitness\-Saved}\label{classmo_steady_fit_sol_continue_025bf2789e470fdde989eee9121035c3}
|
||||
|
||||
\begin{CompactList}\small\item\em Flag that this is the first time that the fitness is used. \item\end{CompactList}\item
|
||||
{\bf Fitness} {\bf fitness}\label{classmo_steady_fit_sol_continue_a5c62e7049b36f6e71e92b559568c09e}
|
||||
\bf{Fitness} \bf{fitness}\label{classmo_steady_fit_sol_continue_a5c62e7049b36f6e71e92b559568c09e}
|
||||
|
||||
\begin{CompactList}\small\item\em Current Fitness. \item\end{CompactList}\item
|
||||
unsigned int {\bf counter}\label{classmo_steady_fit_sol_continue_245c9099a2c40dfc4f34b3ff216d13ce}
|
||||
unsigned int \bf{counter}\label{classmo_steady_fit_sol_continue_245c9099a2c40dfc4f34b3ff216d13ce}
|
||||
|
||||
\begin{CompactList}\small\item\em The iteration couter. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class EOT$>$ class moSteadyFitSolContinue$<$ EOT $>$}
|
||||
\subsubsection*{template$<$class EOT$>$ class mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$}
|
||||
|
||||
One possible stopping criterion for a solution-based heuristic.
|
||||
|
||||
|
|
@ -58,12 +58,12 @@ The stop criterion corresponds to a maximum number of iterations without improve
|
|||
|
||||
|
||||
|
||||
Definition at line 21 of file moSteadyFitSolContinue.h.
|
||||
Definition at line 21 of file mo\-Steady\-Fit\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ {\bf moSteadyFitSolContinue}$<$ EOT $>$::{\bf moSteadyFitSolContinue} (unsigned int {\em \_\-\_\-maxNumberOfIterations}, unsigned int {\em \_\-\_\-maxNumberOfIterationWithoutImprovement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_5f50fb18e380230e37301f33319786a4}
|
||||
\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::\bf{mo\-Steady\-Fit\-Sol\-Continue} (unsigned int {\em \_\-\_\-max\-Number\-Of\-Iterations}, unsigned int {\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_5f50fb18e380230e37301f33319786a4}
|
||||
|
||||
|
||||
Basic constructor.
|
||||
|
|
@ -71,16 +71,16 @@ Basic constructor.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-maxNumberOfIterations}]The number of iterations to reach before looking for the fitness. \item[{\em \_\-\_\-maxNumberOfIterationWithoutImprovement}]The number of iterations without fitness improvement to reach for stop. \end{description}
|
||||
\item[{\em \_\-\_\-max\-Number\-Of\-Iterations}]The number of iterations to reach before looking for the fitness. \item[{\em \_\-\_\-max\-Number\-Of\-Iteration\-Without\-Improvement}]The number of iterations without fitness improvement to reach for stop. \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 34 of file moSteadyFitSolContinue.h.
|
||||
Definition at line 34 of file mo\-Steady\-Fit\-Sol\-Continue.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool {\bf moSteadyFitSolContinue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_steady_fit_sol_continue_942e58ec00bb61000a83c80176e14bc3}
|
||||
\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ bool \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::operator() (const EOT \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_steady_fit_sol_continue_942e58ec00bb61000a83c80176e14bc3}
|
||||
|
||||
|
||||
Function that activates the stopping criterion.
|
||||
|
|
@ -96,25 +96,23 @@ Indicates if the fitness has not been improved since a number of iterations (aft
|
|||
\item[Returns:]true or false. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ const EOT \&, bool $>$}.
|
||||
Definition at line 46 of file mo\-Steady\-Fit\-Sol\-Continue.h.
|
||||
|
||||
Definition at line 46 of file moSteadyFitSolContinue.h.
|
||||
|
||||
References moSteadyFitSolContinue$<$ EOT $>$::counter, moSteadyFitSolContinue$<$ EOT $>$::firstFitnessSaved, moSteadyFitSolContinue$<$ EOT $>$::fitness, moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterations, moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsReached, and moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsWithoutImprovement.\index{moSteadyFitSolContinue@{moSteadyFitSolContinue}!init@{init}}
|
||||
\index{init@{init}!moSteadyFitSolContinue@{moSteadyFitSolContinue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void {\bf moSteadyFitSolContinue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9}
|
||||
References mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::counter, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::fitness, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Reached, and mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Without\-Improvement.\index{moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}!init@{init}}
|
||||
\index{init@{init}!moSteadyFitSolContinue@{mo\-Steady\-Fit\-Sol\-Continue}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class EOT$>$ void \bf{mo\-Steady\-Fit\-Sol\-Continue}$<$ EOT $>$::init ()\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_steady_fit_sol_continue_87563493addc8e4b58982c55a67179b9}
|
||||
|
||||
|
||||
Procedure which allows to initialise the stuff needed.
|
||||
|
||||
It can be also used to reinitialize the counter all the needed things.
|
||||
|
||||
Implements {\bf moSolContinue$<$ EOT $>$} \doxyref{}{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
Implements \bf{mo\-Sol\-Continue$<$ EOT $>$} \doxyref{p.}{classmo_sol_continue_064dc966a210f4ffb9515be3f03ca4c7}.
|
||||
|
||||
Definition at line 90 of file moSteadyFitSolContinue.h.
|
||||
Definition at line 90 of file mo\-Steady\-Fit\-Sol\-Continue.h.
|
||||
|
||||
References moSteadyFitSolContinue$<$ EOT $>$::counter, moSteadyFitSolContinue$<$ EOT $>$::firstFitnessSaved, and moSteadyFitSolContinue$<$ EOT $>$::maxNumberOfIterationsReached.
|
||||
References mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::counter, mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::first\-Fitness\-Saved, and mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$::max\-Number\-Of\-Iterations\-Reached.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moSteadyFitSolContinue.h\end{CompactItemize}
|
||||
mo\-Steady\-Fit\-Sol\-Continue.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 271.739
|
||||
%%BoundingBox: 0 0 500 268.456
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,13 +19,13 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.84 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.8625 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/cols 2 def
|
||||
/rows 2 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
||||
|
|
@ -175,10 +175,6 @@ boxfont setfont
|
|||
1 boundaspect scale
|
||||
(moTS< M >) cw
|
||||
(moAlgo< M::EOType >) cw
|
||||
(eoMonOp< M::EOType >) cw
|
||||
(eoOp< EOType >) cw
|
||||
(eoUF< M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -190,32 +186,12 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
|
||||
% ----- classes -----
|
||||
|
||||
(moTS< M >) 0.5 0 box
|
||||
(moAlgo< M::EOType >) 0.5 1 box
|
||||
(eoMonOp< M::EOType >) 0.5 2 box
|
||||
(eoOp< EOType >) 0 3 box
|
||||
(eoUF< M::EOType &, bool >) 1 3 box
|
||||
(eoFunctorBase) 1 4 box
|
||||
(moTS< M >) 0 0 box
|
||||
(moAlgo< M::EOType >) 0 1 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 0 out
|
||||
0 0 0 out
|
||||
solid
|
||||
1 0.5 1 in
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
0 1 3 conn
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
1 1 3 in
|
||||
solid
|
||||
0 1 3 out
|
||||
solid
|
||||
1 1 4 in
|
||||
1 0 1 in
|
||||
|
|
|
|||
|
|
@ -1,50 +1,50 @@
|
|||
\section{moTS$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-TS$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_t_s}\index{moTS@{moTS}}
|
||||
Tabu Search (TS).
|
||||
|
||||
|
||||
{\tt \#include $<$moTS.h$>$}
|
||||
{\tt \#include $<$mo\-TS.h$>$}
|
||||
|
||||
Inheritance diagram for moTS$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-TS$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=5cm]{classmo_t_s}
|
||||
\includegraphics[height=2cm]{classmo_t_s}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moTabuList}$<$ M $>$ \&\_\-\_\-tabu\_\-list, {\bf moAspirCrit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em Constructor of a \doxyref{moTS}{p.}{classmo_t_s} specifying all the boxes. \item\end{CompactList}\item
|
||||
{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \&\_\-\_\-move\_\-expl, {\bf moSolContinue}$<$ {\bf EOT} $>$ \&\_\-\_\-cont, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\bf{mo\-TS} (\bf{mo\-Move\-Init}$<$ M $>$ \&\_\-\_\-move\_\-init, \bf{mo\-Next\-Move}$<$ M $>$ \&\_\-\_\-next\_\-move, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, \bf{mo\-Tabu\-List}$<$ M $>$ \&\_\-\_\-tabu\_\-list, \bf{mo\-Aspir\-Crit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \&\_\-\_\-cont, eo\-Eval\-Func$<$ \bf{EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em Constructor of a \doxyref{mo\-TS}{p.}{classmo_t_s} specifying all the boxes. \item\end{CompactList}\item
|
||||
\bf{mo\-TS} (\bf{mo\-Move\-Expl}$<$ M $>$ \&\_\-\_\-move\_\-expl, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \&\_\-\_\-cont, eo\-Eval\-Func$<$ \bf{EOT} $>$ \&\_\-\_\-full\_\-eval)
|
||||
\begin{CompactList}\small\item\em Constructor with less parameters. \item\end{CompactList}\item
|
||||
bool {\bf operator()} ({\bf EOT} \&\_\-\_\-sol)
|
||||
bool \bf{operator()} (\bf{EOT} \&\_\-\_\-sol)
|
||||
\begin{CompactList}\small\item\em Function which launchs the Tabu Search. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_t_s_90d19d468c12ab5bd796948ce1ce79b1}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_t_s_90d19d468c12ab5bd796948ce1ce79b1}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item
|
||||
typedef EOT::Fitness {\bf Fitness}\label{classmo_t_s_aa0eefbb17111422e495d1255f876fca}
|
||||
typedef EOT::Fitness \bf{Fitness}\label{classmo_t_s_aa0eefbb17111422e495d1255f876fca}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moMoveExpl}$<$ M $>$ \& {\bf move\_\-expl}\label{classmo_t_s_06914ddc90ca96e9158c8dbe182a7865}
|
||||
\bf{mo\-Move\-Expl}$<$ M $>$ \& \bf{move\_\-expl}\label{classmo_t_s_06914ddc90ca96e9158c8dbe182a7865}
|
||||
|
||||
\begin{CompactList}\small\item\em Neighborhood explorer. \item\end{CompactList}\item
|
||||
{\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\bf cont}\label{classmo_t_s_969371cd2202f3d29cbb426f57ac7d3a}
|
||||
\bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \& \bf{cont}\label{classmo_t_s_969371cd2202f3d29cbb426f57ac7d3a}
|
||||
|
||||
\begin{CompactList}\small\item\em Stop criterion. \item\end{CompactList}\item
|
||||
{\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\bf full\_\-eval}\label{classmo_t_s_fb67eddae5d0bfca4ed881995523231e}
|
||||
eo\-Eval\-Func$<$ \bf{EOT} $>$ \& \bf{full\_\-eval}\label{classmo_t_s_fb67eddae5d0bfca4ed881995523231e}
|
||||
|
||||
\begin{CompactList}\small\item\em Full evaluation function. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moTS$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-TS$<$ M $>$}
|
||||
|
||||
Tabu Search (TS).
|
||||
|
||||
|
|
@ -52,17 +52,17 @@ Generic algorithm that describes a tabu search.
|
|||
|
||||
|
||||
|
||||
Definition at line 29 of file moTS.h.
|
||||
Definition at line 29 of file mo\-TS.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moTS@{moTS}!moTS@{moTS}}
|
||||
\index{moTS@{moTS}!moTS@{moTS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moTabuList}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, {\bf moAspirCrit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_2be23f4524733ee6f37b71310d76407e}
|
||||
\index{moTS@{mo\-TS}!moTS@{moTS}}
|
||||
\index{moTS@{moTS}!moTS@{mo\-TS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-TS}$<$ M $>$::\bf{mo\-TS} (\bf{mo\-Move\-Init}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, \bf{mo\-Next\-Move}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, \bf{mo\-Tabu\-List}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, \bf{mo\-Aspir\-Crit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit}, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \& {\em \_\-\_\-cont}, eo\-Eval\-Func$<$ \bf{EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_2be23f4524733ee6f37b71310d76407e}
|
||||
|
||||
|
||||
Constructor of a \doxyref{moTS}{p.}{classmo_t_s} specifying all the boxes.
|
||||
Constructor of a \doxyref{mo\-TS}{p.}{classmo_t_s} specifying all the boxes.
|
||||
|
||||
In this constructor, a \doxyref{moTSMoveLoopExpl}{p.}{classmo_t_s_move_loop_expl} is instanciated.
|
||||
In this constructor, a \doxyref{mo\-TSMove\-Loop\-Expl}{p.}{classmo_t_s_move_loop_expl} is instanciated.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -71,9 +71,9 @@ In this constructor, a \doxyref{moTSMoveLoopExpl}{p.}{classmo_t_s_move_loop_expl
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 58 of file moTS.h.\index{moTS@{moTS}!moTS@{moTS}}
|
||||
\index{moTS@{moTS}!moTS@{moTS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTS}$<$ M $>$::{\bf moTS} ({\bf moMoveExpl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, {\bf moSolContinue}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-cont}, {\bf eoEvalFunc}$<$ {\bf EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_508e675c4232cf2ca06dded931c90bab}
|
||||
Definition at line 58 of file mo\-TS.h.\index{moTS@{mo\-TS}!moTS@{moTS}}
|
||||
\index{moTS@{moTS}!moTS@{mo\-TS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-TS}$<$ M $>$::\bf{mo\-TS} (\bf{mo\-Move\-Expl}$<$ M $>$ \& {\em \_\-\_\-move\_\-expl}, \bf{mo\-Sol\-Continue}$<$ \bf{EOT} $>$ \& {\em \_\-\_\-cont}, eo\-Eval\-Func$<$ \bf{EOT} $>$ \& {\em \_\-\_\-full\_\-eval})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_508e675c4232cf2ca06dded931c90bab}
|
||||
|
||||
|
||||
Constructor with less parameters.
|
||||
|
|
@ -83,21 +83,21 @@ The explorer is given in the parameters.
|
|||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
\begin{description}
|
||||
\item[{\em \_\-\_\-move\_\-expl}]the explorer (generally different that a \doxyref{moTSMoveLoopExpl}{p.}{classmo_t_s_move_loop_expl}) \item[{\em \_\-\_\-cont}]stop criterion \item[{\em \_\-\_\-full\_\-eval}]full evaluation function \end{description}
|
||||
\item[{\em \_\-\_\-move\_\-expl}]the explorer (generally different that a \doxyref{mo\-TSMove\-Loop\-Expl}{p.}{classmo_t_s_move_loop_expl}) \item[{\em \_\-\_\-cont}]stop criterion \item[{\em \_\-\_\-full\_\-eval}]full evaluation function \end{description}
|
||||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 71 of file moTS.h.
|
||||
Definition at line 71 of file mo\-TS.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moTS@{moTS}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moTS@{moTS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool {\bf moTS}$<$ M $>$::operator() ({\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_t_s_94d25a76fe1bc9ef0bbd0358ff55aceb}
|
||||
\index{moTS@{mo\-TS}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moTS@{mo\-TS}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ bool \bf{mo\-TS}$<$ M $>$::operator() (\bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_94d25a76fe1bc9ef0bbd0358ff55aceb}
|
||||
|
||||
|
||||
Function which launchs the Tabu Search.
|
||||
|
||||
Algorithm of the tabu search. As a \doxyref{moSA}{p.}{classmo_s_a} or a \doxyref{moHC}{p.}{classmo_h_c}, it can be used for HYBRIDATION in an evolutionary algorithm. For security a lock (pthread\_\-mutex\_\-t) is closed during the algorithm.
|
||||
Algorithm of the tabu search. As a \doxyref{mo\-SA}{p.}{classmo_s_a} or a \doxyref{mo\-HC}{p.}{classmo_h_c}, it can be used for HYBRIDATION in an evolutionary algorithm. For security a lock (pthread\_\-mutex\_\-t) is closed during the algorithm.
|
||||
|
||||
\begin{Desc}
|
||||
\item[Parameters:]
|
||||
|
|
@ -108,12 +108,10 @@ Algorithm of the tabu search. As a \doxyref{moSA}{p.}{classmo_s_a} or a \doxyref
|
|||
\item[Returns:]TRUE. \end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoUF$<$ M::EOType \&, bool $>$}.
|
||||
Definition at line 85 of file mo\-TS.h.
|
||||
|
||||
Definition at line 85 of file moTS.h.
|
||||
|
||||
References moTS$<$ M $>$::cont, moTS$<$ M $>$::full\_\-eval, and moTS$<$ M $>$::move\_\-expl.
|
||||
References mo\-TS$<$ M $>$::cont, mo\-TS$<$ M $>$::full\_\-eval, and mo\-TS$<$ M $>$::move\_\-expl.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moTS.h\end{CompactItemize}
|
||||
mo\-TS.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 327.869
|
||||
%%BoundingBox: 0 0 500 352.941
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 1.525 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 1.41667 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 5 def
|
||||
/rows 3 def
|
||||
/cols 1 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -176,8 +176,6 @@ boxfont setfont
|
|||
(moTSMoveLoopExpl< M >) cw
|
||||
(moMoveLoopExpl< M >) cw
|
||||
(moMoveExpl< M >) cw
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) cw
|
||||
(eoFunctorBase) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
/xspacing boxwidth distx add def
|
||||
/yspacing boxheight disty add def
|
||||
|
|
@ -192,8 +190,6 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
(moTSMoveLoopExpl< M >) 0 0 box
|
||||
(moMoveLoopExpl< M >) 0 1 box
|
||||
(moMoveExpl< M >) 0 2 box
|
||||
(eoBF< const M::EOType &, M::EOType &, void >) 0 3 box
|
||||
(eoFunctorBase) 0 4 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
|
|
@ -205,11 +201,3 @@ solid
|
|||
0 0 1 out
|
||||
solid
|
||||
1 0 2 in
|
||||
solid
|
||||
0 0 2 out
|
||||
solid
|
||||
1 0 3 in
|
||||
solid
|
||||
0 0 3 out
|
||||
solid
|
||||
1 0 4 in
|
||||
|
|
|
|||
|
|
@ -1,70 +1,70 @@
|
|||
\section{moTSMoveLoopExpl$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-TSMove\-Loop\-Expl$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_t_s_move_loop_expl}\index{moTSMoveLoopExpl@{moTSMoveLoopExpl}}
|
||||
Explorer for a Tabu Search algorithm.
|
||||
|
||||
|
||||
{\tt \#include $<$moTSMoveLoopExpl.h$>$}
|
||||
{\tt \#include $<$mo\-TSMove\-Loop\-Expl.h$>$}
|
||||
|
||||
Inheritance diagram for moTSMoveLoopExpl$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-TSMove\-Loop\-Expl$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=5cm]{classmo_t_s_move_loop_expl}
|
||||
\includegraphics[height=3cm]{classmo_t_s_move_loop_expl}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moTSMoveLoopExpl} ({\bf moMoveInit}$<$ M $>$ \&\_\-\_\-move\_\-init, {\bf moNextMove}$<$ M $>$ \&\_\-\_\-next\_\-move, {\bf moMoveIncrEval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, {\bf moTabuList}$<$ M $>$ \&\_\-\_\-tabu\_\-list, {\bf moAspirCrit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit)
|
||||
\bf{mo\-TSMove\-Loop\-Expl} (\bf{mo\-Move\-Init}$<$ M $>$ \&\_\-\_\-move\_\-init, \bf{mo\-Next\-Move}$<$ M $>$ \&\_\-\_\-next\_\-move, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \&\_\-\_\-incr\_\-eval, \bf{mo\-Tabu\-List}$<$ M $>$ \&\_\-\_\-tabu\_\-list, \bf{mo\-Aspir\-Crit}$<$ M $>$ \&\_\-\_\-aspir\_\-crit)
|
||||
\begin{CompactList}\small\item\em Constructor. \item\end{CompactList}\item
|
||||
void {\bf operator()} (const {\bf EOT} \&\_\-\_\-old\_\-sol, {\bf EOT} \&\_\-\_\-new\_\-sol)
|
||||
void \bf{operator()} (const \bf{EOT} \&\_\-\_\-old\_\-sol, \bf{EOT} \&\_\-\_\-new\_\-sol)
|
||||
\begin{CompactList}\small\item\em Procedure which lauches the exploration. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_t_s_move_loop_expl_47f42225e2ed096374b818bdb848a527}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_t_s_move_loop_expl_47f42225e2ed096374b818bdb848a527}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\item
|
||||
typedef M::EOType::Fitness {\bf Fitness}\label{classmo_t_s_move_loop_expl_a1ba36c937b195ca2f7d1a24adaa7018}
|
||||
typedef M::EOType::Fitness \bf{Fitness}\label{classmo_t_s_move_loop_expl_a1ba36c937b195ca2f7d1a24adaa7018}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the fitness. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Private Attributes}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
{\bf moMoveInit}$<$ M $>$ \& {\bf move\_\-init}\label{classmo_t_s_move_loop_expl_6b23f99648902fb72ed17a4a6fa4e400}
|
||||
\bf{mo\-Move\-Init}$<$ M $>$ \& \bf{move\_\-init}\label{classmo_t_s_move_loop_expl_6b23f99648902fb72ed17a4a6fa4e400}
|
||||
|
||||
\begin{CompactList}\small\item\em Move initialisation. \item\end{CompactList}\item
|
||||
{\bf moNextMove}$<$ M $>$ \& {\bf next\_\-move}\label{classmo_t_s_move_loop_expl_aeeff6666d26ff5c67acd9c153a5ae49}
|
||||
\bf{mo\-Next\-Move}$<$ M $>$ \& \bf{next\_\-move}\label{classmo_t_s_move_loop_expl_aeeff6666d26ff5c67acd9c153a5ae49}
|
||||
|
||||
\begin{CompactList}\small\item\em Neighborhood explorer. \item\end{CompactList}\item
|
||||
{\bf moMoveIncrEval}$<$ M $>$ \& {\bf incr\_\-eval}\label{classmo_t_s_move_loop_expl_ee4443fc8e45d840697619678628c26c}
|
||||
\bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& \bf{incr\_\-eval}\label{classmo_t_s_move_loop_expl_ee4443fc8e45d840697619678628c26c}
|
||||
|
||||
\begin{CompactList}\small\item\em Efficient evaluation. \item\end{CompactList}\item
|
||||
{\bf moBestImprSelect}$<$ M $>$ {\bf move\_\-select}\label{classmo_t_s_move_loop_expl_35a3f3035fb8df875c281d9838904bf1}
|
||||
\bf{mo\-Best\-Impr\-Select}$<$ M $>$ \bf{move\_\-select}\label{classmo_t_s_move_loop_expl_35a3f3035fb8df875c281d9838904bf1}
|
||||
|
||||
\begin{CompactList}\small\item\em Move selector. \item\end{CompactList}\item
|
||||
{\bf moTabuList}$<$ M $>$ \& {\bf tabu\_\-list}\label{classmo_t_s_move_loop_expl_0e5988a940ba218e87c53b7e56d79790}
|
||||
\bf{mo\-Tabu\-List}$<$ M $>$ \& \bf{tabu\_\-list}\label{classmo_t_s_move_loop_expl_0e5988a940ba218e87c53b7e56d79790}
|
||||
|
||||
\begin{CompactList}\small\item\em Tabu list. \item\end{CompactList}\item
|
||||
{\bf moAspirCrit}$<$ M $>$ \& {\bf aspir\_\-crit}\label{classmo_t_s_move_loop_expl_6786cf5422d17cbf872b07ae74ca6b0f}
|
||||
\bf{mo\-Aspir\-Crit}$<$ M $>$ \& \bf{aspir\_\-crit}\label{classmo_t_s_move_loop_expl_6786cf5422d17cbf872b07ae74ca6b0f}
|
||||
|
||||
\begin{CompactList}\small\item\em Aspiration criterion. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moTSMoveLoopExpl$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-TSMove\-Loop\-Expl$<$ M $>$}
|
||||
|
||||
Explorer for a Tabu Search algorithm.
|
||||
|
||||
It is used by a \doxyref{moTS}{p.}{classmo_t_s}.
|
||||
It is used by a \doxyref{mo\-TS}{p.}{classmo_t_s}.
|
||||
|
||||
|
||||
|
||||
Definition at line 30 of file moTSMoveLoopExpl.h.
|
||||
Definition at line 30 of file mo\-TSMove\-Loop\-Expl.h.
|
||||
|
||||
\subsection{Constructor \& Destructor Documentation}
|
||||
\index{moTSMoveLoopExpl@{moTSMoveLoopExpl}!moTSMoveLoopExpl@{moTSMoveLoopExpl}}
|
||||
\index{moTSMoveLoopExpl@{moTSMoveLoopExpl}!moTSMoveLoopExpl@{moTSMoveLoopExpl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ {\bf moTSMoveLoopExpl}$<$ M $>$::{\bf moTSMoveLoopExpl} ({\bf moMoveInit}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, {\bf moNextMove}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, {\bf moMoveIncrEval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, {\bf moTabuList}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, {\bf moAspirCrit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_move_loop_expl_43306dae9df150a8d9dc0dec9cd6a381}
|
||||
\index{moTSMoveLoopExpl@{mo\-TSMove\-Loop\-Expl}!moTSMoveLoopExpl@{moTSMoveLoopExpl}}
|
||||
\index{moTSMoveLoopExpl@{moTSMoveLoopExpl}!moTSMoveLoopExpl@{mo\-TSMove\-Loop\-Expl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ \bf{mo\-TSMove\-Loop\-Expl}$<$ M $>$::\bf{mo\-TSMove\-Loop\-Expl} (\bf{mo\-Move\-Init}$<$ M $>$ \& {\em \_\-\_\-move\_\-init}, \bf{mo\-Next\-Move}$<$ M $>$ \& {\em \_\-\_\-next\_\-move}, \bf{mo\-Move\-Incr\-Eval}$<$ M $>$ \& {\em \_\-\_\-incr\_\-eval}, \bf{mo\-Tabu\-List}$<$ M $>$ \& {\em \_\-\_\-tabu\_\-list}, \bf{mo\-Aspir\-Crit}$<$ M $>$ \& {\em \_\-\_\-aspir\_\-crit})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_move_loop_expl_43306dae9df150a8d9dc0dec9cd6a381}
|
||||
|
||||
|
||||
Constructor.
|
||||
|
|
@ -76,14 +76,14 @@ Constructor.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Definition at line 49 of file moTSMoveLoopExpl.h.
|
||||
Definition at line 49 of file mo\-TSMove\-Loop\-Expl.h.
|
||||
|
||||
References moTSMoveLoopExpl$<$ M $>$::aspir\_\-crit, and moTSMoveLoopExpl$<$ M $>$::tabu\_\-list.
|
||||
References mo\-TSMove\-Loop\-Expl$<$ M $>$::aspir\_\-crit, and mo\-TSMove\-Loop\-Expl$<$ M $>$::tabu\_\-list.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moTSMoveLoopExpl@{moTSMoveLoopExpl}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moTSMoveLoopExpl@{moTSMoveLoopExpl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void {\bf moTSMoveLoopExpl}$<$ M $>$::operator() (const {\bf EOT} \& {\em \_\-\_\-old\_\-sol}, {\bf EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline, virtual]}}\label{classmo_t_s_move_loop_expl_f601bbd0ccc41d6fbe3df9fcd87ad9e7}
|
||||
\index{moTSMoveLoopExpl@{mo\-TSMove\-Loop\-Expl}!operator()@{operator()}}
|
||||
\index{operator()@{operator()}!moTSMoveLoopExpl@{mo\-TSMove\-Loop\-Expl}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ void \bf{mo\-TSMove\-Loop\-Expl}$<$ M $>$::operator() (const \bf{EOT} \& {\em \_\-\_\-old\_\-sol}, \bf{EOT} \& {\em \_\-\_\-new\_\-sol})\hspace{0.3cm}{\tt [inline]}}\label{classmo_t_s_move_loop_expl_f601bbd0ccc41d6fbe3df9fcd87ad9e7}
|
||||
|
||||
|
||||
Procedure which lauches the exploration.
|
||||
|
|
@ -97,12 +97,10 @@ The exploration continues while the chosen move is not in the tabu list or the a
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implements {\bf eoBF$<$ const M::EOType \&, M::EOType \&, void $>$}.
|
||||
Definition at line 69 of file mo\-TSMove\-Loop\-Expl.h.
|
||||
|
||||
Definition at line 69 of file moTSMoveLoopExpl.h.
|
||||
|
||||
References moTSMoveLoopExpl$<$ M $>$::aspir\_\-crit, moTSMoveLoopExpl$<$ M $>$::incr\_\-eval, moTSMoveLoopExpl$<$ M $>$::move\_\-init, moTSMoveLoopExpl$<$ M $>$::move\_\-select, moTSMoveLoopExpl$<$ M $>$::next\_\-move, and moTSMoveLoopExpl$<$ M $>$::tabu\_\-list.
|
||||
References mo\-TSMove\-Loop\-Expl$<$ M $>$::aspir\_\-crit, mo\-TSMove\-Loop\-Expl$<$ M $>$::incr\_\-eval, mo\-TSMove\-Loop\-Expl$<$ M $>$::move\_\-init, mo\-TSMove\-Loop\-Expl$<$ M $>$::move\_\-select, mo\-TSMove\-Loop\-Expl$<$ M $>$::next\_\-move, and mo\-TSMove\-Loop\-Expl$<$ M $>$::tabu\_\-list.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moTSMoveLoopExpl.h\end{CompactItemize}
|
||||
mo\-TSMove\-Loop\-Expl.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
%%For:
|
||||
%Magnification: 1.00
|
||||
%%Orientation: Portrait
|
||||
%%BoundingBox: 0 0 500 138.889
|
||||
%%BoundingBox: 0 0 500 100
|
||||
%%Pages: 0
|
||||
%%BeginSetup
|
||||
%%EndSetup
|
||||
|
|
@ -19,12 +19,12 @@
|
|||
/marginwidth 10 def
|
||||
/distx 20 def
|
||||
/disty 40 def
|
||||
/boundaspect 3.6 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundaspect 5 def % aspect ratio of the BoundingBox (width/height)
|
||||
/boundx 500 def
|
||||
/boundy boundx boundaspect div def
|
||||
/xspacing 0 def
|
||||
/yspacing 0 def
|
||||
/rows 4 def
|
||||
/rows 2 def
|
||||
/cols 2 def
|
||||
/scalefactor 0 def
|
||||
/boxfont /Times-Roman findfont fontheight scalefont def
|
||||
|
|
@ -174,8 +174,6 @@
|
|||
boxfont setfont
|
||||
1 boundaspect scale
|
||||
(moTabuList< M >) cw
|
||||
(eoBF< const M &, const M::EOType &, bool >) cw
|
||||
(eoFunctorBase) cw
|
||||
(moSimpleMoveTabuList< M >) cw
|
||||
(moSimpleSolutionTabuList< M >) cw
|
||||
/boxwidth boxwidth marginwidth 2 mul add def
|
||||
|
|
@ -190,21 +188,11 @@ boundx scalefactor div boundy scalefactor div scale
|
|||
% ----- classes -----
|
||||
|
||||
(moTabuList< M >) 0.5 1 box
|
||||
(eoBF< const M &, const M::EOType &, bool >) 0.5 2 box
|
||||
(eoFunctorBase) 0.5 3 box
|
||||
(moSimpleMoveTabuList< M >) 0 0 box
|
||||
(moSimpleSolutionTabuList< M >) 1 0 box
|
||||
|
||||
% ----- relations -----
|
||||
|
||||
solid
|
||||
0 0.5 1 out
|
||||
solid
|
||||
1 0.5 2 in
|
||||
solid
|
||||
0 0.5 2 out
|
||||
solid
|
||||
1 0.5 3 in
|
||||
solid
|
||||
1 0.5 0.25 out
|
||||
solid
|
||||
|
|
|
|||
|
|
@ -1,48 +1,48 @@
|
|||
\section{moTabuList$<$ M $>$ Class Template Reference}
|
||||
\section{mo\-Tabu\-List$<$ M $>$ Class Template Reference}
|
||||
\label{classmo_tabu_list}\index{moTabuList@{moTabuList}}
|
||||
Class describing a tabu list that a \doxyref{moTS}{p.}{classmo_t_s} uses.
|
||||
Class describing a tabu list that a \doxyref{mo\-TS}{p.}{classmo_t_s} uses.
|
||||
|
||||
|
||||
{\tt \#include $<$moTabuList.h$>$}
|
||||
{\tt \#include $<$mo\-Tabu\-List.h$>$}
|
||||
|
||||
Inheritance diagram for moTabuList$<$ M $>$::\begin{figure}[H]
|
||||
Inheritance diagram for mo\-Tabu\-List$<$ M $>$::\begin{figure}[H]
|
||||
\begin{center}
|
||||
\leavevmode
|
||||
\includegraphics[height=3.88889cm]{classmo_tabu_list}
|
||||
\includegraphics[height=2cm]{classmo_tabu_list}
|
||||
\end{center}
|
||||
\end{figure}
|
||||
\subsection*{Public Types}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
typedef M::EOType {\bf EOT}\label{classmo_tabu_list_e219715cc3fdd5626764bc50ce6357df}
|
||||
typedef M::EOType \bf{EOT}\label{classmo_tabu_list_e219715cc3fdd5626764bc50ce6357df}
|
||||
|
||||
\begin{CompactList}\small\item\em Alias for the type. \item\end{CompactList}\end{CompactItemize}
|
||||
\subsection*{Public Member Functions}
|
||||
\begin{CompactItemize}
|
||||
\item
|
||||
virtual void {\bf add} (const M \&\_\-\_\-move, const {\bf EOT} \&\_\-\_\-sol)=0
|
||||
virtual void \bf{add} (const M \&\_\-\_\-move, const \bf{EOT} \&\_\-\_\-sol)=0
|
||||
\begin{CompactList}\small\item\em Procedure to add a move in the tabu list. \item\end{CompactList}\item
|
||||
virtual void {\bf update} ()=0
|
||||
virtual void \bf{update} ()=0
|
||||
\begin{CompactList}\small\item\em Procedure that updates the tabu list content. \item\end{CompactList}\item
|
||||
virtual void {\bf init} ()=0
|
||||
virtual void \bf{init} ()=0
|
||||
\begin{CompactList}\small\item\em Procedure which initialises the tabu list. \item\end{CompactList}\end{CompactItemize}
|
||||
|
||||
|
||||
\subsection{Detailed Description}
|
||||
\subsubsection*{template$<$class M$>$ class moTabuList$<$ M $>$}
|
||||
\subsubsection*{template$<$class M$>$ class mo\-Tabu\-List$<$ M $>$}
|
||||
|
||||
Class describing a tabu list that a \doxyref{moTS}{p.}{classmo_t_s} uses.
|
||||
Class describing a tabu list that a \doxyref{mo\-TS}{p.}{classmo_t_s} uses.
|
||||
|
||||
It is only a description, does nothing... A new object that herits from this class has to be defined in order to be used in a \doxyref{moTS}{p.}{classmo_t_s}.
|
||||
It is only a description, does nothing... A new object that herits from this class has to be defined in order to be used in a \doxyref{mo\-TS}{p.}{classmo_t_s}.
|
||||
|
||||
|
||||
|
||||
Definition at line 22 of file moTabuList.h.
|
||||
Definition at line 22 of file mo\-Tabu\-List.h.
|
||||
|
||||
\subsection{Member Function Documentation}
|
||||
\index{moTabuList@{moTabuList}!add@{add}}
|
||||
\index{add@{add}!moTabuList@{moTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moTabuList}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const {\bf EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}
|
||||
\index{moTabuList@{mo\-Tabu\-List}!add@{add}}
|
||||
\index{add@{add}!moTabuList@{mo\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-Tabu\-List}$<$ M $>$::add (const M \& {\em \_\-\_\-move}, const \bf{EOT} \& {\em \_\-\_\-sol})\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_d279d72cb486d812da1ad3d24a69c286}
|
||||
|
||||
|
||||
Procedure to add a move in the tabu list.
|
||||
|
|
@ -56,26 +56,26 @@ The two parameters have not to be modified so they are constant parameters.
|
|||
\end{Desc}
|
||||
|
||||
|
||||
Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_43c979a9ec876c5e5b591b1c422395ef}, and {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_fd6b3a1764121169650c969bba895615}.\index{moTabuList@{moTabuList}!update@{update}}
|
||||
\index{update@{update}!moTabuList@{moTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moTabuList}$<$ M $>$::update ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}
|
||||
Implemented in \bf{mo\-Simple\-Move\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_move_tabu_list_43c979a9ec876c5e5b591b1c422395ef}, and \bf{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_solution_tabu_list_fd6b3a1764121169650c969bba895615}.\index{moTabuList@{mo\-Tabu\-List}!update@{update}}
|
||||
\index{update@{update}!moTabuList@{mo\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-Tabu\-List}$<$ M $>$::update ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_a2e5d1132f064093c8ed57046405f5ca}
|
||||
|
||||
|
||||
Procedure that updates the tabu list content.
|
||||
|
||||
Generally, a counter associated to each saved move is decreased by one.
|
||||
|
||||
Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}, and {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}.\index{moTabuList@{moTabuList}!init@{init}}
|
||||
\index{init@{init}!moTabuList@{moTabuList}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void {\bf moTabuList}$<$ M $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}
|
||||
Implemented in \bf{mo\-Simple\-Move\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_move_tabu_list_96cffc8118456ed762b07b9fc0e0679f}, and \bf{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_solution_tabu_list_91b8b01dba7ffea8b63765d931e56f56}.\index{moTabuList@{mo\-Tabu\-List}!init@{init}}
|
||||
\index{init@{init}!moTabuList@{mo\-Tabu\-List}}
|
||||
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class M$>$ virtual void \bf{mo\-Tabu\-List}$<$ M $>$::init ()\hspace{0.3cm}{\tt [pure virtual]}}\label{classmo_tabu_list_0a06c459d56e8e2b408a8f3c6aec4e57}
|
||||
|
||||
|
||||
Procedure which initialises the tabu list.
|
||||
|
||||
Can be useful if the data structure needs to be allocated before being used.
|
||||
|
||||
Implemented in {\bf moSimpleMoveTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}, and {\bf moSimpleSolutionTabuList$<$ M $>$} \doxyref{}{p.}{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}.
|
||||
Implemented in \bf{mo\-Simple\-Move\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_move_tabu_list_b91ae9971be30769757d1ad92c6009dc}, and \bf{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$} \doxyref{p.}{classmo_simple_solution_tabu_list_d5645c39fec71a6110a2cbccbb08b816}.
|
||||
|
||||
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
||||
\item
|
||||
moTabuList.h\end{CompactItemize}
|
||||
mo\-Tabu\-List.h\end{CompactItemize}
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@
|
|||
{\fancyplain{}{\bfseries\rightmark}}
|
||||
\rhead[\fancyplain{}{\bfseries\leftmark}]
|
||||
{\fancyplain{}{\bfseries\thepage}}
|
||||
\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Fri Aug 3 16:38:56 2007 for PARADISEO-MO by Doxygen }]{}
|
||||
\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Aug 3 16:38:56 2007 for PARADISEO-MO by Doxygen }}
|
||||
\rfoot[\fancyplain{}{\bfseries\scriptsize Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by Doxygen }]{}
|
||||
\lfoot[]{\fancyplain{}{\bfseries\scriptsize Generated on Fri Sep 14 09:52:19 2007 for PARADISEO-MO by Doxygen }}
|
||||
\cfoot{}
|
||||
\newenvironment{Code}
|
||||
{\footnotesize}
|
||||
|
|
|
|||
|
|
@ -1,92 +1,56 @@
|
|||
\section{PARADISEO-MO Class Hierarchy}
|
||||
This inheritance list is sorted roughly, but not completely, alphabetically:\begin{CompactList}
|
||||
\item \contentsline{section}{EmptySelection}{\pageref{class_empty_selection}}{}
|
||||
\item eoFunctorBase{\tt [external]}\begin{CompactList}
|
||||
\item eoBF$<$ const M \&, const M::EOType \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moTabuList$<$ M $>$}{\pageref{classmo_tabu_list}}{}
|
||||
\item \contentsline{section}{Empty\-Selection}{\pageref{class_empty_selection}}{}
|
||||
\item \contentsline{section}{mo\-Algo$<$ EOT $>$}{\pageref{classmo_algo}}{}
|
||||
\item \contentsline{section}{mo\-Algo$<$ M::EOType $>$}{\pageref{classmo_algo}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moSimpleMoveTabuList$<$ M $>$}{\pageref{classmo_simple_move_tabu_list}}{}
|
||||
\item \contentsline{section}{moSimpleSolutionTabuList$<$ M $>$}{\pageref{classmo_simple_solution_tabu_list}}{}
|
||||
\item \contentsline{section}{mo\-HC$<$ M $>$}{\pageref{classmo_h_c}}{}
|
||||
\item \contentsline{section}{mo\-SA$<$ M $>$}{\pageref{classmo_s_a}}{}
|
||||
\item \contentsline{section}{mo\-TS$<$ M $>$}{\pageref{classmo_t_s}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ const M \&, const M::EOType \&, M::EOType::Fitness $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moMoveIncrEval$<$ M $>$}{\pageref{classmo_move_incr_eval}}{}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ const M \&, const M::EOType \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moLSCheckPoint$<$ M $>$}{\pageref{classmo_l_s_check_point}}{}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ const M \&, const M::EOType::Fitness \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moAspirCrit$<$ M $>$}{\pageref{classmo_aspir_crit}}{}
|
||||
\item \contentsline{section}{mo\-Aspir\-Crit$<$ M $>$}{\pageref{classmo_aspir_crit}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moImprBestFitAspirCrit$<$ M $>$}{\pageref{classmo_impr_best_fit_aspir_crit}}{}
|
||||
\item \contentsline{section}{moNoAspirCrit$<$ M $>$}{\pageref{classmo_no_aspir_crit}}{}
|
||||
\item \contentsline{section}{mo\-Impr\-Best\-Fit\-Aspir\-Crit$<$ M $>$}{\pageref{classmo_impr_best_fit_aspir_crit}}{}
|
||||
\item \contentsline{section}{mo\-No\-Aspir\-Crit$<$ M $>$}{\pageref{classmo_no_aspir_crit}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ const M::EOType \&, M::EOType \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moMoveExpl$<$ M $>$}{\pageref{classmo_move_expl}}{}
|
||||
\item \contentsline{section}{mo\-Cooling\-Schedule}{\pageref{classmo_cooling_schedule}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moMoveLoopExpl$<$ M $>$}{\pageref{classmo_move_loop_expl}}{}
|
||||
\item \contentsline{section}{mo\-Exponential\-Cooling\-Schedule}{\pageref{classmo_exponential_cooling_schedule}}{}
|
||||
\item \contentsline{section}{mo\-Linear\-Cooling\-Schedule}{\pageref{classmo_linear_cooling_schedule}}{}
|
||||
\end{CompactList}
|
||||
\item \contentsline{section}{mo\-LSCheck\-Point$<$ M $>$}{\pageref{classmo_l_s_check_point}}{}
|
||||
\item \contentsline{section}{mo\-Move$<$ EOT $>$}{\pageref{classmo_move}}{}
|
||||
\item \contentsline{section}{mo\-Move\-Expl$<$ M $>$}{\pageref{classmo_move_expl}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moHCMoveLoopExpl$<$ M $>$}{\pageref{classmo_h_c_move_loop_expl}}{}
|
||||
\item \contentsline{section}{moTSMoveLoopExpl$<$ M $>$}{\pageref{classmo_t_s_move_loop_expl}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ M \&, const M::EOType \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moNextMove$<$ M $>$}{\pageref{classmo_next_move}}{}
|
||||
\item \contentsline{section}{mo\-Move\-Loop\-Expl$<$ M $>$}{\pageref{classmo_move_loop_expl}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moItRandNextMove$<$ M $>$}{\pageref{classmo_it_rand_next_move}}{}
|
||||
\item \contentsline{section}{mo\-HCMove\-Loop\-Expl$<$ M $>$}{\pageref{classmo_h_c_move_loop_expl}}{}
|
||||
\item \contentsline{section}{mo\-TSMove\-Loop\-Expl$<$ M $>$}{\pageref{classmo_t_s_move_loop_expl}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ M \&, const M::EOType \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moMoveInit$<$ M $>$}{\pageref{classmo_move_init}}{}
|
||||
\end{CompactList}
|
||||
\item eoBF$<$ M \&, M::EOType::Fitness \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moMoveSelect$<$ M $>$}{\pageref{classmo_move_select}}{}
|
||||
\item \contentsline{section}{mo\-Move\-Incr\-Eval$<$ M $>$}{\pageref{classmo_move_incr_eval}}{}
|
||||
\item \contentsline{section}{mo\-Move\-Init$<$ M $>$}{\pageref{classmo_move_init}}{}
|
||||
\item \contentsline{section}{mo\-Move\-Select$<$ M $>$}{\pageref{classmo_move_select}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moBestImprSelect$<$ M $>$}{\pageref{classmo_best_impr_select}}{}
|
||||
\item \contentsline{section}{moFirstImprSelect$<$ M $>$}{\pageref{classmo_first_impr_select}}{}
|
||||
\item \contentsline{section}{moRandImprSelect$<$ M $>$}{\pageref{classmo_rand_impr_select}}{}
|
||||
\item \contentsline{section}{mo\-Best\-Impr\-Select$<$ M $>$}{\pageref{classmo_best_impr_select}}{}
|
||||
\item \contentsline{section}{mo\-First\-Impr\-Select$<$ M $>$}{\pageref{classmo_first_impr_select}}{}
|
||||
\item \contentsline{section}{mo\-Rand\-Impr\-Select$<$ M $>$}{\pageref{classmo_rand_impr_select}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ const EOT \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moSolContinue$<$ EOT $>$}{\pageref{classmo_sol_continue}}{}
|
||||
\item \contentsline{section}{mo\-Next\-Move$<$ M $>$}{\pageref{classmo_next_move}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moFitSolContinue$<$ EOT $>$}{\pageref{classmo_fit_sol_continue}}{}
|
||||
\item \contentsline{section}{moGenSolContinue$<$ EOT $>$}{\pageref{classmo_gen_sol_continue}}{}
|
||||
\item \contentsline{section}{moNoFitImprSolContinue$<$ EOT $>$}{\pageref{classmo_no_fit_impr_sol_continue}}{}
|
||||
\item \contentsline{section}{moSteadyFitSolContinue$<$ EOT $>$}{\pageref{classmo_steady_fit_sol_continue}}{}
|
||||
\item \contentsline{section}{mo\-It\-Rand\-Next\-Move$<$ M $>$}{\pageref{classmo_it_rand_next_move}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ double \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moCoolingSchedule}{\pageref{classmo_cooling_schedule}}{}
|
||||
\item \contentsline{section}{mo\-Rand\-Move$<$ M $>$}{\pageref{classmo_rand_move}}{}
|
||||
\item \contentsline{section}{mo\-Sol\-Continue$<$ EOT $>$}{\pageref{classmo_sol_continue}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moExponentialCoolingSchedule}{\pageref{classmo_exponential_cooling_schedule}}{}
|
||||
\item \contentsline{section}{moLinearCoolingSchedule}{\pageref{classmo_linear_cooling_schedule}}{}
|
||||
\item \contentsline{section}{mo\-Fit\-Sol\-Continue$<$ EOT $>$}{\pageref{classmo_fit_sol_continue}}{}
|
||||
\item \contentsline{section}{mo\-Gen\-Sol\-Continue$<$ EOT $>$}{\pageref{classmo_gen_sol_continue}}{}
|
||||
\item \contentsline{section}{mo\-No\-Fit\-Impr\-Sol\-Continue$<$ EOT $>$}{\pageref{classmo_no_fit_impr_sol_continue}}{}
|
||||
\item \contentsline{section}{mo\-Steady\-Fit\-Sol\-Continue$<$ EOT $>$}{\pageref{classmo_steady_fit_sol_continue}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ EOT \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item eoMonOp$<$ EOT $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moAlgo$<$ EOT $>$}{\pageref{classmo_algo}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ EOT \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moMove$<$ EOT $>$}{\pageref{classmo_move}}{}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ EOType \&, bool $>${\tt [external]}\item eoUF$<$ M \&, void $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moRandMove$<$ M $>$}{\pageref{classmo_rand_move}}{}
|
||||
\end{CompactList}
|
||||
\item eoUF$<$ M::EOType \&, bool $>${\tt [external]}\begin{CompactList}
|
||||
\item eoMonOp$<$ M::EOType $>${\tt [external]}\begin{CompactList}
|
||||
\item \contentsline{section}{moAlgo$<$ M::EOType $>$}{\pageref{classmo_algo}}{}
|
||||
\item \contentsline{section}{mo\-Tabu\-List$<$ M $>$}{\pageref{classmo_tabu_list}}{}
|
||||
\begin{CompactList}
|
||||
\item \contentsline{section}{moHC$<$ M $>$}{\pageref{classmo_h_c}}{}
|
||||
\item \contentsline{section}{moSA$<$ M $>$}{\pageref{classmo_s_a}}{}
|
||||
\item \contentsline{section}{moTS$<$ M $>$}{\pageref{classmo_t_s}}{}
|
||||
\item \contentsline{section}{mo\-Simple\-Move\-Tabu\-List$<$ M $>$}{\pageref{classmo_simple_move_tabu_list}}{}
|
||||
\item \contentsline{section}{mo\-Simple\-Solution\-Tabu\-List$<$ M $>$}{\pageref{classmo_simple_solution_tabu_list}}{}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\end{CompactList}
|
||||
\item eoOp$<$ EOType $>${\tt [external]}\begin{CompactList}
|
||||
\item eoMonOp$<$ EOT $>${\tt [external]}\item eoMonOp$<$ M::EOType $>${\tt [external]}\end{CompactList}
|
||||
\end{CompactList}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
\section{intro}\label{main_intro}
|
||||
MO is an extension of the ANSI-C++ compliant evolutionary computation library {\bf EO}. \par
|
||||
It contains classes for almost any kind of one solution based heuristics.\section{tutorial}\label{main_tutorial}
|
||||
\section{install}\label{main_install}
|
||||
The installation procedure of the package is detailed in the {\tt README} file in the top-directory of the source-tree.\section{design}\label{main_design}
|
||||
\section{Introduction}\label{main_intro}
|
||||
MO is an extension of the ANSI-C++ compliant evolutionary computation library EO. \par
|
||||
It contains classes for almost any kind of one solution based heuristics.\section{Tutorial}\label{main_tutorial}
|
||||
\section{Installation}\label{main_install}
|
||||
The installation procedure of the package is detailed in the {\tt README} file in the top-directory of the source-tree.\section{Overall Design}\label{main_design}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@
|
|||
\usepackage{float}
|
||||
\usepackage{textcomp}
|
||||
\usepackage{alltt}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{doxygen}
|
||||
\makeindex
|
||||
\setcounter{tocdepth}{1}
|
||||
|
|
@ -18,9 +17,9 @@
|
|||
\begin{center}
|
||||
{\Large PARADISEO-MO Reference Manual\\[1ex]\large 0.1 }\\
|
||||
\vspace*{1cm}
|
||||
{\large Generated by Doxygen 1.5.2}\\
|
||||
{\large Generated by Doxygen 1.4.7}\\
|
||||
\vspace*{0.5cm}
|
||||
{\small Fri Aug 3 16:38:56 2007}\\
|
||||
{\small Fri Sep 14 09:52:19 2007}\\
|
||||
\end{center}
|
||||
\end{titlepage}
|
||||
\clearemptydoublepage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue