CombinedCostFunction Constructor (CostFunctionGoal, Double, CostFunctionScaling, Double, IListSegmentPropagatorCostFunction) | 
 
            Initializes a new instance.
            
 
    Namespace: 
   AGI.Foundation.NumericalMethods
    Assembly:
   AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxpublic CombinedCostFunction(
	CostFunctionGoal goal,
	double tolerance,
	CostFunctionScaling scaling,
	double weight,
	IList<SegmentPropagatorCostFunction> costFunctions
)
Public Sub New ( 
	goal As CostFunctionGoal,
	tolerance As Double,
	scaling As CostFunctionScaling,
	weight As Double,
	costFunctions As IList(Of SegmentPropagatorCostFunction)
)
public:
CombinedCostFunction(
	CostFunctionGoal goal, 
	double tolerance, 
	CostFunctionScaling^ scaling, 
	double weight, 
	IList<SegmentPropagatorCostFunction^>^ costFunctions
)
new : 
        goal : CostFunctionGoal * 
        tolerance : float * 
        scaling : CostFunctionScaling * 
        weight : float * 
        costFunctions : IList<SegmentPropagatorCostFunction> -> CombinedCostFunctionParameters
- 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. - weight
 - Type: SystemDouble
A value multiplied by the cost function to prioritize or de-prioritize it
            with respect to the constraint errors of any active constraints. This is the weight of the
            combined cost function and is applied after the weights of its constituents are applied. - costFunctions
 - Type: System.Collections.GenericIListSegmentPropagatorCostFunction
A list of cost functions whose weights,
            scaling factors, and evaluation results will be used to form
            the evaluation results of this cost function. All of their other properties will be ignored.
            This list must contain at least one element. 
Exceptions
See Also