code: def successors(self, state, successor_func=None, **run_args):
          
          if successor_func is not None:
              return successor_func(state, **run_args)
          return self._project.factory.successors(state, **run_args)
docs: Don't use this function manually - it is meant to interface with exploration techniques.