Package no.digipost.util.bisect
package no.digipost.util.bisect
-
ClassDescriptionBisectSearch<T>Implementation of bisection search algorithm, which can be used to find objects having any quantifiable properties one would evaluate as approaching a certain ideal target value.Evaluator<T>An evaluator is used to quantify a suggested value as one of the values of
Evaluator.Result, and sort defines what an ideal target value is like.Evaluator.OutputStreamObjectWriter<T,O extends OutputStream> Suggester<T>A suggester function is used byBisectSearchto generate suggestions from distinct "points" of a range of integers.Suggestion<T>A suggested value for a bisection search.A disposing operation for a dismissed value of aSuggestion.