Click or drag to resize

DurationStoppingConditionConstraint Constructor (Duration, Duration, WhenToCheckConstraint, InequalityCondition, Boolean)

Initializes a new instance.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public DurationStoppingConditionConstraint(
	Duration threshold,
	Duration tolerance,
	WhenToCheckConstraint whenToCheck,
	InequalityCondition inequality,
	bool useAbsoluteValue
)

Parameters

threshold
Type: AGI.Foundation.TimeDuration
The threshold to compare with the computed Duration.
tolerance
Type: AGI.Foundation.TimeDuration
The tolerance to use when comparing the threshold with the computed Duration.
whenToCheck
Type: AGI.Foundation.StoppingConditionsWhenToCheckConstraint
Should this constraint be checked when the stop is detected or when the exact stop is found.
inequality
Type: AGI.Foundation.StoppingConditionsInequalityCondition
How to compare the computed value with the threshold.
useAbsoluteValue
Type: SystemBoolean
Should the absolute value of the threshold from the epoch be used.
See Also