specless.automaton.utils.MaxHeap
- class specless.automaton.utils.MaxHeap[source]
Bases:
MinHeap
A nice class-based interface to create a max heap, using the heapq library.
Methods
Pops the largest element from the max heap.
Pushes an element onto the max heap.