
Random generator with archiving (to be used in branchers) More...
#include <brancher-view.hpp>
Public Member Functions | |
| ArchivedRandomGenerator (void) | |
| Default constructor. | |
| ArchivedRandomGenerator (unsigned int seed) | |
| Constructor. | |
| ArchivedRandomGenerator (const Support::RandomGenerator &r) | |
| Copy constructor. | |
| void | archive (Archive &e) const |
| Archive. | |
Public Member Functions inherited from Gecode::Support::LinearCongruentialGenerator< m, a, q, r > | |
| void | seed (unsigned int _s) |
| Set the current seed. | |
| LinearCongruentialGenerator (unsigned int _s=1) | |
| Construct the generator instance. | |
| unsigned int | seed (void) const |
| Return current seed. | |
| unsigned int | operator() (unsigned int n) |
| Returns a random integer from the interval [0..n) | |
| size_t | size (void) const |
| Report size occupied. | |
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.