in reply to Re^6: Array problem
in thread Array problem

Finally, what affect does that re-pick have upon the fairness of the shuffle?

Shuffling a previously fairly shuffled array should be as fair as shuffling the original. Right?

What makes it unfair is the my $r = rand ($j);. It slightly favours anything preceding $animal in the array to shuffle.

Replies are listed 'Best First'.
Re^8: Array problem
by BrowserUk (Patriarch) on Sep 29, 2008 at 01:09 UTC