Class AbstractGraph<EdgeType extends AbstractEdge<EdgeType,VertexType>,VertexType extends AbstractVertex<EdgeType,VertexType>>

java.lang.Object
edu.umd.cs.findbugs.graph.AbstractGraph<EdgeType,VertexType>
All Implemented Interfaces:
Graph<EdgeType,VertexType>
Direct Known Subclasses:
CallGraph, CFG, ConstraintGraph, InheritanceGraph, InterproceduralCallGraph

public abstract class AbstractGraph<EdgeType extends AbstractEdge<EdgeType,VertexType>,VertexType extends AbstractVertex<EdgeType,VertexType>> extends Object implements Graph<EdgeType,VertexType>
A simple Graph implementation where the vertex objects store a list of incoming and outgoing edges. The edge link fields are stored in the edge objects, which means a fairly low space overhead.

The abstract allocateEdge() method must be implemented.

Author:
David Hovemeyer
See Also: