Click or drag to resize
Accord.NET (logo)

ShortArrayChromosome Constructor (Int32, Int32)

Initializes a new instance of the ShortArrayChromosome class.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax
public ShortArrayChromosome(
	int length,
	int maxValue
)
Request Example View Source

Parameters

length
Type: SystemInt32
Chromosome's length in array elements, [2, MaxLength].
maxValue
Type: SystemInt32
Maximum value of chromosome's gene (array element).
See Also