public class DurationFunctionThresholdDetails extends Object
DurationFunctionExplorer
.Constructor and Description |
---|
DurationFunctionThresholdDetails(double value)
Initializes a new instance.
|
Modifier and Type | Method and Description |
---|---|
BehaviorWhenOnThreshold |
getBehaviorWhenOnThreshold()
Gets the behavior when a function value is found to exactly equal the threshold.
|
ConvergenceCriteria |
getConvergenceCriteria()
Gets the criteria used for convergence when searching for a precise crossing
of this threshold.
|
ThresholdCrossingSolutionType |
getSolutionType()
Gets the type of solution required when searching for a precise crossing
of this threshold.
|
double |
getValue()
Gets the threshold value of interest.
|
double |
getValueTolerance()
Gets the tolerance with which to converge on value when finding
a precise crossing of this threshold.
|
void |
setBehaviorWhenOnThreshold(BehaviorWhenOnThreshold value)
Sets the behavior when a function value is found to exactly equal the threshold.
|
void |
setConvergenceCriteria(ConvergenceCriteria value)
Sets the criteria used for convergence when searching for a precise crossing
of this threshold.
|
void |
setSolutionType(ThresholdCrossingSolutionType value)
Sets the type of solution required when searching for a precise crossing
of this threshold.
|
void |
setValue(double value)
Sets the threshold value of interest.
|
void |
setValueTolerance(double value)
Sets the tolerance with which to converge on value when finding
a precise crossing of this threshold.
|
public DurationFunctionThresholdDetails(double value)
value
- The threshold value of interest.public final double getValue()
public final void setValue(double value)
public final double getValueTolerance()
ConvergenceCriteria
(get
/ set
) is set to
ConvergenceCriteria.VARIABLE
.public final void setValueTolerance(double value)
ConvergenceCriteria
(get
/ set
) is set to
ConvergenceCriteria.VARIABLE
.@Nonnull public final ConvergenceCriteria getConvergenceCriteria()
ConvergenceCriteria.VARIABLE
, the
CrossingDurationTolerance
(get
/ set
) is used. When set to ConvergenceCriteria.FUNCTION
,
the ValueTolerance
(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 setConvergenceCriteria(@Nonnull ConvergenceCriteria value)
ConvergenceCriteria.VARIABLE
, the
CrossingDurationTolerance
(get
/ set
) is used. When set to ConvergenceCriteria.FUNCTION
,
the ValueTolerance
(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
.@Nonnull public final ThresholdCrossingSolutionType getSolutionType()
ThresholdCrossingSolutionType.ON_OR_ABOVE_THRESHOLD
.public final void setSolutionType(@Nonnull ThresholdCrossingSolutionType value)
ThresholdCrossingSolutionType.ON_OR_ABOVE_THRESHOLD
.@Nonnull public final BehaviorWhenOnThreshold getBehaviorWhenOnThreshold()
BehaviorWhenOnThreshold.TREAT_AS_ABOVE
.public final void setBehaviorWhenOnThreshold(@Nonnull BehaviorWhenOnThreshold value)
BehaviorWhenOnThreshold.TREAT_AS_ABOVE
.