Newer
Older
package tfm.graphlib.nodes;
import tfm.graphlib.arcs.Arc;
import tfm.graphlib.arcs.data.ArcData;
import tfm.graphlib.graphs.Graph;
import java.util.ArrayList;
import java.util.List;
public class PDGVertex extends Vertex {
public PDGVertex(Graph.VertexId id, String data) {
super(id, data);
}
public String toString() {
List<Integer> dataFrom = new ArrayList<>();
List<Integer> dataTo = new ArrayList<>();
List<Integer> controlFrom = new ArrayList<>();
List<Integer> controlTo = new ArrayList<>();
getIncomingArrows().forEach(arrow -> {
Arc arc = (Arc) arrow;
}
});
getOutgoingArrows().forEach(arrow -> {
Arc arc = (Arc) arrow;