| 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: 25.1.421.0 (25.1.421.0)
 Syntax
Syntaxpublic DurationStoppingConditionConstraint(
	Duration threshold,
	Duration tolerance,
	WhenToCheckConstraint whenToCheck,
	InequalityCondition inequality,
	bool useAbsoluteValue
)
Public Sub New ( 
	threshold As Duration,
	tolerance As Duration,
	whenToCheck As WhenToCheckConstraint,
	inequality As InequalityCondition,
	useAbsoluteValue As Boolean
)
public:
DurationStoppingConditionConstraint(
	Duration threshold, 
	Duration tolerance, 
	WhenToCheckConstraint whenToCheck, 
	InequalityCondition inequality, 
	bool useAbsoluteValue
)
new : 
        threshold : Duration * 
        tolerance : Duration * 
        whenToCheck : WhenToCheckConstraint * 
        inequality : InequalityCondition * 
        useAbsoluteValue : bool -> DurationStoppingConditionConstraintParameters
- 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
See Also