Is there a way to programatically differentiate between survival scenario and regular scenario?
HI ge83ken,
yes, you can get this information from the goal state of the planning problem. The goal state of the planning problem can be retrieved via goal_state = planning_problem.goal.state_list[0]
. You can then check the attributes of the goal state in goal_state.attributes
. If the goal state only contains the attribute time_step
then it is a survival scenario.
Best,
Gerald