yawning_titan.envs.generic.core.reward_functions.num_nodes_safe# yawning_titan.envs.generic.core.reward_functions.num_nodes_safe(args)[source]# Provide reward based on the proportion of nodes safe within the environment. Parameters: args – A dictionary containing information from the timestep (environment for the given) – Returns: The calculated reward