PAIR
- Type of the (point, objective value) pair.public interface ConvergenceChecker<PAIR>
SimpleValueChecker
, SimpleVectorValueChecker
and SimplePointChecker
. The first two
consider that convergence is
reached when the objective function value does not change much anymore, it
does not use the point set at all.
The third one considers that convergence is reached when the input point
set does not change much anymore, it does not use objective function value
at all.SimplePointChecker
,
SimpleValueChecker
,
SimpleVectorValueChecker
Modifier and Type | Method and Description |
---|---|
boolean |
converged(int iteration,
PAIR previous,
PAIR current)
Check if the optimization algorithm has converged.
|
boolean converged(int iteration, PAIR previous, PAIR current)
iteration
- Current iteration.previous
- Best point in the previous iteration.current
- Best point in the current iteration.true
if the algorithm is considered to have converged.Copyright © 2019 CNES. All rights reserved.