Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Elem ¶
type Elem struct { Priority int64 Value interface{} // contains filtered or unexported fields }
type PriorityQueue ¶
type PriorityQueue interface { Len() int Push(priority int64, value interface{}) Pop() (*Elem, bool) // Pops the LOWEST priority }
func New ¶
func New() PriorityQueue
Click to show internal directories.
Click to hide internal directories.