@FunctionalInterface public static interface DoubleSampleSuggestionCallback.Function
Modifier and Type | Method and Description |
---|---|
double |
invoke(double intervalStart,
double intervalStop,
double lastSample)
A callback that is invoked to determine the next Variable at which
DoubleFunctionExplorer
samples a function. |
double invoke(double intervalStart, double intervalStop, double lastSample)
DoubleFunctionExplorer
samples a function.intervalStart
- The beginning of the overall interval being evaluated.intervalStop
- The end of the overall interval being evaluated.lastSample
- The last Variable that was sampled.