LIBINT
2.1.0-stable
|
The shift parameter is computed as follows: delta = floor(nrrs*scale*random()/RAND_MAX) where nrrs is the number of possibilities, scale is the user-specified parameter. More...
#include <tactic.h>
Public Member Functions | |
StdRandomizePolicy (double scale) | |
unsigned int | noise (unsigned int nrrs) const |
The shift parameter is computed as follows: delta = floor(nrrs*scale*random()/RAND_MAX) where nrrs is the number of possibilities, scale is the user-specified parameter.