Click or drag to resize

ThresholdStoppingConditionConstraint Constructor (Double, Double, WhenToCheckConstraint, InequalityCondition, Boolean)

Initializes a new instance.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
protected ThresholdStoppingConditionConstraint(
	double threshold,
	double tolerance,
	WhenToCheckConstraint whenToCheck,
	InequalityCondition inequality,
	bool useAbsoluteValue
)

Parameters

threshold
Type: SystemDouble
The threshold to compare with the value that gets evaluated.
tolerance
Type: SystemDouble
The tolerance to use when comparing the threshold with the evaluated value.
whenToCheck
Type: AGI.Foundation.StoppingConditionsWhenToCheckConstraint
Specifies whether this condition should be checked when a stop is detected or found.
inequality
Type: AGI.Foundation.StoppingConditionsInequalityCondition
Specifies how the value gets evaluated by this constraint gets compared to the threshold.
useAbsoluteValue
Type: SystemBoolean
Specifies if the absolute value of the computed value should be used when compared to the threshold or not.
See Also