def init(self): PddlState.init(self) self.num_updates = 0 self.update_input_stats() if self.clear_visits_on_init: self.state_visits.clear()