This method returns a pseudo-randomly generated integer value in the range [0..n).
Namespace: ILOG.CP
Assembly: ILOG.CP (in ILOG.CP.dll)
Syntax
| C# |
|---|
public virtual int GetRandomInt( int n ) |
| Visual Basic |
|---|
Public Overridable Function GetRandomInt ( _ n As Integer _ ) As Integer |
Parameters
- n
- Type: System..::..Int32