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