Click or drag to resize

ScalarAtEndOfSegmentCostFunction Constructor (ScalarAtEndOfSegmentCostFunction, CopyContext)

Initializes a new instance as a copy of an existing instance.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
protected ScalarAtEndOfSegmentCostFunction(
	ScalarAtEndOfSegmentCostFunction existingInstance,
	CopyContext context
)

Parameters

existingInstance
Type: AGI.Foundation.NumericalMethods.ScalarAtEndOfSegmentCostFunction
The existing instance to copy.
context
Type: AGI.Foundation.Infrastructure.CopyContext
A CopyContext that controls the depth of the copy.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when existingInstance or context is null.
Remarks
See Clone(CopyContext) for more information about how to implement this constructor in a derived class.
See Also