StoppingConditionEvaluatorCheckForExactCrossing Method |
Checks to see if the state is at the exact threshold to within machine tolerance.
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public bool CheckForExactCrossing(
double rawValue,
double threshold
)
Public Function CheckForExactCrossing (
rawValue As Double,
threshold As Double
) As Boolean
public:
bool CheckForExactCrossing(
double rawValue,
double threshold
)
member CheckForExactCrossing :
rawValue : float *
threshold : float -> bool
Parameters
- rawValue
- Type: SystemDouble
The value that the StoppingConditionEvaluator computed. - threshold
- Type: SystemDouble
The threshold that the state should be at.
Return Value
Type:
Boolean if the
rawValue is withing machine
precision of the
threshold.
See Also