Randomize a List problem
|
10-15-2020, 06:24 PM
Post: #32
|
|||
|
|||
RE: Randomize a List problem
(10-15-2020 04:43 PM)Albert Chan Wrote: It is a bad idea to use modulo to pick random elements. The method described in that same link to mitigate the problem using a range check is exactly what LSHUF does. Any intermediate results for the random integer that are outside the range identified are rejected, and the next value is computed until it is in range. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)