campy.datastructures.pqueue module

Min-heap.

class campy.datastructures.pqueue.PriorityQueue(initializer=None, priorities_first=True)[source]

Bases: object

add(value, priority)[source]
back()[source]
change_priority(value, new_priority)[source]
clear()[source]
dequeue()
enqueue(value, priority)
front()[source]
peek()[source]
peek_priority()[source]
peek_value()[source]
remove()[source]