ChangeStoppingConditionThresholdOperatorT Constructor (ComputeNewThresholdCallbackT, T) |
Initializes a new instance.
Namespace:
AGI.Foundation.SegmentPropagation
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ChangeStoppingConditionThresholdOperator(
ComputeNewThresholdCallback<T> callback,
T initialValue
)
Public Sub New (
callback As ComputeNewThresholdCallback(Of T),
initialValue As T
)
public:
ChangeStoppingConditionThresholdOperator(
ComputeNewThresholdCallback<T>^ callback,
T initialValue
)
new :
callback : ComputeNewThresholdCallback<'T> *
initialValue : 'T -> ChangeStoppingConditionThresholdOperator
Parameters
- callback
- Type: AGI.Foundation.SegmentPropagationComputeNewThresholdCallbackT
The callback that will produce a new threshold. - initialValue
- Type: T
The initial value to use for the threshold. This value will override
whatever the StoppingCondition was initially configured with.
See Also