2 ms·
What is an example of a situation in which this is desirable: > come close to outputting all possible numbers once before getting into re-runs In a dice rolli
by grog454 4y ago
What is an example of a situation in which this is desirable:
> come close to outputting all possible numbers once before getting into re-runs
In a dice rolling game, you want as close to true random as your PRNG can get. In card drawing, you typically want EXACTLY all possible cards once before getting "repeats". Where do you want something in between?
- m3047 4y ago> dice rolling.... card drawing... What you're talking about is "with/without replacement".
- macksd 4y agoLast time I encountered this was creating random IDs for things, either as a random string of characters or when selecting from lists of attributes and animals like all the tools that'll name things like "curious possum". It's not actually a hard requirement to hit every possibility before repeating, but if you do see 2 or 3 clusters in a sample it gives people the impression it isn't random.