#include "Basis/ILog.h"
#include <ctime>
#include <cstdlib>
Include dependency graph for Random.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Namespaces | |
namespace | Impala |
namespace | Impala::Util |
Functions | |
static void | Impala::Util::SetRandomSeed (int seed) |
static void | Impala::Util::RandomiseSeed () |
int | Impala::Util::RandomInt (int upperBound) |
Gives a random integer in range [0,i). | |
int | Impala::Util::RandomInt () |
double | Impala::Util::RandomDouble (double upperBound) |
Gives a random number in range [0,i) with resolution of RAND_MAX. | |
double | Impala::Util::RandomDouble () |
std::set< int > | Impala::Util::RandomUniqueNumbers (int count, int upperBound) |
get 'count' numbers in the range [0,upperBound) | |
void | Impala::Util::DumpRandomSequence (int seed, int length, int maxint) |