MTToolBox
0.2.10
|
#include <ReducibleTemperingCalculatable.hpp>
Public Member Functions | |
virtual | ~ReducibleTemperingCalculatable () |
Virtual destructor (always required) More... | |
Public Member Functions inherited from MTToolBox::ReducibleGenerator< U > | |
virtual | ~ReducibleGenerator () |
Virtual destructor (always required) More... | |
virtual void | setOneBit (int bitPos)=0 |
set 1 for specified bit and clear all other bits in internal state. More... | |
virtual U | getParityValue () const =0 |
Virtual destructor (always required) Returs a value in the position for parity check. More... | |
virtual void | setParityValue (U parity)=0 |
Set a specified value in the position for parity check. More... | |
virtual int | getMexp () const =0 |
Get Mersenne Exponent which is a exponent part of certified minimum period. More... | |
Public Member Functions inherited from MTToolBox::EquidistributionCalculatable< U, U > | |
virtual | ~EquidistributionCalculatable () |
Virtual destructor (always required) More... | |
virtual EquidistributionCalculatable< U, U > * | clone () const =0 |
Return copy of myself. More... | |
virtual U | generate (int outBitLen)=0 |
output outBitLen from MSB. More... | |
virtual void | add (EquidistributionCalculatable< U, U > &that)=0 |
Add internal state of GF(2)-linear pseudo random number generators. More... | |
virtual void | setZero ()=0 |
Set all zero to internal state. More... | |
virtual bool | isZero () const =0 |
Check if bits in internal state are all zero. More... | |
Public Member Functions inherited from MTToolBox::RecursionSearchable< U, U > | |
virtual | ~RecursionSearchable () |
Virtual destructor (always required) More... | |
virtual void | setUpParam (AbstractGenerator< U > &generator)=0 |
Users should set parameters for their generator when this method is called. More... | |
virtual const std::string | getHeaderString ()=0 |
Returns header string of parameters. More... | |
virtual const std::string | getParamString ()=0 |
Returns string expression of parameters. More... | |
Public Member Functions inherited from MTToolBox::AbstractGenerator< U > | |
virtual | ~AbstractGenerator () |
Virtual destructor (always required) More... | |
virtual U | generate ()=0 |
transit current internal state to next state and output a pseudo random number. More... | |
virtual void | seed (U value)=0 |
initialize internal state More... | |
virtual int | bitSize () const =0 |
Return bit size of internal state, i.e dimension of GF(2)-vector space. More... | |
Public Member Functions inherited from MTToolBox::TemperingCalculatable< U > | |
virtual | ~TemperingCalculatable () |
Virtual destructor (always required) More... | |
virtual void | setTemperingPattern (U mask, U pattern, int index)=0 |
Set tempering parameters. More... | |
virtual void | setUpTempering ()=0 |
If preparing is needed before generation, here is the place to prepare tempering parameters. More... | |
virtual void | setReverseOutput ()=0 |
Changes bit order of output. More... | |
virtual void | resetReverseOutput ()=0 |
Reset bit order of output. More... | |
virtual bool | isReverseOutput ()=0 |
Shows if bit order is reversed. More... | |
|
inlinevirtual |
Virtual destructor (always required)