@FunctionalInterface public static interface DelegateBasedConstraintCallback.Function
Modifier and Type | Method and Description |
---|---|
double |
invoke(SegmentResults results)
The
delegate type used by the DelegateBasedConstraint . |
double invoke(SegmentResults results)
delegate
type used by the DelegateBasedConstraint
. This must extract the value
from the results to compare to the DesiredValue
(get
/ set
) of the
constraint
in a TargetedSegmentListDifferentialCorrector
.results
- The results
of the segment specified in
the DelegateBasedConstraint
.constraints
DesiredValue
(get
/ set
).