SegmentPropagatorCostFunction Constructor (CostFunctionGoal, Double, CostFunctionScaling) |
Initializes a new instance. The weight defaults to 1.0.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxprotected SegmentPropagatorCostFunction(
CostFunctionGoal goal,
double tolerance,
CostFunctionScaling scaling
)
Protected Sub New (
goal As CostFunctionGoal,
tolerance As Double,
scaling As CostFunctionScaling
)
protected:
SegmentPropagatorCostFunction(
CostFunctionGoal goal,
double tolerance,
CostFunctionScaling^ scaling
)
new :
goal : CostFunctionGoal *
tolerance : float *
scaling : CostFunctionScaling -> SegmentPropagatorCostFunction
Parameters
- goal
- Type: AGI.Foundation.NumericalMethods.CostFunctionGoal
Whether the cost function is supposed to be minimized or maximized. - tolerance
- Type: System.Double
The cost function is considered to be converged if its value changes by less than
this value from one iteration to the next. - scaling
- Type: AGI.Foundation.NumericalMethods.CostFunctionScaling
The type of scaling to be used on this cost function.
See Also