Performs different types of rank adaptation on a set of ranks and a matrix of determined actual differences of ranked entities.
The function looks for sets of entities that are considered equal according to the
different matrix and adapts their ranks
in one of the following ways:
none: no adaptation, keep the original ranks.
mean: a mean rank of a set is assigned to all trackers in the set.
median: a median rank of a set is assigned to all trackers in the set.
best: a minimum rank in a set is assigned to all trackers in the set.
ranks (double vector): A vector of
different (boolean matrix): A
N x N matrix that denotes which entities should actually be equal and which not.
mode (string): Type of rank adaptation.