Click or drag to resize

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
)

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