compute_true_safe_set¶
-
safemdp.
compute_true_safe_set
(world_shape, altitude, h)¶ Computes the safe set given a perfect knowledge of the map
Parameters: world_shape: tuple
altitude: np.array
1-d vector with altitudes for each node
h: float
Safety threshold for height differences
Returns: true_safe: np.array
Boolean array n_states x (n_actions + 1).