AForge.Genetic.ExtendedGeneFunction.ExtendedGeneFunction C# (CSharp) Method

ExtendedGeneFunction() public method

Initializes a new instance of the ExtendedGeneFunction class.

The constructor creates randomly initialized gene with random type and value by calling Generate( ) method.

public ExtendedGeneFunction ( int variablesCount ) : System
variablesCount int Total amount of variables in the task which is supposed /// to be solved.
return System
        public ExtendedGeneFunction( int variablesCount ) : this( variablesCount, true ) { }

Same methods

ExtendedGeneFunction::ExtendedGeneFunction ( int variablesCount, GPGeneType type ) : System
ExtendedGeneFunction::ExtendedGeneFunction ( int variablesCount, bool random ) : System