Versions in this module Expand all Collapse all v0 v0.2.16 Jan 7, 2013 v0.2.15 Oct 25, 2012 Changes in this version + type Item struct + Index int + Priority int64 + Value interface{} + type PriorityQueue []*Item + func New(capacity int) PriorityQueue + func (pq *PriorityQueue) PeekAndShift(max int64) (*Item, int64) + func (pq *PriorityQueue) Pop() interface{} + func (pq *PriorityQueue) Push(x interface{}) + func (pq PriorityQueue) Len() int + func (pq PriorityQueue) Less(i, j int) bool + func (pq PriorityQueue) Swap(i, j int)