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:
Gilles Sadowski 2011-11-15 13:35:45 +00:00
parent 754434a4c0
commit 4289e3e4ff
1 changed files with 17 additions and 0 deletions

View File

@ -22,6 +22,7 @@ import org.apache.commons.math.optimization.BaseMultivariateRealOptimizer;
import org.apache.commons.math.optimization.BaseSimpleBoundsMultivariateRealOptimizer;
import org.apache.commons.math.optimization.GoalType;
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.NumberIsTooSmallException;
import org.apache.commons.math.exception.NumberIsTooLargeException;
@ -47,6 +48,22 @@ public abstract class BaseAbstractSimpleBoundsScalarOptimizer<FUNC extends Multi
/** Upper bounds. */
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.
*/