Click or drag to resize

DelegateStoppingConditionConstraint Constructor (ConstraintSatisfiedCallback, WhenToCheckConstraint)

Initializes a new instance. The ConstraintSatisfactionCallback will handle all value computation and comparisons.

Namespace:  AGI.Foundation.StoppingConditions
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public DelegateStoppingConditionConstraint(
	ConstraintSatisfiedCallback constraintSatisfactionCallback,
	WhenToCheckConstraint whenToCheck
)

Parameters

constraintSatisfactionCallback
Type: AGI.Foundation.StoppingConditionsConstraintSatisfiedCallback
The delegate that will determine if this StoppingConditionConstraint is satisfied or not.
whenToCheck
Type: AGI.Foundation.StoppingConditionsWhenToCheckConstraint
Should this StoppingConditionConstraint be checked when the stop is detected or when the exact stop is found.
See Also