MCPcopy Create free account
hub / github.com/codemistic/Data-Structures-and-Algorithms / main

Function main

BFS in C++/BFS.cpp:53–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53int main() {
54 Graph g(4);
55 g.addEdge(0, 1);
56 g.addEdge(0, 2);
57 g.addEdge(1, 2);
58 g.addEdge(2, 0);
59 g.addEdge(2, 3);
60 g.addEdge(3, 3);
61 g.BFS(2);
62 return 0;
63}

Callers

nothing calls this directly

Calls 2

addEdgeMethod · 0.45
BFSMethod · 0.45

Tested by

no test coverage detected