Go to the source code of this file.
Namespaces | |
namespace | distances |
Classes | |
struct | distances::default_distance |
euclidean distance between two points (metric) More... | |
struct | distances::xor_distance |
xor distance (metric) More... | |
struct | distances::ring_distance |
distance between two points on a ring (metric) More... | |
struct | distances::ring_pred_distance |
distance from x to a predecessor y on a ring (not a metric!) More... | |
struct | distances::ring_succ_distance |
distance from x to a successor y on a ring (not a metric!) More... | |
Functions | |
template<class T> | |
T | distances::max_value () |
returns the maximum value of a type | |
template<class T> | |
T | distances::min_value () |
returns the maximum value of a type |