DelegateBasedConstraint Constructor (DelegateBasedConstraintCallback, SegmentDefinition, Double, Double, SolverConstraintScaling) |
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 DelegateBasedConstraint(
DelegateBasedConstraintCallback callback,
SegmentDefinition segment,
double desiredValue,
double tolerance,
SolverConstraintScaling scaling
)
Public Sub New (
callback As DelegateBasedConstraintCallback,
segment As SegmentDefinition,
desiredValue As Double,
tolerance As Double,
scaling As SolverConstraintScaling
)
public:
DelegateBasedConstraint(
DelegateBasedConstraintCallback^ callback,
SegmentDefinition^ segment,
double desiredValue,
double tolerance,
SolverConstraintScaling^ scaling
)
new :
callback : DelegateBasedConstraintCallback *
segment : SegmentDefinition *
desiredValue : float *
tolerance : float *
scaling : SolverConstraintScaling -> DelegateBasedConstraint
Parameters
- callback
- Type: AGI.Foundation.NumericalMethodsDelegateBasedConstraintCallback
The delegate that will compute a value to compare against the
DesiredValue. - segment
- Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The segment that this constraint will act on. - desiredValue
- Type: SystemDouble
The desired value that the function
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.
See Also