@FunctionalInterface public static interface DelegateBasedCostFunctionCallback.Function
Modifier and Type | Method and Description |
---|---|
double |
invoke(SegmentResults results)
The
delegate type used by the DelegateBasedCostFunction . |
double invoke(SegmentResults results)
delegate
type used by the DelegateBasedCostFunction
. This must extract the value
from the results to minimize or maximize in a TargetedSegmentListParameterOptimizer
.results
- The results
of the segment specified in
the DelegateBasedCostFunction
.