Click or drag to resize

RandomSearch Constructor (IEnumerableSearchAlgorithmIFactor, Int32, ActionDouble, Double)

Constructor with block-oriented fitness delegate.

Namespace:  FinMath.MachineLearning.EvolutionaryAlgorithms
Assembly:  FinMath (in FinMath.dll) Version: 2.4.7-0a995bd0ea1854c2c868ec3f8dae606c5777e170
Syntax
C#
public RandomSearch(
	IEnumerable<SearchAlgorithmIFactor> factors,
	int blockSize,
	Action<double[][], double[]> fitnessBlockDelegate
)

Parameters

factors
Type: System.Collections.GenericIEnumerableSearchAlgorithmIFactor
The IList of factors for grid building.
blockSize
Type: SystemInt32
The maximum size of block values to calculate.
fitnessBlockDelegate
Type: SystemActionDouble, Double
The block-oriented objective values calculation delegate. Function must accept the array of arrays of double: the parameters under evaluation, the array of double to store objective values and the block size - the points number to evaluate.
See Also