Random generator with archiving (to be used in branchers) More...
#include <brancher-view.hpp>
Public Member Functions | |
ArchivedRandomGenerator (void) | |
Default constructor. More... | |
ArchivedRandomGenerator (unsigned int seed) | |
Constructor. More... | |
ArchivedRandomGenerator (const Support::RandomGenerator &r) | |
Copy constructor. More... | |
void | archive (Archive &e) const |
Archive. More... | |
![]() | |
void | seed (unsigned int _s) |
Set the current seed. More... | |
LinearCongruentialGenerator (unsigned int _s=1) | |
Construct the generator instance. More... | |
unsigned int | seed (void) const |
Return current seed. More... | |
unsigned int | operator() (unsigned int n) |
Returns a random integer from the interval [0..n) More... | |
size_t | size (void) const |
Report size occupied. More... | |
Random generator with archiving (to be used in branchers)
Definition at line 174 of file brancher-view.hpp.
|
inline |
Default constructor.
Definition at line 398 of file brancher-view.hpp.
|
inline |
Constructor.
Definition at line 400 of file brancher-view.hpp.
|
inline |
Copy constructor.
Definition at line 404 of file brancher-view.hpp.
|
inline |
Definition at line 406 of file brancher-view.hpp.