DelegateStoppingCondition Constructor (ConditionCheckCallback, Double, StopType) |
Initializes a new instance.
Namespace:
AGI.Foundation.StoppingConditions
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic DelegateStoppingCondition(
ConditionCheckCallback callback,
double valueTolerance,
StopType type
)
Public Sub New (
callback As ConditionCheckCallback,
valueTolerance As Double,
type As StopType
)
public:
DelegateStoppingCondition(
ConditionCheckCallback^ callback,
double valueTolerance,
StopType type
)
new :
callback : ConditionCheckCallback *
valueTolerance : float *
type : StopType -> DelegateStoppingConditionParameters
- callback
- Type: AGI.Foundation.StoppingConditionsConditionCheckCallback
The ConditionCheckCallback that will provide values to sample. - valueTolerance
- Type: SystemDouble
The tolerance between the value returned by Callback and the
Threshold. - type
- Type: AGI.Foundation.StoppingConditionsStopType
Specifies what type of threshold or extrema this StoppingCondition is attempting to stop on.
See Also