getDistanceFunction

Return

the distance function used to compute the distance.