Documentation ¶
Overview ¶
Package minmax provides a library of data structures/algorithms for calculating the online minimum or maximum from a stream of data.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Max ¶
type Max struct {
// contains filtered or unexported fields
}
Max keeps track of the maximum of a stream.
func NewGlobalMax ¶
func NewGlobalMax() *Max
NewGlobalMax instantiates a global Max struct. This is equivalent to calling NewMax(0).
type Min ¶
type Min struct {
// contains filtered or unexported fields
}
Min keeps track of the minimum of a stream.
func NewGlobalMin ¶
func NewGlobalMin() *Min
NewGlobalMin instantiates a global Min struct. This is equivalent to calling NewMin(0).
Click to show internal directories.
Click to hide internal directories.