class_docstr: ExecutionPlan, collection of operations.
docstr: Compare execution plan operation tree
  
  Return: True if operation trees are equal, False otherwise
docstr_tok: ["Compare","execution","plan","operation","tree","Return",":","True","if","operation","trees","are","equal",",","False","otherwise"]
code: def _compare_operations(self, root_a, root_b):
      """
      Compare execution plan operation tree
  
      Return: True if operation trees are equal, False otherwise
      """
  
      # compare current root
      if root_a != root_b:
          return False
  
      # make sure root have the same number of children
      if root_a.child_count() != root_b.child_count():
          return False
  
      # recursively compare children
      for i in range(root_a.child_count()):
          if not self._compare_operations(
              root_a.children[i], root_b.children[i]
          ):
              return False
  
      return True
  
file_path: catboost/contrib/python/redis/py3/redis/commands/graph/execution_plan.py
imports: import re
label_desc: Use image node_id 2 for calling the ExecutionPlan obj's underlying member method code with example usage: obj._compare_operations(root_a, root_b) and returns: True, False, False, False