Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Seogeurim/CS-study
/ setGraph
Method
setGraph
contents/algorithm/code/DijkstraTest.java:126–128 ·
view source on GitHub ↗
(int i, int j, int w)
Source
from the content-addressed store, hash-verified
124
}
125
126
public
void
setGraph(
int
i,
int
j,
int
w) {
127
graph[i].add(
new
Node(j, w));
128
}
129
130
public
void
printGraph() {
131
for
(
int
i = 1; i <= N; i++) {
Callers
1
main
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected