def __init__(self, storage, move_scheme=None, sample_set=None, initialize=True):
    '\n        Parameters\n        ----------\n        storage : :class:`openpathsampling.storage.Storage`\n            the storage where all results should be stored in\n        move_scheme : :class:`openpathsampling.MoveScheme`\n            the move scheme used for the pathsampling cycle\n        sample_set : :class:`openpathsampling.SampleSet`\n            the initial SampleSet for the Simulator\n        initialize : bool\n            if `False` the new PathSimulator will continue at the step and\n            not create a new SampleSet object to cut the connection to previous\n            steps\n        '
    super(PathSampling, self).__init__(storage)
    self.move_scheme = move_scheme
    if (move_scheme is not None):
        self.root_mover = move_scheme.move_decision_tree()
        self._mover = paths.PathSimulatorMover(self.root_mover, self)
    else:
        self.root_mover = None
        self._mover = None
    initialization_logging(init_log, self, ['move_scheme', 'sample_set'])
    self.live_visualizer = None
    self.status_update_frequency = 1
    if initialize:
        samples = []
        if (sample_set is not None):
            for sample in sample_set:
                samples.append(sample.copy_reset())
        self.sample_set = paths.SampleSet(samples)
        mcstep = MCStep(simulation=self, mccycle=self.step, active=self.sample_set, change=paths.AcceptedSampleMoveChange(self.sample_set.samples))
        self._current_step = mcstep
    else:
        self.sample_set = sample_set
        self._current_step = None
    self.root = self.sample_set
    if (self.storage is not None):
        template_trajectory = self.sample_set.samples[0].trajectory
        self.storage.save(template_trajectory)
        self.storage.save([self.move_scheme, self.root_mover, self._mover])
        self.save_current_step()
Parameters
----------
storage : :class:`openpathsampling.storage.Storage`
    the storage where all results should be stored in
move_scheme : :class:`openpathsampling.MoveScheme`
    the move scheme used for the pathsampling cycle
sample_set : :class:`openpathsampling.SampleSet`
    the initial SampleSet for the Simulator
initialize : bool
    if `False` the new PathSimulator will continue at the step and
    not create a new SampleSet object to cut the connection to previous
    steps
def __init__(self, storage, move_scheme=None, sample_set=None, initialize=True):
    '\n        Parameters\n        ----------\n        storage : :class:`openpathsampling.storage.Storage`\n            the storage where all results should be stored in\n        move_scheme : :class:`openpathsampling.MoveScheme`\n            the move scheme used for the pathsampling cycle\n        sample_set : :class:`openpathsampling.SampleSet`\n            the initial SampleSet for the Simulator\n        initialize : bool\n            if `False` the new PathSimulator will continue at the step and\n            not create a new SampleSet object to cut the connection to previous\n            steps\n        '
    super(PathSampling, self).__init__(storage)
    self.move_scheme = move_scheme
    if (move_scheme is not None):
        self.root_mover = move_scheme.move_decision_tree()
        self._mover = paths.PathSimulatorMover(self.root_mover, self)
    else:
        self.root_mover = None
        self._mover = None
    initialization_logging(init_log, self, ['move_scheme', 'sample_set'])
    self.live_visualizer = None
    self.status_update_frequency = 1
    if initialize:
        samples = []
        if (sample_set is not None):
            for sample in sample_set:
                samples.append(sample.copy_reset())
        self.sample_set = paths.SampleSet(samples)
        mcstep = MCStep(simulation=self, mccycle=self.step, active=self.sample_set, change=paths.AcceptedSampleMoveChange(self.sample_set.samples))
        self._current_step = mcstep
    else:
        self.sample_set = sample_set
        self._current_step = None
    self.root = self.sample_set
    if (self.storage is not None):
        template_trajectory = self.sample_set.samples[0].trajectory
        self.storage.save(template_trajectory)
        self.storage.save([self.move_scheme, self.root_mover, self._mover])
        self.save_current_step()