Click or drag to resize

GridSearch Constructor (IEnumerableSearchAlgorithmIFactor, FuncDouble, Double)

Constructor with simple fitness delegate.

Namespace:  FinMath.MachineLearning.EvolutionaryAlgorithms
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public GridSearch(
	IEnumerable<SearchAlgorithmIFactor> factors,
	Func<double[], double> fitnessDelegate
)

Parameters

factors
Type: System.Collections.GenericIEnumerableSearchAlgorithmIFactor
The IList of factors for grid building.
fitnessDelegate
Type: SystemFuncDouble, Double
The objective value calculation delegate. Function must accept the array of double with the parameters under evaluation and must returns the objective value to minimize.
See Also