Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriorityQueue ¶
type PriorityQueue struct {
// contains filtered or unexported fields
}
func NewComparablePriorityQueue ¶
func NewComparablePriorityQueue(max bool, items ...types.Comparable) *PriorityQueue
func NewInt64PriorityQueue ¶
func NewInt64PriorityQueue(max bool, items ...int64) *PriorityQueue
func NewPriorityQueue ¶
func NewPriorityQueue(h heap.Interface) *PriorityQueue
func NewStringPriorityQueue ¶
func NewStringPriorityQueue(max bool, items ...string) *PriorityQueue
func (*PriorityQueue) Pop ¶
func (q *PriorityQueue) Pop() interface{}
func (*PriorityQueue) Push ¶
func (q *PriorityQueue) Push(x interface{})
Click to show internal directories.
Click to hide internal directories.