All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.wala.util.graph.impl.SelfLoopAddedGraph Maven / Gradle / Ivy

There is a newer version: 1.6.6
Show newest version
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);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy