Versions in this module Expand all Collapse all v0 v0.0.8 Feb 14, 2024 Changes in this version + type DEPriorityQueue interface + ExtractMax func() (T, bool) + ExtractMin func() (T, bool) + Insert func(T) + PeekMax func() (T, bool) + PeekMin func() (T, bool) + Size func() int + type NaiveDEPriorityQueue struct + func NewNaiveDEPriorityQueue[T cmp.Ordered]() *NaiveDEPriorityQueue[T] + func (q *NaiveDEPriorityQueue[T]) ExtractMax() (T, bool) + func (q *NaiveDEPriorityQueue[T]) ExtractMin() (T, bool) + func (q *NaiveDEPriorityQueue[T]) Insert(i T) + func (q *NaiveDEPriorityQueue[T]) PeekMax() (T, bool) + func (q *NaiveDEPriorityQueue[T]) PeekMin() (T, bool) + func (q *NaiveDEPriorityQueue[T]) Size() int