mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 18:18:56 +00:00
MATH-697
Added missing constructors. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1202186 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
754434a4c0
commit
4289e3e4ff
@ -22,6 +22,7 @@ import org.apache.commons.math.optimization.BaseMultivariateRealOptimizer;
|
|||||||
import org.apache.commons.math.optimization.BaseSimpleBoundsMultivariateRealOptimizer;
|
import org.apache.commons.math.optimization.BaseSimpleBoundsMultivariateRealOptimizer;
|
||||||
import org.apache.commons.math.optimization.GoalType;
|
import org.apache.commons.math.optimization.GoalType;
|
||||||
import org.apache.commons.math.optimization.RealPointValuePair;
|
import org.apache.commons.math.optimization.RealPointValuePair;
|
||||||
|
import org.apache.commons.math.optimization.ConvergenceChecker;
|
||||||
import org.apache.commons.math.exception.DimensionMismatchException;
|
import org.apache.commons.math.exception.DimensionMismatchException;
|
||||||
import org.apache.commons.math.exception.NumberIsTooSmallException;
|
import org.apache.commons.math.exception.NumberIsTooSmallException;
|
||||||
import org.apache.commons.math.exception.NumberIsTooLargeException;
|
import org.apache.commons.math.exception.NumberIsTooLargeException;
|
||||||
@ -47,6 +48,22 @@ public abstract class BaseAbstractSimpleBoundsScalarOptimizer<FUNC extends Multi
|
|||||||
/** Upper bounds. */
|
/** Upper bounds. */
|
||||||
private double[] upperBound;
|
private double[] upperBound;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Simple constructor with default settings.
|
||||||
|
* The convergence check is set to a {@link SimpleScalarValueChecker} and
|
||||||
|
* the allowed number of evaluations is set to {@link Integer#MAX_VALUE}.
|
||||||
|
*
|
||||||
|
* {@see BaseAbstractScalarOptimizer#BaseAbstractScalarOptimizer()}.
|
||||||
|
*/
|
||||||
|
protected BaseAbstractSimpleBoundsScalarOptimizer() {}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param checker Convergence checker.
|
||||||
|
*/
|
||||||
|
protected BaseAbstractSimpleBoundsScalarOptimizer(ConvergenceChecker<RealPointValuePair> checker) {
|
||||||
|
super(checker);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the lower bounds.
|
* @return the lower bounds.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user