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.MathIllegalArgumentException
- if lo >= hi
.MathIllegalArgumentException
- if init < lo
or init > hi
.public SearchInterval(double lo, double hi)
lo
- Lower bound.hi
- Upper bound.MathIllegalArgumentException
- if lo >= hi
.Copyright © 2016–2020 Hipparchus.org. All rights reserved.