49 lines
3.1 KiB
TeX
49 lines
3.1 KiB
TeX
\hypertarget{classmoeo_elitist_replacement_1_1_cmp}{}\doxysection{moeo\+Elitist\+Replacement$<$ M\+O\+E\+OT $>$\+::Cmp Class Reference}
|
|
\label{classmoeo_elitist_replacement_1_1_cmp}\index{moeoElitistReplacement$<$ MOEOT $>$::Cmp@{moeoElitistReplacement$<$ MOEOT $>$::Cmp}}
|
|
|
|
|
|
{\ttfamily \#include $<$moeo\+Elitist\+Replacement.\+h$>$}
|
|
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\hyperlink{classmoeo_elitist_replacement_1_1_cmp_ac9f21fe0df172dc601a13d6531c5ffd9}{Cmp}} (\mbox{\hyperlink{classmoeo_comparator}{moeo\+Comparator}}$<$ M\+O\+E\+OT $>$ \&\+\_\+comp)
|
|
\item
|
|
bool \mbox{\hyperlink{classmoeo_elitist_replacement_1_1_cmp_a2411b927dde02225114635e776ce863f}{operator()}} (const M\+O\+E\+OT \&\+\_\+moeo1, const M\+O\+E\+OT \&\+\_\+moeo2)
|
|
\end{DoxyCompactItemize}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
|
|
class moeo\+Elitist\+Replacement$<$ M\+O\+E\+O\+T $>$\+::\+Cmp}
|
|
|
|
this object is used to compare solutions in order to sort the population
|
|
|
|
\doxysubsection{Constructor \& Destructor Documentation}
|
|
\mbox{\Hypertarget{classmoeo_elitist_replacement_1_1_cmp_ac9f21fe0df172dc601a13d6531c5ffd9}\label{classmoeo_elitist_replacement_1_1_cmp_ac9f21fe0df172dc601a13d6531c5ffd9}}
|
|
\index{moeoElitistReplacement$<$ MOEOT $>$::Cmp@{moeoElitistReplacement$<$ MOEOT $>$::Cmp}!Cmp@{Cmp}}
|
|
\index{Cmp@{Cmp}!moeoElitistReplacement$<$ MOEOT $>$::Cmp@{moeoElitistReplacement$<$ MOEOT $>$::Cmp}}
|
|
\doxysubsubsection{\texorpdfstring{Cmp()}{Cmp()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
\mbox{\hyperlink{classmoeo_elitist_replacement}{moeo\+Elitist\+Replacement}}$<$ M\+O\+E\+OT $>$\+::Cmp\+::\+Cmp (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{classmoeo_comparator}{moeo\+Comparator}}$<$ M\+O\+E\+OT $>$ \&}]{\+\_\+comp }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Ctor.
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+comp} & the comparator \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmoeo_elitist_replacement_1_1_cmp_a2411b927dde02225114635e776ce863f}\label{classmoeo_elitist_replacement_1_1_cmp_a2411b927dde02225114635e776ce863f}}
|
|
\index{moeoElitistReplacement$<$ MOEOT $>$::Cmp@{moeoElitistReplacement$<$ MOEOT $>$::Cmp}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoElitistReplacement$<$ MOEOT $>$::Cmp@{moeoElitistReplacement$<$ MOEOT $>$::Cmp}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
bool \mbox{\hyperlink{classmoeo_elitist_replacement}{moeo\+Elitist\+Replacement}}$<$ M\+O\+E\+OT $>$\+::Cmp\+::operator() (\begin{DoxyParamCaption}\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo1, }\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}
|
|
|
|
Returns true if \+\_\+moeo1 is greater than \+\_\+moeo2 according to the comparator \+\_\+moeo1 the first individual \+\_\+moeo2 the first individual
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
moeo/src/replacement/moeo\+Elitist\+Replacement.\+h\end{DoxyCompactItemize}
|