public interface KdTreeDistance<P>
Computes the distance between two points. Each point is a tuple.
distanceComputes the distance between the two input points
valueAtdouble valueAt(P point, int index)Returns the value of an element in the point
point- (Input) the point
index- Which element in the point is to be read
- The value of the element in the point.
lengthint length()Number of elements in the point