메소드 | 설명 | |
---|---|---|
DiscreteUniformDistribution ( ) : System |
Initializes a new instance of the DiscreteUniformDistribution class, using a StandardGenerator as underlying random number generator.
|
|
DiscreteUniformDistribution ( |
Initializes a new instance of the DiscreteUniformDistribution class, using the specified Generator as underlying random number generator.
|
|
IsValidAlpha ( int value ) : bool |
Determines whether the specified value is valid for parameter Alpha.
|
|
IsValidBeta ( int value ) : bool |
Determines whether the specified value is valid for parameter Beta.
|
|
Next ( ) : int |
Returns a uniformly distributed random number.
|
|
NextDouble ( ) : double |
Returns a uniformly distributed floating point random number.
|
메소드 | 설명 | |
---|---|---|
UpdateHelpers ( ) : void |
Updates the helper variables that store intermediate results for generation of uniformly distributed random numbers.
|
public DiscreteUniformDistribution ( |
||
generator | A |
|
리턴 | System |
public IsValidAlpha ( int value ) : bool | ||
value | int | The value to check. |
리턴 | bool |