Metric function

A function of a topological space that gives, for any two points in the space, a value equal to the distance between them