(self)
Performs a single step of simulation.
Performs a single step of simulation.
Performs a single step of simulation .
def single_step(self):
    """Performs a single step of simulation."""
    if self._state == State.RUNNING:
      finished = self._step()
      self._state = State.STOP if finished else State.RUNNING
def single_step ( self ) : if self . _state == State . RUNNING : finished = self . _step ( ) self . _state = State . STOP if finished else State . RUNNING