sinergym.utils.common.convert_conf_to_env_parameters

sinergym.utils.common.convert_conf_to_env_parameters(conf: Dict[str, Any]) Dict[str, Dict[str, Any]]
Convert a conf from json format (sinergym/data/default_configuration/file.json) in a dictionary of all possible environments as dictionary with id as key and env_kwargs as value.

More information about Sinergym environment configuration in JSON format in documentation.

Parameters:

conf (Dict[str, Any]) – Dictionary from read json configuration file (sinergym/data/default_configuration/file.json).

Returns:

All possible Sinergym environment constructor kwargs.

Return type:

Dict[str,[Dict[str, Any]]