compute_rank_distance function

Distance between a set of rankings and a given rank sequence