summaryrefslogtreecommitdiff
path: root/stabilizer/algorithm.go
diff options
context:
space:
mode:
authorWill Hawkins <[email protected]>2022-11-20 00:10:15 -0500
committerWill Hawkins <[email protected]>2022-11-20 02:39:09 -0500
commit5e0e8ba0be2c98b5f54e55fdbc1b928a4717e047 (patch)
treeb3816fde96d0a8077e1034d898d0fbd8b8e7ebbc /stabilizer/algorithm.go
parent10a52af363b0d52d78af0158cbaa404a1ce35b82 (diff)
[Feature] Make MathematicalSeries an interface
1. Make MathematicalSeries an interface so that there can be different ways for implementing it. 2. Introduce a CappedMathematicalSeries that stores a maximum of N recent (by time of insertion) values. 3. Add a method to the MathematicalSeries interface for calculating the Nth percentile of the values it contains.
Diffstat (limited to 'stabilizer/algorithm.go')
0 files changed, 0 insertions, 0 deletions