parameters: (self, game, player_ids, policies: List[policy_std.Policy],
                 distributions: List[distribution_std.Distribution],
                 weights: List[float])
docstring: Initializes the merged policy.
  
      Args:
        game: The game to analyze.
        player_ids: list of player ids for which this policy applies; each should
          be in the range 0..game.num_players()-1.
        policies: A `List[policy_std.Policy]` object.
        distributions: A `List[distribution_std.Distribution]` object.
        weights: A `List[float]` object. The elements should sum to 1.
docstring_summary: Initializes the merged policy.
docstring_tokens: Initializes the merged policy .
function: def __init__(self, game, player_ids, policies: List[policy_std.Policy],
                 distributions: List[distribution_std.Distribution],
                 weights: List[float]):
      """Initializes the merged policy.
  
      Args:
        game: The game to analyze.
        player_ids: list of player ids for which this policy applies; each should
          be in the range 0..game.num_players()-1.
        policies: A `List[policy_std.Policy]` object.
        distributions: A `List[distribution_std.Distribution]` object.
        weights: A `List[float]` object. The elements should sum to 1.
      """
      super().__init__(game, player_ids)
      self._policies = policies
      self._distributions = distributions
      self._weights = weights
      assert len(policies) == len(distributions), (
          f'Length mismatch {len(policies)} != {len(distributions)}')
      assert len(policies) == len(weights), (
          f'Length mismatch {len(policies)} != {len(weights)}')
      assert math.isclose(
          sum(weights),
          1.0), (f'Weights should sum to 1, but instead sum to {sum(weights)}')
function_tokens: def __init__ ( self , game , player_ids , policies : List [ policy_std . Policy ] , distributions : List [ distribution_std . Distribution ] , weights : List [ float ] ) : super ( ) . __init__ ( game , player_ids ) self . _policies = policies self . _distributions = distributions self . _weights = weights assert len ( policies ) == len ( distributions ) , ( f'Length mismatch {len(policies)} != {len(distributions)}' ) assert len ( policies ) == len ( weights ) , ( f'Length mismatch {len(policies)} != {len(weights)}' ) assert math . isclose ( sum ( weights ) , 1.0 ) , ( f'Weights should sum to 1, but instead sum to {sum(weights)}' )