SegmentPropagatorCostFunction Constructor (CostFunctionGoal, Double) |
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
)
Protected Sub New (
goal As CostFunctionGoal,
tolerance As Double
)
protected:
SegmentPropagatorCostFunction(
CostFunctionGoal goal,
double tolerance
)
new :
goal : CostFunctionGoal *
tolerance : float -> 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.
See Also