Lines Matching refs:heap
37 heap = None
47 heap = ph_meld(heap, n1)
48 return heap
52 def ph_delete(heap, node): argument
53 if node is heap:
54 child = heap.ph_child
66 return heap
91 return heap
97 self.heap = None
100 return self.heap
107 self.heap = ph_meld(v, self.heap)
113 v = self.heap
114 self.heap = ph_pairing(self.heap.ph_child)
118 self.heap = ph_delete(self.heap, v)