class_docstr: Binary Heap Class
class_docstr_tok: ["Binary","Heap","Class"]
code: def perc_down(self, i):
      while 2 * i < self.current_size:
          min_child = self.min_child(i)
          if self.heap[min_child] < self.heap[i]:
              # Swap min child with parent
              self.heap[min_child], self.heap[i] = (
                  self.heap[i],
                  self.heap[min_child],
              )
          i = min_child
  
file_path: keon-algos/algorithms/heap/binary_heap.py
imports: from abc import ABCMeta, abstractmethod
label_desc: Use image node_id 5 for calling the BinaryHeap obj's underlying member method code with example usage: obj.perc_down(i) without return types