SimpleGeneFunctionCreateNew Method (GPGeneType)
public IGPGene CreateNew( GPGeneType type )
Public Function CreateNew ( type As GPGeneType ) As IGPGene
The method creates new gene with specified type, but random value. The method is useful as factory method for those classes, which work with gene's interface, but not with particular gene class.