Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExpFilter ¶
type ExpFilter struct {
// contains filtered or unexported fields
}
func NewExpFilter ¶
func (*ExpFilter) UpdateBase ¶
type MovingAverage ¶
type MovingAverage struct {
// contains filtered or unexported fields
}
func NewMovingAverage ¶
func NewMovingAverage(windowSize int) *MovingAverage
func (*MovingAverage) AddSample ¶
func (m *MovingAverage) AddSample(sample float64)
func (*MovingAverage) GetAvg ¶
func (m *MovingAverage) GetAvg() float64
func (*MovingAverage) Reset ¶
func (m *MovingAverage) Reset()
func (*MovingAverage) Size ¶
func (m *MovingAverage) Size() int
Click to show internal directories.
Click to hide internal directories.