|
|
|
|
|
by matklad
199 days ago
|
|
It is much better than this. You can _directly_ enumerate all the objects, without any probabilities involved. There's nothing about probabilities in the interface of a PRNG, it's just non-determinism! You could _implement_ non-determinism via probabilistic sampling, but you could also implement the same interface as exhaustive search. |
|
An example is something like "pairwise testing" of arguments to a function. Just randomly generating values will hit all possible pairs of values to arguments, again with a logarithmic penalty.