C# Class Landis.Insects.RandomNumberGenerator

A random number generator.
This class is implemented using the random-number generator in the core framework.
Inheritance: Troschuetz.Random.Generator
Exibir arquivo Open project: LANDIS-II-Foundation/Extensions-Disturbance

Public Methods

Method Description
Next ( ) : int
Next ( int maxValue ) : int
Next ( int minValue, int maxValue ) : int
NextBoolean ( ) : bool
NextBytes ( byte buffer ) : void
NextDouble ( ) : double
NextDouble ( double maxValue ) : double
NextDouble ( double minValue, double maxValue ) : double
Reset ( ) : bool

Private Methods

Method Description
RandomNumberGenerator ( ) : System

Method Details

Next() public method

public Next ( ) : int
return int

Next() public method

public Next ( int maxValue ) : int
maxValue int
return int

Next() public method

public Next ( int minValue, int maxValue ) : int
minValue int
maxValue int
return int

NextBoolean() public method

public NextBoolean ( ) : bool
return bool

NextBytes() public method

public NextBytes ( byte buffer ) : void
buffer byte
return void

NextDouble() public method

public NextDouble ( ) : double
return double

NextDouble() public method

public NextDouble ( double maxValue ) : double
maxValue double
return double

NextDouble() public method

public NextDouble ( double minValue, double maxValue ) : double
minValue double
maxValue double
return double

Reset() public method

public Reset ( ) : bool
return bool