MinimumMaximumAccessConstraintMinMaxThresholdEvaluatorGetConstraintValueFromFunctionValue Method |
Adjusts a raw function value to be above zero when the value is between the
MinimumValue
and
MaximumValue, 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.
Namespace:
AGI.Foundation.Access
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax protected double GetConstraintValueFromFunctionValue(
double functionValue
)
Protected Function GetConstraintValueFromFunctionValue (
functionValue As Double
) As Double
protected:
double GetConstraintValueFromFunctionValue(
double functionValue
)
member GetConstraintValueFromFunctionValue :
functionValue : float -> float
Parameters
- functionValue
- Type: SystemDouble
The raw function value.
Return Value
Type:
DoubleThe adjusted value.
See Also