public class SimpleBounds extends java.lang.Object implements OptimizationData
| Modifier and Type | Field and Description |
|---|---|
private double[] |
lower
Lower bounds.
|
private double[] |
upper
Upper bounds.
|
| Constructor and Description |
|---|
SimpleBounds(double[] lB,
double[] uB) |
| Modifier and Type | Method and Description |
|---|---|
double[] |
getLower()
Gets the lower bounds.
|
double[] |
getUpper()
Gets the upper bounds.
|
static SimpleBounds |
unbounded(int dim)
Factory method that creates instance of this class that represents
unbounded ranges.
|
private final double[] lower
private final double[] upper
public SimpleBounds(double[] lB,
double[] uB)
lB - Lower bounds.uB - Upper bounds.public double[] getLower()
public double[] getUpper()
public static SimpleBounds unbounded(int dim)
dim - Number of parameters.Copyright (c) 2003-2015 Apache Software Foundation