Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LFYSec/MScan
/ addEdge
Method
addEdge
src/main/java/pascal/taie/util/graph/SimpleGraph.java:68–73 ·
view source on GitHub ↗
(N source, N target)
Source
from the content-addressed store, hash-verified
66
}
67
68
public
void
addEdge(N source, N target) {
69
nodes.add(source);
70
nodes.add(target);
71
preds.put(target, source);
72
succs.put(source, target);
73
}
74
75
/**
76
* Removes a node from this graph.
Callers
5
genRandomGraph
Method · 0.95
readGraph
Method · 0.95
build
Method · 0.95
SimpleGraph
Method · 0.95
buildDependenceGraph
Method · 0.95
Calls
2
add
Method · 0.65
put
Method · 0.65
Tested by
2
genRandomGraph
Method · 0.76
readGraph
Method · 0.76