#include <random.h>
Public Member Functions | |
void | init (int n) |
int | next () |
UniqueRandom (int n) | |
Private Attributes | |
int | counter_ |
int | size_ |
std::vector< int > | vals_ |
Random number generator that returns a distinct number from the [0,n) interval each time.
|
inline |
|
inline |
|
inline |