code: def paths(self):
          
          paths = traversal.closed_paths(self.entities,
                                         self.vertices)
          return paths
docs: Sequence of closed paths, encoded by entity index.
  
          Returns
          ---------
          paths: (n,) sequence of (*,) int referencing self.entities