algotune: make reseed public.
This commit is contained in:
@@ -12,7 +12,7 @@ static std::mt19937 rng;
|
|||||||
static std::random_device devrand;
|
static std::random_device devrand;
|
||||||
|
|
||||||
|
|
||||||
static void
|
void
|
||||||
reseed()
|
reseed()
|
||||||
{
|
{
|
||||||
rng.seed(devrand());
|
rng.seed(devrand());
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace algotune {
|
|||||||
|
|
||||||
int64_t display_step = 1000;
|
int64_t display_step = 1000;
|
||||||
|
|
||||||
|
void reseed(void);
|
||||||
|
|
||||||
int rand_int(int low, int high);
|
int rand_int(int low, int high);
|
||||||
int64_t rand_int64(int64_t low, int64_t high);
|
int64_t rand_int64(int64_t low, int64_t high);
|
||||||
|
|||||||
Reference in New Issue
Block a user