Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PQ ¶
PQ is an exported priority queue of k-D tree nodes with a maximum queue size. PQ tracks a specified number points with the smallest given priorities -- attempting to add a point with a larger priority will result in an effective no-op.
func (*PQ[T]) Pop ¶
func (pq *PQ[T]) Pop() T
Pop removes the node with the highest priority from the queue.
Click to show internal directories.
Click to hide internal directories.