scc Containing
The strongly connected component containing agent, or null if agent has no incident edges. Cheaper than calling stronglyConnectedComponents when only one SCC is needed, but still O(V + E) in the worst case.
The strongly connected component containing agent, or null if agent has no incident edges. Cheaper than calling stronglyConnectedComponents when only one SCC is needed, but still O(V + E) in the worst case.