Function come::utility::graph::kosaraju_scc_with_filter
source · pub fn kosaraju_scc_with_filter<G, FN, FE>(
g: G,
root: G::NodeId,
node_filter: FN,
edge_filter: FE
) -> Vec<Vec<G::NodeId>>where
G: IntoNeighborsDirected + IntoEdgesDirected + Visitable + IntoNodeIdentifiers,
G::NodeId: Debug,
FN: FnMut(G::NodeId) -> bool + Copy,
FE: FnMut(G::EdgeId) -> bool + Copy,