public class JulianDateFunctionThresholdCrossingIndicated extends JulianDateFunctionFinding
JulianDateFunctionExplorer
that a threshold crossing is
indicated somewhere between two dates, because the function values are on opposite sides of the
threshold at the two dates. The precise date at which the function crosses the
threshold may not yet be known.Constructor and Description |
---|
JulianDateFunctionThresholdCrossingIndicated(JulianDateFunctionExplorer explorer,
JulianDateFunctionDetails function,
JulianDateFunctionThresholdDetails threshold,
JulianDateFunctionExtremumFound extremum,
JulianDate leftDate,
double leftValue,
JulianDate rightDate,
double rightValue)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
JulianDateFunctionThresholdCrossingFound |
findPreciseCrossing()
Finds the precise date at which the function crosses the threshold.
|
JulianDateFunctionExplorer |
getExplorer()
Gets the
JulianDateFunctionExplorer that found this indicated crossing. |
JulianDateFunctionExtremumFound |
getExtremum()
Gets the extremum that caused this threshold crossing indication, or
null
if this indication was not caused by an extremum. |
JulianDateFunctionDetails |
getFunction()
Gets the function that crossed the threshold.
|
JulianDate |
getLeftDate()
Gets the date to the left of the threshold.
|
double |
getLeftValue()
Gets the function value to the left of the threshold.
|
JulianDate |
getRightDate()
Gets the date to the right of the threshold.
|
double |
getRightValue()
Gets the function value to the right of the threshold.
|
FunctionSegmentSlope |
getSlope()
Gets the slope of the segment that crosses the threshold.
|
JulianDateFunctionThresholdDetails |
getThreshold()
Gets the threshold being crossed.
|
public JulianDateFunctionThresholdCrossingIndicated(JulianDateFunctionExplorer explorer, JulianDateFunctionDetails function, JulianDateFunctionThresholdDetails threshold, JulianDateFunctionExtremumFound extremum, @Nonnull JulianDate leftDate, double leftValue, @Nonnull JulianDate rightDate, double rightValue)
explorer
- The instance that identified this threshold crossing.function
- The function that crossed the threshold.threshold
- The threshold that was crossed.extremum
- The extremum that led to the discovery of this crossing, or null
if and
extremum was not involved in the discovery of this crossing.leftDate
- The date to the left of the threshold.leftValue
- The function value to the left of the threshold.rightDate
- The date to the right of the threshold.rightValue
- The function value to the right of the threshold.public final JulianDateFunctionExplorer getExplorer()
JulianDateFunctionExplorer
that found this indicated crossing.public final JulianDateFunctionDetails getFunction()
public final JulianDateFunctionThresholdDetails getThreshold()
@Nonnull public final JulianDate getLeftDate()
public final double getLeftValue()
@Nonnull public final JulianDate getRightDate()
public final double getRightValue()
@Nonnull public final FunctionSegmentSlope getSlope()
public final JulianDateFunctionThresholdCrossingFound findPreciseCrossing()
public final JulianDateFunctionExtremumFound getExtremum()
null
if this indication was not caused by an extremum.