Click or drag to resize
Accord.NET (logo)

IGPGeneGenerate Method (GPGeneType)

Randomize gene with random value.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.7.0
Syntax
void Generate(
	GPGeneType type
)
Request Example View Source

Parameters

type
Type: Accord.GeneticGPGeneType
Gene type to set.
Remarks

The method randomizes a gene, setting its value randomly, but type is set to the specified one.

See Also