com.ibm.wala.util.graph.impl.SelfLoopAddedGraph Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.ibm.wala.util Show documentation
Show all versions of com.ibm.wala.util Show documentation
T. J. Watson Libraries for Analysis
package com.ibm.wala.util.graph.impl;
import com.ibm.wala.util.graph.AbstractGraph;
import com.ibm.wala.util.graph.EdgeManager;
import com.ibm.wala.util.graph.Graph;
import com.ibm.wala.util.graph.NodeManager;
public class SelfLoopAddedGraph extends AbstractGraph {
private final NodeManager nodes;
@Override
protected NodeManager getNodeManager() {
return nodes;
}
private final EdgeManager edges;
@Override
protected EdgeManager getEdgeManager() {
return edges;
}
public SelfLoopAddedGraph(Graph G) {
nodes = G;
edges = new SelfLoopAddedEdgeManager<>(G);
}
}