public class DurationFunctionThresholdCrossingFound extends DurationFunctionFinding
DurationFunctionExplorer
that a function crossed
a threshold at a specific duration.Constructor and Description |
---|
DurationFunctionThresholdCrossingFound(DurationFunctionThresholdCrossingIndicated indication,
Duration crossingDuration,
double crossingValue)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
Duration |
getCrossingDuration()
Gets the duration at which the crossing occurs.
|
double |
getCrossingValue()
Gets the function value at the crossing.
|
DurationFunctionExplorer |
getExplorer()
Gets the
DurationFunctionExplorer that found this crossing. |
DurationFunctionDetails |
getFunction()
Gets the function that crossed the threshold.
|
DurationFunctionThresholdCrossingIndicated |
getIndication()
Gets the finding that originally indicated the existence of this threshold crossing.
|
FunctionSegmentSlope |
getSlope()
Gets the slope of the function at the crossing.
|
DurationFunctionThresholdDetails |
getThreshold()
Gets the threshold crossed by the function.
|
public DurationFunctionThresholdCrossingFound(DurationFunctionThresholdCrossingIndicated indication, @Nonnull Duration crossingDuration, double crossingValue)
indication
- The finding that originally indicated the existence of this threshold crossing.crossingDuration
- The duration at which the crossing occurs.crossingValue
- The function value at the crossing.public final DurationFunctionExplorer getExplorer()
DurationFunctionExplorer
that found this crossing.public final DurationFunctionDetails getFunction()
public final DurationFunctionThresholdDetails getThreshold()
@Nonnull public final Duration getCrossingDuration()
public final double getCrossingValue()
@Nonnull public final FunctionSegmentSlope getSlope()
public final DurationFunctionThresholdCrossingIndicated getIndication()