protected abstract static class MinimumMaximumAccessConstraint.MinMaxThresholdEvaluator extends AccessConstraintEvaluator
MinimumMaximumAccessConstraint.DefaultTolerance| Modifier | Constructor and Description |
|---|---|
protected |
MinMaxThresholdEvaluator(EvaluatorGroup group,
MinimumMaximumAccessConstraint constraint,
boolean isMinimum)
Initializes a new instance based on a given minimum or maximum threshold value.
|
protected |
MinMaxThresholdEvaluator(MinimumMaximumAccessConstraint.MinMaxThresholdEvaluator existingInstance,
CopyContext context)
Initializes a new instance as a copy of an existing instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getConstraintValueFromFunctionValue(double functionValue)
|
getCachingWrapper, getDebuggingLogger, getQueryEvaluator, getTolerance, isSatisfied, setDebuggingLogger, setToleranceevaluate, evaluate, evaluate, evaluate, evaluate, evaluate, getAvailabilityIntervals, getAvailabilityIntervals, getGroup, getIsTimeVarying, isAvailable, updateEvaluatorReferencesclone, dispose, dispose, getIsThreadSafe, getNextSampleSuggestionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIsThreadSafecloneclose, disposeprotected MinMaxThresholdEvaluator(@Nonnull EvaluatorGroup group, @Nonnull MinimumMaximumAccessConstraint constraint, boolean isMinimum)
group - The group that contains this evaluator.constraint - The constraint which determines the threshold information.isMinimum - Flag to indicate whether to evaluate the minimum or maximum threshold.ArgumentNullException - Thrown when group or constraint is null.protected MinMaxThresholdEvaluator(@Nonnull MinimumMaximumAccessConstraint.MinMaxThresholdEvaluator existingInstance, @Nonnull CopyContext context)
See ICloneWithContext.clone(CopyContext) for more information about how to implement this constructor
in a derived class.
existingInstance - The existing instance to copy.context - A CopyContext that controls the depth of the copy.ArgumentNullException - Thrown when existingInstance or context is null.protected final double getConstraintValueFromFunctionValue(double functionValue)
MinimumValue (get / set)
and MaximumValue (get / set), and less than zero when it is outside that range. The evaluator
of any constraint that derives from MinimumMaximumAccessConstraint should call this
method in its Evaluate method with the raw function value and return the value that this method
returns.functionValue - The raw function value.