Click or drag to resize
Accord.NET (logo)

ExtendedGeneFunction Constructor (Int32)

Initializes a new instance of the ExtendedGeneFunction class.

Namespace:  Accord.Genetic
Assembly:  Accord.Genetic (in Accord.Genetic.dll) Version: 3.6.0
Syntax
public ExtendedGeneFunction(
	int variablesCount
)
Request Example View Source

Parameters

variablesCount
Type: SystemInt32
Total amount of variables in the task which is supposed to be solved.
Remarks

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

See Also