Click or drag to resize
Accord.NET (logo)

IGPGeneCreateNew Method

Creates new gene with random type and value.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.6.0
Syntax
IGPGene CreateNew()
Request Example View Source

Return Value

Type: IGPGene
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.

See Also