Click or drag to resize

BruteForceLineSearchSearch(VectorDouble, VectorDouble, Int32, Int32, Int32) Method

Searches for the minimum of the cost function on the line segment between two bounds.

Namespace: Altaxo.Calc.Optimization
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public Vector<double> Search(
	Vector<double> bound0,
	Vector<double> bound1,
	int numberOfInitialDivisions,
	int numberOfSubsequentDivisions,
	int divisionDepth
)

Parameters

bound0  VectorDouble
Left bound of the search interval.
bound1  VectorDouble
Right bound of the search interval.
numberOfInitialDivisions  Int32
Number of uniform divisions in the initial grid search.
numberOfSubsequentDivisions  Int32
Number of divisions used in each subsequent refinement step.
divisionDepth  Int32
Maximum recursion depth used for refinement.

Return Value

VectorDouble
The point where the cost function is minimal within the search interval.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionnumberOfInitialDivisions is less than 2, numberOfSubsequentDivisions is less than 2, or a valid minimum cannot be determined because all function evaluations are invalid or infinite.
See Also