No, I’m not taking about the Sesame Street sequence.
Quite awhile back my father asked by best friend, a programmer, and I, not a programmer but a pretty smart guy, to design a computer program that would allow for a perfect ranking of X choices (he was thinking of candidates for a job promotion but that doesn’t matter) by presenting a person with a stream of paired choices. The program must ask enough paired questions to know enough to rank every choice, in order, and cannot allow a conflicting choice.
So, to use just 4 choices of A, B, C or D, the computer might ask:
A or B? I choose B.
C or D? I choose C.
A or C? I choose A.
The computer can now rank them B-A-C-D, since we know B is preferred to A, A to C, and C to D.
If that seems simple, brother, it ain’t. You can make this complicated:
A over B
C over D
B over D
But you don’t know if it’s C over B or B over C so now you have to ask that too.
So it might take four picks. And getting the computer to grasp this and not have it accidentally ask you a question that could contradict a necessary ranking… and this is for four choices. Imagine it for 24.
Well, we couldn’t figure it out for the life of us. Just could not put together a logarithm that would explain it. And yet it seems like it should be so easy. Is this as hard as it looks?