The formula in the paper is more than a bit unnecessarily complex. The evidence points to the following explanation provided by Bert 690 in the slashdot discussion for this story:
OK, after a bit more thinking, you were indeed very close. It appears the actual formula is:
This seems to be correct. This way of calculation the odds offers a way how to program the random play, too.
Just define an array and, for example, put a five rated song seven times into the array, an four rated song 6 times and so on. Then run a usal random function over the amount of entries and your done. Quite easy.
RE: the actual formula used... by Anonymous :: NR0 :: Show
This seems to be correct. This way of calculation the odds offers a way how to program the random play, too.
Just define an array and, for example, put a five rated song seven times into the array, an four rated song 6 times and so on. Then run a usal random function over the amount of entries and your done. Quite easy.
RE: the actual formula used... by Anonymous :: NR0 :: Show
Pretty interesting, but dear god, get a hobby =)