public class JulianDateFunctionDetails extends Object
JulianDateFunctionExplorer
.Constructor and Description |
---|
JulianDateFunctionDetails()
Initializes a new instance.
|
JulianDateFunctionDetails(JulianDateSimpleFunction function)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
double |
getCurrentValue()
Gets the value of the function at the
CurrentDate (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. |
JulianDateFunctionExplorer |
getExplorer()
Gets the
JulianDateFunctionExplorer 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.
|
JulianDateSimpleFunction |
getFunction()
Gets the function to explore.
|
double |
getPreviousPreviousValue()
Gets the value of the function at the
PreviousPreviousDate (get ). |
boolean |
getPreviousPreviousValueIsValid()
Gets a value indicating whether
PreviousPreviousValue (get ) is valid. |
double |
getPreviousValue()
Gets the value of the function at the
PreviousDate (get ). |
boolean |
getPreviousValueIsValid()
Gets a value indicating whether
PreviousValue (get ) is valid. |
JulianDateFunctionThresholdCollection |
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(JulianDateSimpleFunction value)
Sets the function to explore.
|
public JulianDateFunctionDetails()
public JulianDateFunctionDetails(JulianDateSimpleFunction function)
function
- The function to explore.public final JulianDateFunctionExplorer getExplorer()
JulianDateFunctionExplorer
that is exploring this function.public final JulianDateSimpleFunction getFunction()
public final void setFunction(JulianDateSimpleFunction value)
@Nonnull public final JulianDateFunctionThresholdCollection 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
ExtremumDateTolerance
(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
ExtremumDateTolerance
(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()
CurrentDate
(get
).IllegalStateException
- The current value is not available because the function was not sampled for the
CurrentDate
(get
).public final boolean getCurrentValueIsValid()
public final double getPreviousValue()
PreviousDate
(get
).IllegalStateException
- The current value is not available because the function was not sampled for the
PreviousDate
(get
).public final boolean getPreviousValueIsValid()
public final double getPreviousPreviousValue()
PreviousPreviousDate
(get
).IllegalStateException
- The current value is not available because the function was not sampled for the
PreviousPreviousDate
(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.