AForge.Genetic.SimpleGeneFunction.SimpleGeneFunction C# (CSharp) Метод

SimpleGeneFunction() публичный Метод

Initializes a new instance of the SimpleGeneFunction class.

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

public SimpleGeneFunction ( int variablesCount ) : System
variablesCount int Total amount of variables in the task which is supposed /// to be solved.
Результат System
        public SimpleGeneFunction( int variablesCount ) : this( variablesCount, true ) { }

Same methods

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