Versions in this module Expand all Collapse all v1 v1.1.1 Jul 12, 2023 Changes in this version + type Priority struct + Order []Feature + Worst *Query + func NewPriority(order []Feature, limit int) *Priority + func (p *Priority) Bottom(n int) []*Query + func (p *Priority) Empty() bool + func (p *Priority) Heapify() + func (p *Priority) Len() int + func (p *Priority) Pop() (*Query, bool) + func (p *Priority) Push(pat *Query) + func (p *Priority) Top(n int) []*Query + func (p *Priority) Values() []*Query + type Queue struct + func NewQueue() *Queue + func (q *Queue) Empty() bool + func (q *Queue) Len() (size int) + func (q *Queue) Pop() (res *search.Query, ok bool) + func (q *Queue) Push(data *search.Query) + func (q *Queue) Values() []*search.Query + type Stack struct + func NewStack() *Stack + func (s *Stack) Empty() bool + func (s *Stack) Len() int + func (s *Stack) Pop() (res *search.Query, ok bool) + func (s *Stack) Push(data *search.Query) + func (s *Stack) Values() []*search.Query