BumpFn typedef

BumpFn = int Function(DecayingValue value, int delta)

BumpFn applies a delta onto an existing score, and returns the new score.

Non-trivial bump functions include exponential boosting, moving averages, ceilings, etc.

Implementation

typedef BumpFn = int Function(DecayingValue value, int delta);