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