ScalarAtEndOfSegmentInequalityConstraint Constructor (Scalar, SegmentDefinition, InequalityBoundType, Double, Double, TimeBasedStateParameter, EndsOfSegment, 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 ScalarAtEndOfSegmentInequalityConstraint(
Scalar scalar,
SegmentDefinition segment,
InequalityBoundType boundType,
double boundValue,
double tolerance,
TimeBasedStateParameter parameter,
EndsOfSegment endOfSegment,
InequalityConstraintScaling scaling,
double weight
)
Public Sub New (
scalar As Scalar,
segment As SegmentDefinition,
boundType As InequalityBoundType,
boundValue As Double,
tolerance As Double,
parameter As TimeBasedStateParameter,
endOfSegment As EndsOfSegment,
scaling As InequalityConstraintScaling,
weight As Double
)
public:
ScalarAtEndOfSegmentInequalityConstraint(
Scalar^ scalar,
SegmentDefinition^ segment,
InequalityBoundType boundType,
double boundValue,
double tolerance,
TimeBasedStateParameter^ parameter,
EndsOfSegment endOfSegment,
InequalityConstraintScaling^ scaling,
double weight
)
new :
scalar : Scalar *
segment : SegmentDefinition *
boundType : InequalityBoundType *
boundValue : float *
tolerance : float *
parameter : TimeBasedStateParameter *
endOfSegment : EndsOfSegment *
scaling : InequalityConstraintScaling *
weight : float -> ScalarAtEndOfSegmentInequalityConstraint
Parameters
- scalar
- Type: AGI.Foundation.GeometryScalar
The Scalar to use to compare to the
boundValue. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The SegmentDefinition whose final state 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. - parameter
- Type: AGI.Foundation.GeometryTimeBasedStateParameter
The parameter to use to when computing the boundValue. - endOfSegment
- Type: AGI.Foundation.NumericalMethodsEndsOfSegment
Which state in the segment should be used to evaluate the scalar. - 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