FastRandom.Next Method

GeneticSharp

FastRandom Next Method GeneticSharp
Generates a random int over the range 0 to int.MaxValue-1. MaxValue is not generated in order to remain functionally equivalent to System.Random.Next(). This does slightly eat into some of the performance gain over System.Random, but not much. For better performance see: Call NextInt() for an int over the range 0 to int.MaxValue. Call NextUInt() and cast the result to an int to generate an int over the full Int32 value range including negative values.

Namespace: SharpNeatLib.Maths
Assembly: GeneticSharp.Domain (in GeneticSharp.Domain.dll) Version: 1.0.5010.36434

Syntax

public int Next()
public int Next()

Return Value

Type: OnlineInt32

[Missing <returns> documentation for "M:SharpNeatLib.Maths.FastRandom.Next"]

See Also