save_stats

negmas.situated.save_stats(world: World, log_dir: PathLike | str, params: dict[str, Any] | None = None, stats_file_name: str | None = None, python_class_identifier='__python_class__')[source]

Saves the statistics of a world run.

Parameters:
  • world – The world

  • logdir – The directory to save the stats into.

  • params – A parameter list to save with the world

  • stats_file_name – File name to use for stats file(s) without extension

Returns: