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: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to