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.
public IGPGene CreateNew( GPGeneType type ) { return new ExtendedGeneFunction( variablesCount, type ); } }