protected override sealed bool StopExecution(
int iteration,
LinkedList<double> levels,
LinkedList<DoubleMatrix> parameters
)
Protected Overrides NotOverridable Function StopExecution (
iteration As Integer,
levels As LinkedList(Of Double),
parameters As LinkedList(Of DoubleMatrix)
) As Boolean
protected:
virtual bool StopExecution(
int iteration,
LinkedList<double>^ levels,
LinkedList<DoubleMatrix^>^ parameters
) override sealed
abstract StopExecution :
iteration : int *
levels : LinkedList<float> *
parameters : LinkedList<DoubleMatrix> -> bool
override StopExecution :
iteration : int *
levels : LinkedList<float> *
parameters : LinkedList<DoubleMatrix> -> bool
In the SystemPerformanceOptimizationContext class, this method is implemented as follows.
An iteration is defined as intermediate for a SystemPerformanceOptimizationContext if it is greater than MinimumNumberOfIterations, and less than MaximumNumberOfIterations.
A SystemPerformanceOptimizationContext never stops if iteration is less than or equal to MinimumNumberOfIterations, and always stops if iteration is greater than or equal to MaximumNumberOfIterations.
For intermediate iterations, overridable method StopAtIntermediateIteration(Int32, LinkedList<Double>, LinkedList<DoubleMatrix>) is called to check if a Cross-Entropy program executing in this context should stop or not after completing an intermediate iteration.
ArgumentNullException | levels is null. -or- parameters is null. |