package
0.0.0-20241208190318-80fc79a84806
Repository: https://github.com/grevych/gobox.git
Documentation: pkg.go.dev
# Functions
NewPriorityQueue creates a new priority queue.
WithCapacity sets the queue capacity.
WithMaxHeap sets the priority queue to use max heap.
WithMinHeap sets the priority queue to use min heap.
# Constants
DefaultPriorityQueueCapacity is the default priority queue capacity.
# Structs
PriorityQueue implements a priority queue with a heap.
PriorityQueueItem represents an item in queue.
# Type aliases
PriorityQueueOption is used to change priority default configuration.