def get_table_of_considered_visits(max_num_considered_actions, num_simulations):
  """Returns a table of sequences of visit counts.

  Args:
   max_num_considered_actions: The maximum number of considered actions.
     The `max_num_considered_actions` can be smaller than the number of
     actions.
   num_simulations: The total simulation budget.

  Returns:
    A tuple of sequences of visit counts.
    Shape [max_num_considered_actions + 1, num_simulations].
  """
  return tuple(
      get_sequence_of_considered_visits(m, num_simulations)
      for m in range(max_num_considered_actions + 1))
Returns a table of sequences of visit counts.

  Args:
   max_num_considered_actions: The maximum number of considered actions.
     The `max_num_considered_actions` can be smaller than the number of
     actions.
   num_simulations: The total simulation budget.

  Returns:
    A tuple of sequences of visit counts.
    Shape [max_num_considered_actions + 1, num_simulations].
  
mctx/_src/seq_halving.py