def __init__(
      self,
      memory: associative_memory.AssociativeMemory,
      daily_activities: DailyActivities,
      players: Sequence[entity_agent.EntityAgent],
      clock_now: Callable[[], datetime.datetime],
      player_score_fn: Callable[
          [
              str,
              ActivityFractionsType,
              str,
              associative_memory.AssociativeMemory,
              str,
          ],
          tuple[float, Sequence[str]],
      ],
      get_timepoint_fn: Callable[[], str],
      name: str = '   \n',
  ):
    """Initialize a component to compute scores from daily activities of all.

    Args:
      memory: an associative memory
      daily_activities: the component to use to get the activities of players.
      players: sequence of players who have daily activities.
      clock_now: Function to call to get current time.
      player_score_fn: function to compute an individual's score
        the value returned by this function is added to the score of the
        specified player.
      get_timepoint_fn: function with no arguments to get the current timepoint,
        scores will be able to depend on the value returned by this function
        e.g. a function returning the current year could be used to restrict
        a score calculation to events that occurred in the current year.
      name: the name of this component e.g. Payoffs
    """
    self._memory = memory
    self._daily_activities = daily_activities
    self._players = players
    self._name = name
    self._clock_now = clock_now
    self._player_score_fn = player_score_fn
    self._get_timepoint_fn = get_timepoint_fn

    self._player_scores = {player.name: 0.0 for player in self._players}
    self._names_to_players = {player.name: player for player in self._players}

    self._current_scene = current_scene.CurrentScene(
        name='current scene type',
        memory=self._memory,
        clock_now=self._clock_now,
        verbose=False,
    )

    self._partial_states = {player.name: '' for player in self._players}
    self._latest_score_increments = {
        player.name: None for player in self._players}
Initialize a component to compute scores from daily activities of all.

    Args:
      memory: an associative memory
      daily_activities: the component to use to get the activities of players.
      players: sequence of players who have daily activities.
      clock_now: Function to call to get current time.
      player_score_fn: function to compute an individual's score
        the value returned by this function is added to the score of the
        specified player.
      get_timepoint_fn: function with no arguments to get the current timepoint,
        scores will be able to depend on the value returned by this function
        e.g. a function returning the current year could be used to restrict
        a score calculation to events that occurred in the current year.
      name: the name of this component e.g. Payoffs
    
concordia/contrib/components/game_master/deprecated/daily_activities.py