parameters: (self, streetlearn)
return_statement: return pano_id_to_color
docstring: Gets called after StreetLearn:reset().
  
      Selects a random pano as goal destination and resets episode statistics.
  
      If there are any coins, clears the set of touched panos and randomly
      generates reward-yielding coins and populates pano_id_to_color.
  
      Args:
        streetlearn: a streetlearn instance.
      Returns:
        A newly populated pano_id_to_color dictionary.
docstring_summary: Gets called after StreetLearn:reset().
docstring_tokens: Gets called after StreetLearn : reset () .
function: def on_reset(self, streetlearn):
      """Gets called after StreetLearn:reset().
  
      Selects a random pano as goal destination and resets episode statistics.
  
      If there are any coins, clears the set of touched panos and randomly
      generates reward-yielding coins and populates pano_id_to_color.
  
      Args:
        streetlearn: a streetlearn instance.
      Returns:
        A newly populated pano_id_to_color dictionary.
      """
      # Populate the list of panos and assign optional coins to panos.
      pano_id_to_color = super(CourierGame, self).on_reset(streetlearn)
  
      # Assign the goal location to one of the panos.
      self._pick_random_goal(streetlearn)
  
      # Resets the episode statistics.
      self._num_steps_this_goal = 0
      self._success_inverse_path_len = []
      return pano_id_to_color
function_tokens: def on_reset ( self , streetlearn ) : # Populate the list of panos and assign optional coins to panos. pano_id_to_color = super ( CourierGame , self ) . on_reset ( streetlearn ) # Assign the goal location to one of the panos. self . _pick_random_goal ( streetlearn ) # Resets the episode statistics. self . _num_steps_this_goal = 0 self . _success_inverse_path_len = [ ] return pano_id_to_color