Click or drag to resize

ContinuousOptimizationContextStopAtIntermediateIteration Method

Specifies conditions under which a SystemPerformanceOptimizer executing in this context should be considered as terminated after completing an intermediate iteration.

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
protected override bool StopAtIntermediateIteration(
	int iteration,
	LinkedList<double> levels,
	LinkedList<DoubleMatrix> parameters
)

Parameters

iteration
Type: SystemInt32
The current iteration identifier.
levels
Type: System.Collections.GenericLinkedListDouble
The performance levels achieved in previous iterations by a SystemPerformanceOptimizer executing in this context.
parameters
Type: System.Collections.GenericLinkedListDoubleMatrix
The sampling parameters applied in previous iterations by a SystemPerformanceOptimizer executing in this context.

Return Value

Type: Boolean
true if the optimization program must be stopped; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionlevels is null.
-or-
parameters is null.
Remarks

At intermediate iterations, the algorithm will stop if each standard deviation in the updated sampling reference parameter will be less than TerminationTolerance.

See Also