Equivalence relations and distances between Hilbert frames