Get the distance metric used in some computations.
Returns the distance metric in the current context. See context_set_distance_metric to know more about its usage.
The distance metric.