Package | Description |
---|---|
agi.foundation.numericalmethods |
Contains general numerical algorithms.
|
Modifier and Type | Method and Description |
---|---|
DelegateBasedConstraintCallback |
DelegateBasedConstraint.getCallback()
Gets the
delegate that computes the value from the SegmentResults
to compare against the DesiredValue (get / set ). |
static DelegateBasedConstraintCallback |
DelegateBasedConstraintCallback.of(DelegateBasedConstraintCallback.Function f)
Create a delegate for the given interface.
|
static DelegateBasedConstraintCallback |
DelegateBasedConstraintCallback.of(DelegateBasedConstraintCallback.Function f,
Class<?> targetClass,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
static DelegateBasedConstraintCallback |
DelegateBasedConstraintCallback.of(DelegateBasedConstraintCallback.Function f,
Object targetObject,
String methodName,
Class<?>... methodParameterClasses)
Create a delegate for the given interface.
|
Modifier and Type | Method and Description |
---|---|
void |
DelegateBasedConstraint.setCallback(DelegateBasedConstraintCallback value)
Sets the
delegate that computes the value from the SegmentResults
to compare against the DesiredValue (get / set ). |
Constructor and Description |
---|
DelegateBasedConstraint(DelegateBasedConstraintCallback callback,
SegmentDefinition segment,
double desiredValue,
double tolerance)
Initializes a new instance.
|
DelegateBasedConstraint(DelegateBasedConstraintCallback callback,
SegmentDefinition segment,
double desiredValue,
double tolerance,
SolverConstraintScaling scaling)
Initializes a new instance.
|
DelegateBasedConstraint(DelegateBasedConstraintCallback callback,
SegmentDefinition segment,
double desiredValue,
double tolerance,
SolverConstraintScaling scaling,
double weight)
Initializes a new instance.
|