/src/main/java/net/finmath/optimizer/StochasticOptimizerFactoryLevenbergMarquardt.java
this.regularizationMethod = null;
this.regularizationMethod = regularizationMethod;
private final StochasticLevenbergMarquardt.RegularizationMethod regularizationMethod; private final int maxIterations; private final double errorTolerance; private final int maxThreads; public StochasticOptimizerFactoryLevenbergMarquardt(final StochasticLevenbergMarquardt.RegularizationMethod regularizationMethod, final int maxIterations, final double errorTolerance, final int maxThreads) { super(); <extra_id_0> this.maxIterations = maxIterations; this.errorTolerance = errorTolerance; this.maxThreads = maxThreads; } public StochasticOptimizerFactoryLevenbergMarquardt(final int maxIterations, final double errorTolerance, final int maxThreads) { this(StochasticLevenbergMarquardt.RegularizationMethod.LEVENBERG_MARQUARDT, maxIterations, errorTolerance, maxThreads);