nocad.robustness.node_removal_robustness#
- nocad.robustness.node_removal_robustness(adj, drivers=None, sensors=None)[source]#
Controllability and observability after the removal of every single state variable.
- Parameters:
- adj
network - drivers, sensorsarray_like
ofint,optional Configurations to test (either may be omitted).
- adj
- Returns:
Examples
>>> r = node_removal_robustness([[0, 1, 0], [0, 0, 1], [0, 0, 0]], drivers=[0]) >>> r.control_critical, r.control_robustness (array([0, 1]), 0.3333333333333333)