MCPcopy Create free account
hub / github.com/douchuan/algorithm / marked

Method marked

src/graph/undirected/dfs.rs:33–35  ·  view source on GitHub ↗

is v connected to s?

(&self, v: usize)

Source from the content-addressed store, hash-verified

31
32 /// is v connected to s?
33 pub fn marked(&self, v: usize) -> bool {
34 self.marked[v]
35 }
36
37 /// how many vertices are connected to s?
38 ///

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected