MATH-707
Class name change: "BaseAbstractVectorialOptimizer" -> "BaseAbstractMultivariateVectorOptimizer" git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1212371 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
497d025e1e
commit
86dcb3c6ce
|
@ -38,7 +38,7 @@ import org.apache.commons.math.optimization.SimpleVectorialValueChecker;
|
|||
* @version $Id$
|
||||
* @since 3.0
|
||||
*/
|
||||
public abstract class BaseAbstractVectorialOptimizer<FUNC extends MultivariateVectorFunction>
|
||||
public abstract class BaseAbstractMultivariateVectorOptimizer<FUNC extends MultivariateVectorFunction>
|
||||
implements BaseMultivariateVectorOptimizer<FUNC> {
|
||||
/** Evaluations counter. */
|
||||
protected final Incrementor evaluations = new Incrementor();
|
||||
|
@ -58,13 +58,13 @@ public abstract class BaseAbstractVectorialOptimizer<FUNC extends MultivariateVe
|
|||
* The convergence check is set to a {@link SimpleVectorialValueChecker} and
|
||||
* the allowed number of evaluations is set to {@link Integer#MAX_VALUE}.
|
||||
*/
|
||||
protected BaseAbstractVectorialOptimizer() {
|
||||
protected BaseAbstractMultivariateVectorOptimizer() {
|
||||
this(new SimpleVectorialValueChecker());
|
||||
}
|
||||
/**
|
||||
* @param checker Convergence checker.
|
||||
*/
|
||||
protected BaseAbstractVectorialOptimizer(ConvergenceChecker<VectorialPointValuePair> checker) {
|
||||
protected BaseAbstractMultivariateVectorOptimizer(ConvergenceChecker<VectorialPointValuePair> checker) {
|
||||
this.checker = checker;
|
||||
}
|
||||
|
|
@ -28,7 +28,7 @@ import org.apache.commons.math.linear.MatrixUtils;
|
|||
import org.apache.commons.math.optimization.ConvergenceChecker;
|
||||
import org.apache.commons.math.optimization.DifferentiableMultivariateVectorOptimizer;
|
||||
import org.apache.commons.math.optimization.VectorialPointValuePair;
|
||||
import org.apache.commons.math.optimization.direct.BaseAbstractVectorialOptimizer;
|
||||
import org.apache.commons.math.optimization.direct.BaseAbstractMultivariateVectorOptimizer;
|
||||
import org.apache.commons.math.util.FastMath;
|
||||
|
||||
/**
|
||||
|
@ -49,7 +49,7 @@ import org.apache.commons.math.util.FastMath;
|
|||
* @since 1.2
|
||||
*/
|
||||
public abstract class AbstractLeastSquaresOptimizer
|
||||
extends BaseAbstractVectorialOptimizer<DifferentiableMultivariateVectorFunction>
|
||||
extends BaseAbstractMultivariateVectorOptimizer<DifferentiableMultivariateVectorFunction>
|
||||
implements DifferentiableMultivariateVectorOptimizer {
|
||||
/** Singularity threshold (cf. {@link #getCovariances(double)}). */
|
||||
private static final double DEFAULT_SINGULARITY_THRESHOLD = 1e-14;
|
||||
|
|
Loading…
Reference in New Issue