MCPcopy Create free account
hub / github.com/LFYSec/MScan / removeNode

Method removeNode

src/main/java/pascal/taie/util/graph/SimpleGraph.java:79–83  ·  view source on GitHub ↗

Removes a node from this graph. All edges from/to the node will also be removed.

(N node)

Source from the content-addressed store, hash-verified

77 * All edges from/to the node will also be removed.
78 */
79 public void removeNode(N node) {
80 nodes.remove(node);
81 preds.removeAll(node);
82 succs.removeAll(node);
83 }
84
85 /**
86 * Removes an edge from this graph.

Callers 1

testSimpleGraphRemoveMethod · 0.80

Calls 2

removeMethod · 0.65
removeAllMethod · 0.65

Tested by 1

testSimpleGraphRemoveMethod · 0.64