Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OpFunc ¶
type OpFunc[T any] func(bl *PriorityQueue[T])
type PriorityQueue ¶
type PriorityQueue[T any] struct { // contains filtered or unexported fields }
func (*PriorityQueue[T]) Clear ¶
func (q *PriorityQueue[T]) Clear()
func (*PriorityQueue[T]) Empty ¶
func (q *PriorityQueue[T]) Empty() bool
func (*PriorityQueue[T]) Pop ¶
func (q *PriorityQueue[T]) Pop() T
func (*PriorityQueue[T]) Push ¶
func (q *PriorityQueue[T]) Push(elem T)
func (*PriorityQueue[T]) Size ¶
func (q *PriorityQueue[T]) Size() int
func (*PriorityQueue[T]) Top ¶
func (q *PriorityQueue[T]) Top() T
Click to show internal directories.
Click to hide internal directories.