public class DurationFunctionDetails extends Object
DurationFunctionExplorer.| Constructor and Description |
|---|
DurationFunctionDetails()
Initializes a new instance.
|
DurationFunctionDetails(DurationSimpleFunction function)
Initializes a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getCurrentValue()
Gets the value of the function at the
CurrentDuration (get). |
boolean |
getCurrentValueIsValid()
Gets a value indicating whether
CurrentValue (get) is valid. |
HierarchicalLogger |
getDebuggingLogger()
Gets the
HierarchicalLogger, used to provide debugging output for the findings analysis. |
DurationFunctionExplorer |
getExplorer()
Gets the
DurationFunctionExplorer that is exploring this function. |
ConvergenceCriteria |
getExtremumConvergenceCriteria()
Gets the criteria used for convergence when searching for a precise local
extremum of this function.
|
double |
getExtremumValueTolerance()
Gets the tolerance with which to converge on function value when finding
a local extremum of this function.
|
DurationSimpleFunction |
getFunction()
Gets the function to explore.
|
double |
getPreviousPreviousValue()
Gets the value of the function at the
PreviousPreviousDuration (get). |
boolean |
getPreviousPreviousValueIsValid()
Gets a value indicating whether
PreviousPreviousValue (get) is valid. |
double |
getPreviousValue()
Gets the value of the function at the
PreviousDuration (get). |
boolean |
getPreviousValueIsValid()
Gets a value indicating whether
PreviousValue (get) is valid. |
DurationFunctionThresholdCollection |
getThresholds()
Gets the collection of thresholds of interest.
|
void |
setDebuggingLogger(HierarchicalLogger value)
Sets the
HierarchicalLogger, used to provide debugging output for the findings analysis. |
void |
setExtremumConvergenceCriteria(ConvergenceCriteria value)
Sets the criteria used for convergence when searching for a precise local
extremum of this function.
|
void |
setExtremumValueTolerance(double value)
Sets the tolerance with which to converge on function value when finding
a local extremum of this function.
|
void |
setFunction(DurationSimpleFunction value)
Sets the function to explore.
|
public DurationFunctionDetails()
public DurationFunctionDetails(DurationSimpleFunction function)
function - The function to explore.public final DurationFunctionExplorer getExplorer()
DurationFunctionExplorer that is exploring this function.public final DurationSimpleFunction getFunction()
public final void setFunction(DurationSimpleFunction value)
@Nonnull public final DurationFunctionThresholdCollection getThresholds()
public final double getExtremumValueTolerance()
ExtremumConvergenceCriteria (get / set) is set to
ConvergenceCriteria.VARIABLE.public final void setExtremumValueTolerance(double value)
ExtremumConvergenceCriteria (get / set) is set to
ConvergenceCriteria.VARIABLE.@Nonnull public final ConvergenceCriteria getExtremumConvergenceCriteria()
ConvergenceCriteria.VARIABLE, the
ExtremumDurationTolerance (get / set) is used.
When set to ConvergenceCriteria.FUNCTION,
the ExtremumValueTolerance (get / set) is used. Convergence can also be allowed on
ConvergenceCriteria.EITHER criteria or
ConvergenceCriteria.BOTH criteria can be required. By default, this property has
the value ConvergenceCriteria.VARIABLE.public final void setExtremumConvergenceCriteria(@Nonnull ConvergenceCriteria value)
ConvergenceCriteria.VARIABLE, the
ExtremumDurationTolerance (get / set) is used.
When set to ConvergenceCriteria.FUNCTION,
the ExtremumValueTolerance (get / set) is used. Convergence can also be allowed on
ConvergenceCriteria.EITHER criteria or
ConvergenceCriteria.BOTH criteria can be required. By default, this property has
the value ConvergenceCriteria.VARIABLE.public final double getCurrentValue()
CurrentDuration (get).IllegalStateException - The current value is not available because the function was not sampled for the
CurrentDuration (get).public final boolean getCurrentValueIsValid()
public final double getPreviousValue()
PreviousDuration (get).IllegalStateException - The current value is not available because the function was not sampled for the
PreviousDuration (get).public final boolean getPreviousValueIsValid()
public final double getPreviousPreviousValue()
PreviousPreviousDuration (get).IllegalStateException - The current value is not available because the function was not sampled for the
PreviousPreviousDuration (get).public final boolean getPreviousPreviousValueIsValid()
public final HierarchicalLogger getDebuggingLogger()
HierarchicalLogger, used to provide debugging output for the findings analysis.public final void setDebuggingLogger(HierarchicalLogger value)
HierarchicalLogger, used to provide debugging output for the findings analysis.