DelegateBasedInequalityConstraint Constructor (DelegateBasedInequalityConstraintCallback, SegmentDefinition, InequalityBoundType, Double, 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 DelegateBasedInequalityConstraint(
DelegateBasedInequalityConstraintCallback callback,
SegmentDefinition segment,
InequalityBoundType boundType,
double boundValue,
double tolerance
)
Public Sub New (
callback As DelegateBasedInequalityConstraintCallback,
segment As SegmentDefinition,
boundType As InequalityBoundType,
boundValue As Double,
tolerance As Double
)
public:
DelegateBasedInequalityConstraint(
DelegateBasedInequalityConstraintCallback^ callback,
SegmentDefinition^ segment,
InequalityBoundType boundType,
double boundValue,
double tolerance
)
new :
callback : DelegateBasedInequalityConstraintCallback *
segment : SegmentDefinition *
boundType : InequalityBoundType *
boundValue : float *
tolerance : float -> DelegateBasedInequalityConstraint
Parameters
- callback
- Type: AGI.Foundation.NumericalMethodsDelegateBasedInequalityConstraintCallback
The delegate that will compute a value to compare against the
BoundValue. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment that this constraint will act on. - 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.
See Also