docstr: The ego node.
docstr_tok: ["The","ego","node","."]
code: def one_hop(self, Gx, Gx_node, core_x, pred, succ):
      """
      The ego node.
      """
      pred_dates = self.get_pred_dates(Gx, Gx_node, core_x, pred)
      succ_dates = self.get_succ_dates(Gx, Gx_node, core_x, succ)
      return self.test_one(pred_dates, succ_dates) and self.test_two(
          pred_dates, succ_dates
      )
  
imports: import networkx
  from .isomorphvf2 import DiGraphMatcher, GraphMatcher
label_desc: Use image node_id 4 for calling the TimeRespectingDiGraphMatcher obj's underlying member method code with example usage: obj.one_hop(Gx, Gx_node, core_x, pred, succ) and returns: unknown