Heuristic for analyzing sets of binary comparisons