On 12/22/2013 01:07 AM, Marco Leise wrote:
It didn't cause issues for any of the other students, but on
this particular computer the random seed that the Random ctor
chose caused a degenerate case where it never hit any of the 3
remaining indexes of the list.

The morale is that "uniform" random numbers doesn't imply that
every value in the range will eventually be generated once!

Yes it does. (The probability that some value is never generated is 0.) The actual morale is that random number generators do not generate true randomness, and poor random number generators may generate sequences that do not look remotely random.

Reply via email to