Initializes a new instance of the ShortArrayChromosome class.

Namespace:  AForge.Genetic
Assembly:  AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)

Syntax

C#
public ShortArrayChromosome(
	int length,
	int maxValue
)

Parameters

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

See Also