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

Function main

graph/code20.cpp:82–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82int main()
83{
84 // int v = 7;
85 // vector<int> vec[v];
86
87 // // adding edges now
88 // add_edge(vec, 0, 1);
89 // add_edge(vec, 0, 3);
90 // add_edge(vec, 1, 2);
91 // add_edge(vec, 1, 4);
92 // add_edge(vec, 2, 3);
93 // add_edge(vec, 4, 5);
94 // add_edge(vec, 4, 6);
95 // add_edge(vec, 5, 6);
96
97 // bridges(vec, v);
98
99 int v = 5;
100 vector<int> vec[v];
101
102 add_edge(vec, 1, 0);
103 add_edge(vec, 0, 2);
104 add_edge(vec, 2, 1);
105 add_edge(vec, 0, 3);
106 add_edge(vec, 3, 4);
107 bridges(vec, v);
108 return 0;
109}

Callers

nothing calls this directly

Calls 2

bridgesFunction · 0.85
add_edgeFunction · 0.70

Tested by

no test coverage detected