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