DelegateStoppingConditionConstraint Constructor (ConstraintSatisfiedCallback, WhenToCheckConstraint) |
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public DelegateStoppingConditionConstraint(
ConstraintSatisfiedCallback constraintSatisfactionCallback,
WhenToCheckConstraint whenToCheck
)
Public Sub New (
constraintSatisfactionCallback As ConstraintSatisfiedCallback,
whenToCheck As WhenToCheckConstraint
)
public:
DelegateStoppingConditionConstraint(
ConstraintSatisfiedCallback^ constraintSatisfactionCallback,
WhenToCheckConstraint whenToCheck
)
new :
constraintSatisfactionCallback : ConstraintSatisfiedCallback *
whenToCheck : WhenToCheckConstraint -> DelegateStoppingConditionConstraint
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