Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2aux
src
debug
Random.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <ext/random>
9
10
namespace
debug
{
11
12
template
<
class
T >
13
class
Random
{
14
public
:
15
static
T
random
( );
16
};
17
18
template
<
class
T >
19
T
Random < T >::random
( ) {
20
return
ext::random_devices::semirandom
( );
21
}
22
23
}
/* namespace debug */
24
debug::Random
Definition:
Random.h:13
debug::Random::random
static T random()
Definition:
Random.h:19
ext::random_devices::semirandom
static semirandom_device & semirandom
The reference to singleton semirandom device.
Definition:
random.hpp:147
debug
Definition:
Random.h:10
Generated on Mon Dec 27 2021 10:21:52 for Algorithms Library Toolkit by
1.9.2