CSV statistics

universe.utils.save_statistics_to_csv(ants, filename, round_counter)[source]

Save statistics about the ants to a CSV file.

Parameters:
  • ants (list) – A list of ants.

  • filename (str) – The name of the CSV file.

  • round_counter (int) – The current round number.