Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Items ¶
type Items struct {
// contains filtered or unexported fields
}
Items keeps track of a set of Items (with a Value and Weight), up to a fixed capacity, only retaining the highest weights (>= minMatch).
func NewItems ¶
NewItems returns a structure which tracks the top-weighted Items, subject to minMatch and a fixed capacity.
Click to show internal directories.
Click to hide internal directories.