Package org.hipparchus.optim.univariate
Class SearchInterval
- java.lang.Object
-
- org.hipparchus.optim.univariate.SearchInterval
-
- All Implemented Interfaces:
OptimizationData
public class SearchInterval extends Object implements OptimizationData
Search interval and (optional) start value.
Immutable class.
-
-
Constructor Summary
Constructors Constructor Description SearchInterval(double lo, double hi)SearchInterval(double lo, double hi, double init)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetMax()Gets the upper bound.doublegetMin()Gets the lower bound.doublegetStartValue()Gets the start value.
-
-
-
Constructor Detail
-
SearchInterval
public SearchInterval(double lo, double hi, double init)- Parameters:
lo- Lower bound.hi- Upper bound.init- Start value.- Throws:
MathIllegalArgumentException- iflo >= hi.MathIllegalArgumentException- ifinit < loorinit > hi.
-
SearchInterval
public SearchInterval(double lo, double hi)- Parameters:
lo- Lower bound.hi- Upper bound.- Throws:
MathIllegalArgumentException- iflo >= hi.
-
-