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> | |
T | max_value () |
returns the maximum value of a type | |
template<class T> | |
T | min_value () |
returns the maximum value of a type |
T distances::max_value | ( | ) | [inline] |
T distances::min_value | ( | ) | [inline] |