SegmentPropagatorConstraint Constructor (ValueDefinitionDouble, Double, SolverConstraintScaling, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax protected SegmentPropagatorConstraint(
ValueDefinition<double> desiredValue,
double tolerance,
SolverConstraintScaling scaling,
double weight
)
Protected Sub New (
desiredValue As ValueDefinition(Of Double),
tolerance As Double,
scaling As SolverConstraintScaling,
weight As Double
)
protected:
SegmentPropagatorConstraint(
ValueDefinition<double>^ desiredValue,
double tolerance,
SolverConstraintScaling^ scaling,
double weight
)
new :
desiredValue : ValueDefinition<float> *
tolerance : float *
scaling : SolverConstraintScaling *
weight : float -> SegmentPropagatorConstraint
Parameters
- desiredValue
- Type: AGI.Foundation.InfrastructureValueDefinitionDouble
The desired value that the SolvableMultivariableFunction
will be driven to.
- tolerance
- Type: SystemDouble
How close the evaluated value must get to the desiredValue
to consider this constraint satisfied.
- scaling
- Type: AGI.Foundation.NumericalMethodsSolverConstraintScaling
The type of scaling to be used on this constraint. - weight
- Type: SystemDouble
The weight of this constraint compared to the cost function
and other constraints.
See Also