Priority Heap

This is the Dragon channel priority heap interface for Python

Classes

class PriorityHeap

Bases: object

Cython wrapper for the Dragon Channel Priority Heap

static attach(py_ptr)
static create(base, capacity, nvals, py_ptr)
destroy()
detach()
extract(vals, priority)
insert(vals, urgent=False)

Takes a pointer to the thing to store on the priority heap and whether its urgent

static size(capacity, nvals_per_key)