git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@40 331e1502-861f-0410-8da2-ba01fb791d7f
33 lines
1.3 KiB
TeX
33 lines
1.3 KiB
TeX
\section{eo\-Hamming\-Distance$<$ EOT $>$ Class Template Reference}
|
|
\label{classeo_hamming_distance}\index{eoHammingDistance@{eoHammingDistance}}
|
|
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.
|
|
|
|
|
|
{\tt \#include $<$eo\-Distance.h$>$}
|
|
|
|
Inheritance diagram for eo\-Hamming\-Distance$<$ EOT $>$::\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[height=3.33333cm]{classeo_hamming_distance}
|
|
\end{center}
|
|
\end{figure}
|
|
\subsection*{Public Member Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
double {\bf operator()} (const {\bf EOT} \&\_\-v1, const {\bf EOT} \&\_\-v2)\label{classeo_hamming_distance_a0}
|
|
|
|
\begin{CompactList}\small\item\em The pure virtual function that needs to be implemented by the subclass. \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Detailed Description}
|
|
\subsubsection*{template$<$class EOT$>$ class eo\-Hamming\-Distance$<$ EOT $>$}
|
|
|
|
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.
|
|
|
|
|
|
|
|
Definition at line 66 of file eo\-Distance.h.
|
|
|
|
The documentation for this class was generated from the following file:\begin{CompactItemize}
|
|
\item
|
|
eo\-Distance.h\end{CompactItemize}
|