parameters: (self, i, ordered_edge)
return_statement: return None
docstring: Return the i-th component with respect to ordered_edge = (a, b)
docstring_summary: Return the i-th component with respect to ordered_edge = (a, b)
docstring_tokens: Return the i - th component with respect to ordered_edge = ( a b )
function: def component(self, i, ordered_edge):
          """ Return the i-th component with respect to ordered_edge = (a, b) """
          a, b = ordered_edge
          if (i, a, b) in self._component_data:
              return self._component_data[(i, a, b)]
  
          vi = self.vertex(i, ordered_edge)
          vj = self.vertex(i + 1, ordered_edge)
  
          for t in self.components:
              if vi in t and vj in t:
                  self._component_data[(i, a, b)] = t
                  return t
          return None
function_tokens: def component ( self , i , ordered_edge ) : a , b = ordered_edge if ( i , a , b ) in self . _component_data : return self . _component_data [ ( i , a , b ) ] vi = self . vertex ( i , ordered_edge ) vj = self . vertex ( i + 1 , ordered_edge ) for t in self . components : if vi in t and vj in t : self . _component_data [ ( i , a , b ) ] = t return t return None