I have two sets of vectors:
A: a1, a2, a3... an
B: b1, b2, b3... bm
n > m and n/m is an integer, p.
Each vector bi has ranked, in order of preference, a set of vectors from A. For example, b1 may "prefer" a1, a9, and a10. The only constraint on this set is that each vector ai from A appears...