nocad.distances.control_depth# nocad.distances.control_depth(adj, drivers)[source]# Distance \(\rho^C_i\) of every state from the nearest driver node (inf if not reachable). Examples >>> control_depth([[0, 1, 0], [0, 0, 1], [0, 0, 0]], [0]) array([0., 1., 2.])