SegmentPropagatorConstraint Constructor (ValueDefinition<Double>, Double, SolverConstraintScaling, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.Models (in AGI.Foundation.Models.dll) Version: 25.1.421.0 (25.1.421.0)
Syntaxprotected 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.Infrastructure.ValueDefinition<Double>
The desired value that the SolvableMultivariableFunction
will be driven to.
- tolerance
- Type: System.Double
How close the evaluated value must get to the desiredValue
to consider this constraint satisfied.
- scaling
- Type: AGI.Foundation.NumericalMethods.SolverConstraintScaling
The type of scaling to be used on this constraint. - weight
- Type: System.Double
The weight of this constraint compared to the cost function
and other constraints.
See Also