sinergym.utils.common.parse_variables
- sinergym.utils.common.parse_variables(var_file: str) Dict[str, List[str]]
Parse observation and action to dictionary.
- Parameters:
var_file (str) – Variables file path.
- Returns:
observation and action keys; a list with the name of the observation <variables> (<zone>) and a list with the name of the action <variables> respectively.
- Return type:
Dict[str, List[str]]