Click or drag to resize

ExtremeValueOfSegmentConstraint Constructor (Scalar, SegmentDefinition, Double, Double, TimeBasedStateParameter, ExtremumType, SolverConstraintScaling, Double)

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 ExtremeValueOfSegmentConstraint(
	Scalar scalar,
	SegmentDefinition segment,
	double desiredValue,
	double tolerance,
	TimeBasedStateParameter parameter,
	ExtremumType extremumType,
	SolverConstraintScaling scaling,
	double weight
)

Parameters

scalar
Type: AGI.Foundation.GeometryScalar
The Scalar to use to compare to the desiredValue.
segment
Type: AGI.Foundation.SegmentPropagationSegmentDefinition
The SegmentDefinition whose states will be used to compute the Scalar.
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.
parameter
Type: AGI.Foundation.GeometryTimeBasedStateParameter
The parameter to use to when computing the desiredValue.
extremumType
Type: AGI.Foundation.NumericalMethodsExtremumType
The type of the extremum (minimum, maximum).
scaling
Type: AGI.Foundation.NumericalMethodsSolverConstraintScaling
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