Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/douchuan/algorithm
/ adj
Method
adj
src/graph/directed/digraph.rs:28–30 ·
view source on GitHub ↗
(&self, v: usize)
Source
from the content-addressed store, hash-verified
26
}
27
28
fn adj(&self, v: usize) -> Iter<'_, usize> {
29
self.adj[v].iter()
30
}
31
32
/// reverse of this digraph
33
fn reverse(&self) -> Box<dyn IGraph> {
Callers
6
dfs
Method · 0.45
dfs_ewd
Method · 0.45
dfs
Method · 0.45
reverse
Method · 0.45
dfs
Method · 0.45
dfs
Method · 0.45
Calls
1
iter
Method · 0.45
Tested by
no test coverage detected