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
)

Parameters

length
Type: System..::.Int32
Chromosome's length in array elements, [2, MaxLength].

Remarks

This constructor initializes chromosome setting genes' maximum value to maximum posible value of ushort type.

See Also