StoppingConditionEvaluator.CheckForExactCrossing 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.Double
The value that the StoppingConditionEvaluator computed. - threshold
- Type: System.Double
The threshold that the state should be at.
Return Value
Type:
Booleantrue if the
rawValue is withing machine
precision of the
threshold.
See Also