Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ElementHeap ¶ added in v1.16.0
type ElementHeap []SizedElement
func (ElementHeap) Len ¶ added in v1.16.0
func (h ElementHeap) Len() int
func (ElementHeap) Less ¶ added in v1.16.0
func (h ElementHeap) Less(i, j int) bool
func (*ElementHeap) Pop ¶ added in v1.16.0
func (h *ElementHeap) Pop() interface{}
func (*ElementHeap) Push ¶ added in v1.16.0
func (h *ElementHeap) Push(x interface{})
func (ElementHeap) Swap ¶ added in v1.16.0
func (h ElementHeap) Swap(i, j int)
type SizedElement ¶ added in v1.16.0
type SizedElement struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.