(self)
Clear this container.
Clear this container.
Clear this container .
def clear(self):
        """Clear this container."""
        self._indexes.clear()
        self._exa2ind.clear()
        self._ind2label.clear()
        self._indexes.clear()
        self._instance_flag = False
        self.cost_inall = 0
        self._cost_arr = []
        self.num_of_queries = 0
        self._query_history.clear()
def clear ( self ) : self . _indexes . clear ( ) self . _exa2ind . clear ( ) self . _ind2label . clear ( ) self . _indexes . clear ( ) self . _instance_flag = False self . cost_inall = 0 self . _cost_arr = [ ] self . num_of_queries = 0 self . _query_history . clear ( )