Randomize gene with random value.

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

Syntax

C#
void Generate(
	GPGeneType type
)

Parameters

type
Type: AForge.Genetic..::.GPGeneType
Gene type to set.

Remarks

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

See Also