51 lines
2.4 KiB
TeX
51 lines
2.4 KiB
TeX
\hypertarget{classeo_hamming_distance}{}\doxysection{eo\+Hamming\+Distance$<$ E\+OT $>$ Class Template Reference}
|
|
\label{classeo_hamming_distance}\index{eoHammingDistance$<$ EOT $>$@{eoHammingDistance$<$ EOT $>$}}
|
|
|
|
|
|
{\ttfamily \#include $<$eo\+Distance.\+h$>$}
|
|
|
|
|
|
|
|
Inheritance diagram for eo\+Hamming\+Distance$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=306pt]{classeo_hamming_distance__inherit__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
|
|
|
|
Collaboration diagram for eo\+Hamming\+Distance$<$ E\+OT $>$\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=306pt]{classeo_hamming_distance__coll__graph}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsection*{Public Member Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
\mbox{\Hypertarget{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}\label{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}}
|
|
double \mbox{\hyperlink{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}{operator()}} (const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+v1, const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+v2)
|
|
\begin{DoxyCompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \end{DoxyCompactList}\item
|
|
\mbox{\Hypertarget{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}\label{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}}
|
|
double \mbox{\hyperlink{classeo_hamming_distance_a7cf5fecd42023c12e02be0cae82fd9a0}{operator()}} (const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+v1, const \mbox{\hyperlink{struct_dummy}{E\+OT}} \&\+\_\+v2)
|
|
\begin{DoxyCompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \end{DoxyCompactList}\end{DoxyCompactItemize}
|
|
\doxysubsection*{Additional Inherited Members}
|
|
|
|
|
|
\doxysubsection{Detailed Description}
|
|
\subsubsection*{template$<$class E\+OT$>$\newline
|
|
class eo\+Hamming\+Distance$<$ E\+O\+T $>$}
|
|
|
|
This is a generic class for L1 distance computation\+: assumes the 2 things are std\+::vectors of something that is double-\/castable For bitstrings, this is the Hamming distance
|
|
|
|
SV\+: change to have the Hamming (number of differences)
|
|
|
|
For bitstrings, this is the Hamming distance
|
|
|
|
The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
|
|
\item
|
|
deprecated/eo/src/utils/eo\+Distance.\+h\end{DoxyCompactItemize}
|