|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.commons.math3.optim.univariate.SearchInterval
public class SearchInterval
Search interval and (optional) start value.
Immutable class.
| Field Summary | |
|---|---|
private double |
lower
Lower bound. |
private double |
start
Start value. |
private double |
upper
Upper bound. |
| Constructor Summary | |
|---|---|
SearchInterval(double lo,
double hi)
|
|
SearchInterval(double lo,
double hi,
double init)
|
|
| Method Summary | |
|---|---|
double |
getMax()
Gets the upper bound. |
double |
getMin()
Gets the lower bound. |
double |
getStartValue()
Gets the start value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final double lower
private final double upper
private final double start
| Constructor Detail |
|---|
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.| Method Detail |
|---|
public double getMin()
public double getMax()
public double getStartValue()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||