- <init>
- bucketScore
Get score of a certain bucket. At own risk.
- clear
Clear all counts, reset reference and update time.
- score
Get a weighted sum score, weight for bucket i: w(i) = factor^i.
- setBucket
Set the value for a buckt.
- sliceScore
Get score from start on, until before end, with factor.
- update
Update without adding, also updates reference and update time. Detects time
running backwards.
- add
Update and add (updates reference and update time).
- bucketDuration
Get the duration of a bucket in milliseconds.
- lastAccess
Get the reference time for the transition from the first to the second bucket.
- leadingScore
Get score of first end buckets, with factor.
- numberOfBuckets
Get the number of buckets.