original_docstring: 
          Save the stats of the episode to plot the graphs at the end of the session
          
docstring: Save the stats of the episode to plot the graphs at the end of the session
docstring_tokens: Save the stats of the episode to plot the graphs at the end of the session
code: def _save_episode_stats(self):
          """
          Save the stats of the episode to plot the graphs at the end of the session
          """
          self._reward_store.append(self._sum_neg_reward)  # how much negative reward in this episode
          #self._cumulative_wait_store.append(self._sum_waiting_time)  # total number of seconds waited by cars in this episode
          self._cumulative_wait_store.append(self._cumulative_waiting_time) #cumulative wait time in this episode
          self._avg_queue_length_store.append(self._sum_queue_length / self._max_steps)  # average number of queued cars per step, in this episode
          self._avg_wait_time_per_vehicle.append(self._cumulative_waiting_time/self._sum_queue_length) #how much time a vehicle wait in an episode
          self._list_density.append(self._density)
          self._list_flow.append(self._flow)
          self._list_occupancy.append(self._occupancy)
code_tokens: def _save_episode_stats ( self ) : self . _reward_store . append ( self . _sum_neg_reward ) self . _cumulative_wait_store . append ( self . _cumulative_waiting_time ) self . _avg_queue_length_store . append ( self . _sum_queue_length / self . _max_steps ) self . _avg_wait_time_per_vehicle . append ( self . _cumulative_waiting_time / self . _sum_queue_length ) self . _list_density . append ( self . _density ) self . _list_flow . append ( self . _flow ) self . _list_occupancy . append ( self . _occupancy )
short_docstring: Save the stats of the episode to plot the graphs at the end of the session
short_docstring_tokens: Save the stats of the episode to plot the graphs at the end of the session
comment: """
          Save the stats of the episode to plot the graphs at the end of the session
          """$SEP$# how much negative reward in this episode$SEP$#self._cumulative_wait_store.append(self._sum_waiting_time)  # total number of seconds waited by cars in this episode$SEP$#cumulative wait time in this episode$SEP$# average number of queued cars per step, in this episode$SEP$#how much time a vehicle wait in an episode