class_docstr: A binary heap.
class_docstr_tok: ["A","binary","heap","."]
docstr: Initialize a binary heap.
docstr_tok: ["Initialize","a","binary","heap","."]
code: def __init__(self):
      """Initialize a binary heap."""
      super().__init__()
      self._heap = []
      self._count = count()
  
imports: from heapq import heappop, heappush
  from itertools import count
  import networkx
label_desc: Use image node_id 1 to create a new BinaryHeap object from inherited base classes: MinHeap with example: obj = BinaryHeap()