public class DurationFunctionExtremumFound extends DurationFunctionFinding
DurationFunctionExplorer
that a function has a local
extremum at a specific duration.Constructor and Description |
---|
DurationFunctionExtremumFound(DurationFunctionExtremumIndicated indication,
Duration extremumDuration,
double extremumValue)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
DurationFunctionExplorer |
getExplorer()
Gets the
DurationFunctionExplorer that found this extremum. |
Duration |
getExtremumDuration()
Gets the duration of the extremum.
|
ExtremumType |
getExtremumType()
Gets a function value indicating whether the extremum is a minimum or maximum.
|
double |
getExtremumValue()
Gets the function value of the extremum.
|
DurationFunctionDetails |
getFunction()
Gets the function for which the extremum was found.
|
DurationFunctionExtremumIndicated |
getIndication()
Gets the finding that indicated the existence of this extremum.
|
boolean |
getIsEndpointExtremum()
Gets a value indicating whether or not this extremum occurred at one of the endpoints
of an interval explored with
DurationFunctionExplorer.explore(Duration,Duration) . |
public DurationFunctionExtremumFound(DurationFunctionExtremumIndicated indication, @Nonnull Duration extremumDuration, double extremumValue)
indication
- The finding that indicated the existence of this extremum.extremumDuration
- The duration of the extremum.extremumValue
- The function value of the extremum.public final DurationFunctionExplorer getExplorer()
DurationFunctionExplorer
that found this extremum.public final DurationFunctionDetails getFunction()
public final DurationFunctionExtremumIndicated getIndication()
@Nonnull public final Duration getExtremumDuration()
public final double getExtremumValue()
@Nonnull public final ExtremumType getExtremumType()
public final boolean getIsEndpointExtremum()
DurationFunctionExplorer.explore(Duration,Duration)
.
Endpoint extrema do not necessarily indicate places in the function have a derivative of zero,
but they can still be global minima or maxima over the evaluation interval.