64 lines
2.7 KiB
TeX
64 lines
2.7 KiB
TeX
\hypertarget{classmoeo_fitness_comparator}{}\doxysection{moeo\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$ Class Template Reference}
|
|
\label{classmoeo_fitness_comparator}\index{moeoFitnessComparator$<$ MOEOT $>$@{moeoFitnessComparator$<$ MOEOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$moeo\+Fitness\+Comparator.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for moeo\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=324pt]{classmoeo_fitness_comparator__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for moeo\+Fitness\+Comparator$<$ M\+O\+E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=324pt]{classmoeo_fitness_comparator__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
bool \mbox{\hyperlink{classmoeo_fitness_comparator_a87d63cbb2a65eeeaf893d43de5a56030}{operator()}} (const M\+O\+E\+OT \&\+\_\+moeo1, const M\+O\+E\+OT \&\+\_\+moeo2)
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class M\+O\+E\+OT$>$\newline
|
|
class moeo\+Fitness\+Comparator$<$ M\+O\+E\+O\+T $>$}
|
|
|
|
Functor allowing to compare two solutions according to their fitness values
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmoeo_fitness_comparator_a87d63cbb2a65eeeaf893d43de5a56030}\label{classmoeo_fitness_comparator_a87d63cbb2a65eeeaf893d43de5a56030}}
|
|
\index{moeoFitnessComparator$<$ MOEOT $>$@{moeoFitnessComparator$<$ MOEOT $>$}!operator()@{operator()}}
|
|
\index{operator()@{operator()}!moeoFitnessComparator$<$ MOEOT $>$@{moeoFitnessComparator$<$ MOEOT $>$}}
|
|
\doxysubsubsection{\texorpdfstring{operator()()}{operator()()}}
|
|
{\footnotesize\ttfamily template$<$class M\+O\+E\+OT $>$ \\
|
|
bool \mbox{\hyperlink{classmoeo_fitness_comparator}{moeo\+Fitness\+Comparator}}$<$ M\+O\+E\+OT $>$\+::operator() (\begin{DoxyParamCaption}\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo1, }\item[{const M\+O\+E\+OT \&}]{\+\_\+moeo2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}
|
|
|
|
Returns true if \+\_\+moeo1 $<$ \+\_\+moeo2 according to their fitness values
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+moeo1} & the first solution \\
|
|
\hline
|
|
{\em \+\_\+moeo2} & the second solution \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
|
|
|
|
Implements \mbox{\hyperlink{classeo_b_f_aa03c40b95210569b826df79a2237a0d0}{eo\+B\+F$<$ const M\+O\+E\+O\+T \&, const M\+O\+E\+O\+T \&, bool $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
moeo/src/comparator/moeo\+Fitness\+Comparator.\+h\end{DoxyCompactItemize}
|