OptimizationDatapublic class SearchInterval extends Object implements OptimizationData
| Constructor | Description |
|---|---|
SearchInterval(double lo,
double hi) |
|
SearchInterval(double lo,
double hi,
double init) |
| Modifier and Type | Method | 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–2017 The Apache Software Foundation. All rights reserved.