distances Namespace Reference


Classes

struct  default_distance
 euclidean distance between two points (metric) More...
struct  xor_distance
 xor distance (metric) More...
struct  ring_distance
 distance between two points on a ring (metric) More...
struct  ring_pred_distance
 distance from x to a predecessor y on a ring (not a metric!) More...
struct  ring_succ_distance
 distance from x to a successor y on a ring (not a metric!) More...

Functions

template<class T>
max_value ()
 returns the maximum value of a type
template<class T>
min_value ()
 returns the maximum value of a type


Detailed Description

TODO: Doc

Author:
Sebastian Mies <mies@tm.uka.de>

Function Documentation

template<class T>
T distances::max_value (  )  [inline]

returns the maximum value of a type

Definition at line 50 of file distances.hpp.

template<class T>
T distances::min_value (  )  [inline]

returns the maximum value of a type

Definition at line 56 of file distances.hpp.


Generated on Wed May 27 18:24:14 2009 for Ariba by  doxygen 1.5.6