code: def process_node_search(self, node, q, **kwargs):
          '''
          API: process_node_search(self, node, q, **kwargs)
          Description:
          Used by search() method. Process nodes along the search. Should not be
          called by user directly.
          Input:
              node: Name of the node being processed.
              q: Queue data structure.
              kwargs: Keyword arguments.
          Post:
              'priority' attribute of the node may get updated.
          '''
          if isinstance(q, PriorityQueue):
              self.get_node(node).set_attr('priority', q.get_priority(node)f process_node_search(self, node, q, **kwargs):
          '''
          API: process_node_search(self, node, q, **kwargs)
          Description:
          Used by search() method. Process nodes along the search. Should not be
          called by user directly.
          Input:
              node: Name of the node being processed.
              q: Queue data structure.
              kwargs: Keyword arguments.
          Post:
              'priority' attribute of the node may get updated.
          '''
          if isinstance(q, PriorityQueue):
              self.get_node(node).set_attr('priority', q.get_priority(node))
docs: API: process_node_search(self, node, q, **kwargs)
          Description:
          Used by search() method. Process nodes along the search. Should not be
          called by user directly.
          Input:
              node: Name of the node being processed.
              q: Queue data structure.
              kwargs: Keyword arguments.
          Post:
              'priority' attribute of the node may get updated.