Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ rev_post
Method
rev_post
src/graph/directed/order.rs:32–34 ·
view source on GitHub ↗
Returns the vertices in reverse postorder.
(&self)
Source
from the content-addressed store, hash-verified
30
31
/// Returns the vertices in reverse postorder.
32
pub fn rev_post(&self) -> Rev<Iter<'_, usize>> {
33
self.post_order.iter().rev()
34
}
35
}
36
37
impl DepthFirstOrders {
Callers
1
new
Method · 0.80
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected