67 lines
2.8 KiB
TeX
67 lines
2.8 KiB
TeX
\hypertarget{classmo_comparator}{}\doxysection{mo\+Comparator$<$ T1, T2 $>$ Class Template Reference}
|
|
\label{classmo_comparator}\index{moComparator$<$ T1, T2 $>$@{moComparator$<$ T1, T2 $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$mo\+Comparator.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for mo\+Comparator$<$ T1, T2 $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=314pt]{classmo_comparator__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for mo\+Comparator$<$ T1, T2 $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=314pt]{classmo_comparator__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
virtual bool \mbox{\hyperlink{classmo_comparator_a9dbadbb8693f61b08e9e6797e7de4655}{equals}} (const T1 \&\+\_\+ref1, const T2 \&\+\_\+ref2)=0
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class T1, class T2$>$\newline
|
|
class mo\+Comparator$<$ T1, T2 $>$}
|
|
|
|
Comparator of two types
|
|
|
|
\doxysubsection{Member Function Documentation}
|
|
\mbox{\Hypertarget{classmo_comparator_a9dbadbb8693f61b08e9e6797e7de4655}\label{classmo_comparator_a9dbadbb8693f61b08e9e6797e7de4655}}
|
|
\index{moComparator$<$ T1, T2 $>$@{moComparator$<$ T1, T2 $>$}!equals@{equals}}
|
|
\index{equals@{equals}!moComparator$<$ T1, T2 $>$@{moComparator$<$ T1, T2 $>$}}
|
|
\doxysubsubsection{\texorpdfstring{equals()}{equals()}}
|
|
{\footnotesize\ttfamily template$<$class T1 , class T2 $>$ \\
|
|
virtual bool \mbox{\hyperlink{classmo_comparator}{mo\+Comparator}}$<$ T1, T2 $>$\+::equals (\begin{DoxyParamCaption}\item[{const T1 \&}]{\+\_\+ref1, }\item[{const T2 \&}]{\+\_\+ref2 }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [pure virtual]}}
|
|
|
|
|
|
\begin{DoxyParams}{Parameters}
|
|
{\em \+\_\+ref1} & a reference on a variable of type T1 \\
|
|
\hline
|
|
{\em \+\_\+ref2} & a reference on a variable of type T2 \\
|
|
\hline
|
|
\end{DoxyParams}
|
|
\begin{DoxyReturn}{Returns}
|
|
true if \+\_\+ref1 and \+\_\+ref2 are equals
|
|
\end{DoxyReturn}
|
|
|
|
|
|
Implemented in \mbox{\hyperlink{classmo_neighbor_comparator_a16c02ef49b3010a3769c3d3dc9ef5790}{mo\+Neighbor\+Comparator$<$ Neighbor $>$}}, \mbox{\hyperlink{classmo_neighbor_comparator_a16c02ef49b3010a3769c3d3dc9ef5790}{mo\+Neighbor\+Comparator$<$ mo\+Bit\+Neighbor $>$}}, \mbox{\hyperlink{classmo_sol_comparator_a777579d6ff8de11aaa9924ede943cb5e}{mo\+Sol\+Comparator$<$ E\+O\+T $>$}}, \mbox{\hyperlink{classmo_sol_neighbor_comparator_a54f07fe5847481394c3756e35ce833c3}{mo\+Sol\+Neighbor\+Comparator$<$ Neighbor $>$}}, and \mbox{\hyperlink{classmo_sol_comparator_a777579d6ff8de11aaa9924ede943cb5e}{mo\+Sol\+Comparator$<$ eo\+Bit$<$ Fitness $>$ $>$}}.
|
|
|
|
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
mo/src/comparator/mo\+Comparator.\+h\end{DoxyCompactItemize}
|