Click or drag to resize

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)
Syntax
public bool CheckForExactCrossing(
	double rawValue,
	double threshold
)

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: Boolean
true if the rawValue is withing machine precision of the threshold.
See Also