Bay-Delta SELFE Tools

priority_queue Module

class priority_queue.priorityDictionary

Bases: dict

Methods

setdefault(key, val)

Reimplement setdefault to call our customized __setitem__.

smallest()

Find smallest item after removing deleted items from heap.