#include <rand-dunif.h>
Inheritance diagram for DiscreteUniform< BZ_TEMPLATE_DEFAULT >:


Public Types | |
| typedef int | T_numtype |
| typedef P_uniform | T_uniform |
| typedef T | T_numtype |
Public Member Functions | |
| DiscreteUniform (int low, int high, double=0) | |
| void | randomize () |
| int | random () |
| DiscreteUniform (T n) | |
| T | random () |
Private Attributes | |
| int | low_ |
| int | range_ |
| T_uniform | uniform_ |
| T | n_ |
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
||||||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
|
|||||
|
|
1.3.9.1