Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Comparator ¶
type MaxPriorityQueue ¶
type MaxPriorityQueue struct {
// contains filtered or unexported fields
}
func NewEmptyMaxPriorityQueue ¶
func NewEmptyMaxPriorityQueue() MaxPriorityQueue
func NewMaxPriorityQueue ¶
func NewMaxPriorityQueue(k Key) MaxPriorityQueue
func (*MaxPriorityQueue) DelMax ¶
func (pq *MaxPriorityQueue) DelMax() (Key, error)
func (*MaxPriorityQueue) Insert ¶
func (pq *MaxPriorityQueue) Insert(i Key)
func (*MaxPriorityQueue) IsEmpty ¶
func (pq *MaxPriorityQueue) IsEmpty() bool
func (*MaxPriorityQueue) Max ¶
func (pq *MaxPriorityQueue) Max() Key
func (*MaxPriorityQueue) Size ¶
func (pq *MaxPriorityQueue) Size() int
Click to show internal directories.
Click to hide internal directories.