![]() |
QMCPACK
|
Public Types | |
using | result_type = T |
using | uint_type = uint_fast32_t |
Public Member Functions | |
virtual | ~RandomBase ()=default |
virtual void | init (int iseed_in)=0 |
virtual void | seed (uint_type aseed)=0 |
virtual T | operator() ()=0 |
virtual void | write (std::ostream &rout) const =0 |
virtual void | read (std::istream &rin)=0 |
virtual void | load (const std::vector< uint_type > &newstate)=0 |
virtual void | save (std::vector< uint_type > &curstate) const =0 |
virtual size_t | state_size () const =0 |
virtual std::unique_ptr< RandomBase< T > > | makeClone () const =0 |
Definition at line 24 of file RandomBase.h.
using result_type = T |
Definition at line 27 of file RandomBase.h.
using uint_type = uint_fast32_t |
Definition at line 28 of file RandomBase.h.
|
virtualdefault |
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, and StdRandom< RngValueType< T > >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
Referenced by CostFunctionCrowdData::CostFunctionCrowdData(), and MomentumEstimator::setRandomGenerator().
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, and StdRandom< RngValueType< T > >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.
|
pure virtual |
Implemented in StdRandom< T >, StdRandom< VT >, StdRandom< RngValueType< T > >, and FakeRandom< T >.