public class SearchInterval extends java.lang.Object implements OptimizationData
| Modifier and Type | Field and Description |
|---|---|
private double |
lower
Lower bound.
|
private double |
start
Start value.
|
private double |
upper
Upper bound.
|
| Constructor and Description |
|---|
SearchInterval(double lo,
double hi) |
SearchInterval(double lo,
double hi,
double init) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMax()
Gets the upper bound.
|
double |
getMin()
Gets the lower bound.
|
double |
getStartValue()
Gets the start value.
|
private final double lower
private final double upper
private final double start
public SearchInterval(double lo,
double hi,
double init)
lo - Lower bound.hi - Upper bound.init - Start value.NumberIsTooLargeException - if lo >= hi.OutOfRangeException - if init < lo or init > hi.public SearchInterval(double lo,
double hi)
lo - Lower bound.hi - Upper bound.NumberIsTooLargeException - if lo >= hi.Copyright (c) 2003-2015 Apache Software Foundation