Click or drag to resize

SegmentPropagatorCostFunction Constructor (CostFunctionGoal, Double)

Initializes a new instance. The weight defaults to 1.0. Scaling defaults to NoScalingOnCostFunction.

Namespace:  AGI.Foundation.NumericalMethods
Assembly:  AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
protected SegmentPropagatorCostFunction(
	CostFunctionGoal goal,
	double tolerance
)

Parameters

goal
Type: AGI.Foundation.NumericalMethodsCostFunctionGoal
Whether the cost function is supposed to be minimized or maximized.
tolerance
Type: SystemDouble
The cost function is considered to be converged if its value changes by less than this value from one iteration to the next.
See Also