def forget_aggregated(self, current):
        # Remove meta info that we don't have any action data for anyway.
        # Also remove aggregated data for timeouted destroyed actors
        et = current - (self.timeout * 2) - self.aggregated_timeout
        for actor_id, dt in self.actors_destroyed.iteritems():
            if dt < et:
                self.actors_meta.pop(actor_id)
                try:
                    self.actors_aggregated_time.pop(actor_id)
                    self.actors_aggregated.pop(actor_id)
                except:
                    pass
        self.actors_destroyed = {actor_id: dt for actor_id, dt in self.actors_destroyed.iteritems() if dt >= et}
        if self.actors_destroyed:
            self.next_forget_aggregated = (min(self.actors_destroyed.values()) +
                                           self.aggregated_timeout + (self.timeout * 2))
        else:
            self.next_forget_aggregated = current + self.aggregated_timeout + (self.timeout * 2)
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/runtime/north/metering.py/Metering.forget_aggregated/original