Documentation ¶
Index ¶
- type PriorityQueue
- func (this *PriorityQueue) Cap() int
- func (this *PriorityQueue) Init()
- func (this *PriorityQueue) Len() int
- func (this *PriorityQueue) Less(i, j int) bool
- func (this *PriorityQueue) Pop() (result interface{})
- func (this *PriorityQueue) PopItem() QItem
- func (this *PriorityQueue) Push(x interface{})
- func (this *PriorityQueue) PushItem(item QItem)
- func (this *PriorityQueue) String() string
- func (this *PriorityQueue) Swap(i, j int)
- type QItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PriorityQueue ¶
func (*PriorityQueue) Cap ¶
func (this *PriorityQueue) Cap() int
func (*PriorityQueue) Init ¶
func (this *PriorityQueue) Init()
func (*PriorityQueue) Len ¶
func (this *PriorityQueue) Len() int
func (*PriorityQueue) Less ¶
func (this *PriorityQueue) Less(i, j int) bool
func (*PriorityQueue) Pop ¶
func (this *PriorityQueue) Pop() (result interface{})
func (*PriorityQueue) PopItem ¶
func (this *PriorityQueue) PopItem() QItem
func (*PriorityQueue) Push ¶
func (this *PriorityQueue) Push(x interface{})
func (*PriorityQueue) PushItem ¶
func (this *PriorityQueue) PushItem(item QItem)
func (*PriorityQueue) String ¶ added in v0.0.29
func (this *PriorityQueue) String() string
func (*PriorityQueue) Swap ¶
func (this *PriorityQueue) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.