CostFunctionSettings Constructor (CostFunctionGoal, Double) |
Initializes a new instance with no scaling.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic CostFunctionSettings(
CostFunctionGoal goal,
double tolerance
)
Public Sub New (
goal As CostFunctionGoal,
tolerance As Double
)
public:
CostFunctionSettings(
CostFunctionGoal goal,
double tolerance
)
new :
goal : CostFunctionGoal *
tolerance : float -> CostFunctionSettings
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