Creates new gene with random type and value.
Namespace:
AForge.GeneticAssembly: AForge.Genetic (in AForge.Genetic.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
C# |
---|
IGPGene CreateNew() |
Return Value
[Missing <returns> documentation for M:AForge.Genetic.IGPGene.CreateNew]
Remarks
The method creates new randomly initialized gene . The method is useful as factory method for those classes, which work with gene's interface, but not with particular gene class.