ScalarDifferenceOfSegmentInequalityConstraint Constructor (Scalar, SegmentDefinition, InequalityBoundType, Double, Double, ScalarConstraintDifference, InequalityConstraintScaling, Double) |
Initializes a new instance.
Namespace:
AGI.Foundation.NumericalMethods
Assembly:
AGI.Foundation.SegmentPropagation (in AGI.Foundation.SegmentPropagation.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public ScalarDifferenceOfSegmentInequalityConstraint(
Scalar scalar,
SegmentDefinition segment,
InequalityBoundType boundType,
double boundValue,
double tolerance,
ScalarConstraintDifference constraintDifference,
InequalityConstraintScaling scaling,
double weight
)
Public Sub New (
scalar As Scalar,
segment As SegmentDefinition,
boundType As InequalityBoundType,
boundValue As Double,
tolerance As Double,
constraintDifference As ScalarConstraintDifference,
scaling As InequalityConstraintScaling,
weight As Double
)
public:
ScalarDifferenceOfSegmentInequalityConstraint(
Scalar^ scalar,
SegmentDefinition^ segment,
InequalityBoundType boundType,
double boundValue,
double tolerance,
ScalarConstraintDifference constraintDifference,
InequalityConstraintScaling^ scaling,
double weight
)
new :
scalar : Scalar *
segment : SegmentDefinition *
boundType : InequalityBoundType *
boundValue : float *
tolerance : float *
constraintDifference : ScalarConstraintDifference *
scaling : InequalityConstraintScaling *
weight : float -> ScalarDifferenceOfSegmentInequalityConstraint
Parameters
- scalar
- Type: AGI.Foundation.GeometryScalar
The Scalar to use to compare to the
boundValue. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The SegmentDefinition whose initial and final states will
be used to compute the Scalar. - boundType
- Type: AGI.Foundation.NumericalMethodsInequalityBoundType
Whether the boundValue represents a lower or an upper bound. - boundValue
- Type: SystemDouble
The lower or upper bound value that the function
will be driven to satisfy if it is not already satisfied. - tolerance
- Type: SystemDouble
How close the evaluated value must get to the
boundValue to consider this inequality constraint to be active and on the constraint manifold. - constraintDifference
- Type: AGI.Foundation.NumericalMethodsScalarConstraintDifference
The type of the difference to evaluate (first minus last, or last minus first...). - scaling
- Type: AGI.Foundation.NumericalMethodsInequalityConstraintScaling
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