Hi,
The LM optimize method counts evaluations. The below method also does. Just
wanted to check in to see whether it's still supposed to?
public static LeastSquaresProblem countEvaluations(final
LeastSquaresProblem problem,
final Incrementor
counter) {
return new LeastSquaresAdapter(problem) {
/** {@inheritDoc} */
@Override
public Evaluation evaluate(final RealVector point) {
counter.incrementCount();
return super.evaluate(point);
}
// Delegate the rest.
};
}
Cheers,
Ole
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]