Package de.obqo.decycle.graph
Class Graph
- java.lang.Object
-
- de.obqo.decycle.graph.Graph
-
- All Implemented Interfaces:
SlicingSource
public class Graph extends java.lang.Object implements SlicingSource
AGraphrepresents the network resulting from analyzing the classes of a given classpath. It containsclassnodesthat are connected among each other byreferencingedgesas well aspackageandcustom slicenodes that are connected to class nodes bycontainingedges.
-
-
Constructor Summary
Constructors Constructor Description Graph()Graph(Categorizer categorizer)Graph(Categorizer categorizer, NodeFilter filter)Graph(Categorizer categorizer, NodeFilter filter, EdgeFilter ignoredEdgesFilter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<Node>allNodes()voidconnect(Node a, Node b)java.util.Set<Node>connectionsOf(Node node)java.util.Set<Edge>containingClassEdges(Edge edge)java.util.Set<Node>contentsOf(Node group)java.util.Set<SliceType>sliceTypes()Slicingslicing(SliceType sliceType)java.util.Set<Node>topNodes()
-
-
-
Constructor Detail
-
Graph
public Graph()
-
Graph
public Graph(Categorizer categorizer)
-
Graph
public Graph(Categorizer categorizer, NodeFilter filter)
-
Graph
public Graph(Categorizer categorizer, NodeFilter filter, EdgeFilter ignoredEdgesFilter)
-
-
Method Detail
-
allNodes
public java.util.Set<Node> allNodes()
-
topNodes
public java.util.Set<Node> topNodes()
-
sliceTypes
public java.util.Set<SliceType> sliceTypes()
- Specified by:
sliceTypesin interfaceSlicingSource
-
slicing
public Slicing slicing(SliceType sliceType)
- Specified by:
slicingin interfaceSlicingSource
-
-