(self, saver)
return self
update value according to the specific criterion.

        Parameters
        ----------
        saver: StateIO
            StateIO object
update value according to the specific criterion.
update value according to the specific criterion .
def update_information(self, saver):
        """update value according to the specific criterion.

        Parameters
        ----------
        saver: StateIO
            StateIO object
        """
        _,_,_, Uindex = saver.get_workspace()
        _, _, _, ini_Uindex = saver.get_workspace(iteration=0)
        self._current_unlabel = len(Uindex)
        if self._stopping_criteria == 'num_of_queries':
            self._current_iter = len(saver)
        elif self._stopping_criteria == 'cost_limit':
            self._accum_cost = saver.cost_inall
        elif self._stopping_criteria == 'percent_of_unlabel':
            self._percent = (len(ini_Uindex)-len(Uindex))/len(ini_Uindex)
        return self
def update_information ( self , saver ) : _ , _ , _ , Uindex = saver . get_workspace ( ) _ , _ , _ , ini_Uindex = saver . get_workspace ( iteration = 0 ) self . _current_unlabel = len ( Uindex ) if self . _stopping_criteria == 'num_of_queries' : self . _current_iter = len ( saver ) elif self . _stopping_criteria == 'cost_limit' : self . _accum_cost = saver . cost_inall elif self . _stopping_criteria == 'percent_of_unlabel' : self . _percent = ( len ( ini_Uindex ) - len ( Uindex ) ) / len ( ini_Uindex ) return self