def _prev_index(self, s):
        self.set_index(max(0, self.index - 1))
def __verify_arguments(self):
        """!
        @brief Verify input parameters for the algorithm and throw exception in case of incorrectness.