R5Continuous

class R5Continuous(metric: ContinuousMetric, k: Int = 19, period: Int = 500) : R5SteadyStateDetector

A steady state detector for continuous metrics, using R5SteadyStateDetector

Parameters

k

the number of crossings to wait for

period

the number of samples to look at before resetting the window

Constructors

Link copied to clipboard
constructor(metric: ContinuousMetric, k: Int = 19, period: Int = 500)

Functions

Link copied to clipboard
override fun isSteady(currentTime: Instant): Boolean

Takes a time and returns true if the metric is steady.