class_docstr: Base class for min-heaps.
  
  A MinHeap stores a collection of key-value pairs ordered by their values.
  It supports querying the minimum pair, inserting a new pair, decreasing the
  value in an existing pair and deleting the minimum pair.
class_docstr_tok: ["Base","class","for","min-heaps",".","A","MinHeap","stores","a","collection","of","key-value","pairs","ordered","by","their","values",".","It","supports","querying","the","minimum","pair",",","inserting","a","new","pair",",","decreasing","the","value","in","an","existing","pair","and","deleting","the","minimum","pair","."]
docstr: Returns the value associated with a key.
  
  Parameters
  ----------
  key : hashable object
      The key to be looked up.
  
  default : object
      Default value to return if the key is not present in the heap.
      Default value: None.
  
  Returns
  -------
  value : object.
      The value associated with the key.
docstr_tok: ["Returns","the","value","associated","with","a","key",".","Parameters","--","--","--","--","--","key",":","hashable","object","The","key","to","be","looked","up",".","default",":","object","Default","value","to","return","if","the","key","is","not","present","in","the","heap",".","Default","value",":","None",".","Returns","--","--","--","-","value",":","object",".","The","value","associated","with","the","key","."]
code: def get(self, key, default=None):
      """Returns the value associated with a key.
  
      Parameters
      ----------
      key : hashable object
          The key to be looked up.
  
      default : object
          Default value to return if the key is not present in the heap.
          Default value: None.
  
      Returns
      -------
      value : object.
          The value associated with the key.
      """
      raise NotImplementedError
  
imports: from heapq import heappop, heappush
  from itertools import count
  import networkx
label_desc: Use image node_id 4 for calling the MinHeap obj's underlying member method code with example usage: obj.get(key, default) without return types