|
DoubleArrayChromosome Constructor (IRandomNumberGeneratorDouble, IRandomNumberGeneratorDouble, IRandomNumberGeneratorDouble, Int32)
|
Namespace:
Accord.Genetic
Assembly:
Accord.Genetic (in Accord.Genetic.dll) Version: 3.8.0
Syntax public DoubleArrayChromosome(
IRandomNumberGenerator<double> chromosomeGenerator,
IRandomNumberGenerator<double> mutationMultiplierGenerator,
IRandomNumberGenerator<double> mutationAdditionGenerator,
int length
)
Public Sub New (
chromosomeGenerator As IRandomNumberGenerator(Of Double),
mutationMultiplierGenerator As IRandomNumberGenerator(Of Double),
mutationAdditionGenerator As IRandomNumberGenerator(Of Double),
length As Integer
)
Request Example
View SourceParameters
- chromosomeGenerator
- Type: Accord.Math.RandomIRandomNumberGeneratorDouble
Chromosome generator - random number generator, which is
used to initialize chromosome's genes, which is done by calling Generate method
or in class constructor. - mutationMultiplierGenerator
- Type: Accord.Math.RandomIRandomNumberGeneratorDouble
Mutation multiplier generator - random number
generator, which is used to generate random multiplier values, which are used to
multiply chromosome's genes during mutation. - mutationAdditionGenerator
- Type: Accord.Math.RandomIRandomNumberGeneratorDouble
Mutation addition generator - random number
generator, which is used to generate random addition values, which are used to
add to chromosome's genes during mutation. - length
- Type: SystemInt32
Chromosome's length in array elements, [2, MaxLength].
Remarks The constructor initializes the new chromosome randomly by calling
Generate method.
See Also