Click or drag to resize
Accord.NET (logo)

ShortArrayChromosome Constructor (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
)
Request Example View Source

Parameters

length
Type: SystemInt32
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