IRandomization.GetUniqueInts Method

GeneticSharp

IRandomization GetUniqueInts Method GeneticSharp
Gets an integer array with unique values between minimum value (inclusive) and maximum value (exclusive).

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

Syntax

int[] GetUniqueInts(
	int length,
	int min,
	int max
)
int[] GetUniqueInts(
	int length,
	int min,
	int max
)

Parameters

length
Type: OnlineSystem Int32
The array length
min
Type: OnlineSystem Int32
Minimum value (inclusive).
max
Type: OnlineSystem Int32
Maximum value (exclusive).

Return Value

Type:  OnlineInt32 
The integer array.
See Also