MCPcopy Create free account
hub / github.com/algorithmzuo/algorithm-journey / addEdge1

Method addEdge1

src/class187/Code02_Cobweb1.java:64–70  ·  view source on GitHub ↗
(int u, int v, int w, int c)

Source from the content-addressed store, hash-verified

62 }
63
64 public static void addEdge1(int u, int v, int w, int c) {
65 next1[++cnt1] = head1[u];
66 to1[cnt1] = v;
67 weight1[cnt1] = w;
68 color1[cnt1] = c;
69 head1[u] = cnt1;
70 }
71
72 public static void addEdge2(int u, int v, int w, int c) {
73 next2[++cnt2] = head2[u];

Callers 1

mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected