public class SearchInterval extends Object implements OptimizationData
| 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.
|
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 © 2003–2016 The Apache Software Foundation. All rights reserved.