Click or drag to resize

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.3.420.0 (24.3.420.0)
Syntax
public DelegateBasedConstraint(
	DelegateBasedConstraintCallback callback,
	SegmentDefinition segment,
	double desiredValue,
	double tolerance,
	SolverConstraintScaling scaling
)

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