CostFunctionSettings Constructor (CostFunctionGoal, Double, CostFunctionScaling) | 
 
            Initializes a new instance. 
            
 
    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,
	CostFunctionScaling scaling
)
Public Sub New ( 
	goal As CostFunctionGoal,
	tolerance As Double,
	scaling As CostFunctionScaling
)
public:
CostFunctionSettings(
	CostFunctionGoal goal, 
	double tolerance, 
	CostFunctionScaling^ scaling
)
new : 
        goal : CostFunctionGoal * 
        tolerance : float * 
        scaling : CostFunctionScaling -> CostFunctionSettingsParameters
- 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. - scaling
 - Type: AGI.Foundation.NumericalMethodsCostFunctionScaling
Sets the type of scaling to be used on this cost function. 
See Also