#include <AlgorithmReducibleRT.hpp>
template<typename U, typename G>
class MTToolBox::AlgorithmReducibleRecursionAndTempering< U, G >
-
Search parameters of state transion function of reducible pseudo random number generator.
-
Search tempering parameters to improve dimension of equi-distribution of output of pseudo random number generator.
- Template Parameters
-
U | Type of output of pseudo random number. |
G | Type of pseudo random number generator. generator. Should be unsigned number. |
template<typename U , typename G >
Constructor.
- Parameters
-
bg | a generator used for generating numbers to make parameters. This generator is not need to be GF(2)-linear pseudo random number generator, for example, TinyMTDC in sample directory uses sequential counter. |
template<typename U , typename G >
returns sum of d(v)s, which are difference between k(v) and theoretical upper bound.
- Returns
- sum of d(v)s.
template<typename U , typename G >
Returns irreducible factor with mexp degree of characteristic polynomial of state transition function.
- Returns
- irreducible factor with mexp degree of characteristic polynomial of state transition function.
template<typename U , typename G >
Returns a period certification vector (parity check vector)
- Returns
- a period certification vector (parity check vector)
template<typename U , typename G >
template<typename U , typename G >
Simple wrapper for users who want to search tempering parameter only from MSB.
Parameters for state transition function are searched.
- Parameters
-
rg | GF(2)-linear pseudo random number generator whose parameters are to be searched. |
st | Algorithm for searching tempering parameters. |
verbose | if true redundant messages will be outputed. |
os | output stream for redundant messages. |
- Returns
- false if no tempering parameters which gives proper state transition function are found.
References MTToolBox::AlgorithmReducibleRecursionAndTempering< U, G >::search().
The documentation for this class was generated from the following file: