The class RandomGen provides a common interface to random number generators.
Alternative RandomGen class with a modified next operation, and added splitn and level operations. Using the generator requires that no more than one operation is called on the same generator state, as the implementation does not guarantee pseudorandomness otherwise. As an exception, calling splitn many times on the same generator state is allowed as long as the 'bits' argument is the same for all the calls.
Page 1 of 1