| 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
)
Protected Overrides Function StopAtIntermediateIteration (
iteration As Integer,
levels As LinkedList(Of Double),
parameters As LinkedList(Of DoubleMatrix)
) As Boolean
protected:
virtual bool StopAtIntermediateIteration(
int iteration,
LinkedList<double>^ levels,
LinkedList<DoubleMatrix^>^ parameters
) override
abstract StopAtIntermediateIteration :
iteration : int *
levels : LinkedList<float> *
parameters : LinkedList<DoubleMatrix> -> bool
override StopAtIntermediateIteration :
iteration : int *
levels : LinkedList<float> *
parameters : LinkedList<DoubleMatrix> -> bool
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:
Booleantrue if the optimization program must be stopped;
otherwise,
false.
Exceptions 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