MCPcopy 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
37impl DepthFirstOrders {

Callers 1

newMethod · 0.80

Calls 1

iterMethod · 0.45

Tested by

no test coverage detected