public class PackageProcessor extends GraphProcessor
Constructor and Description |
---|
PackageProcessor() |
Modifier and Type | Method and Description |
---|---|
protected void |
finishProcessing(Vertex[] graph)
Finishes processing.
|
AtomicVertex[] |
getGraph()
Returns the package graph after processing.
|
protected void |
initializeProcessing(Vertex[] graph)
Initializes processing.
|
protected void |
processAfter(Vertex vertex)
Processes the specified vertex after its arcs have been processed.
|
protected void |
processArc(Vertex tail,
Vertex head)
Processes the arc specified by tail and head vertices.
|
protected void |
processBefore(Vertex vertex)
Processes the specified vertex before its outgoing arcs are processed.
|
deepSearchFirst, process
public AtomicVertex[] getGraph()
protected void initializeProcessing(Vertex[] graph)
GraphProcessor
GraphProcessor.deepSearchFirst(classycle.graph.Vertex[])
.initializeProcessing
in class GraphProcessor
protected void processBefore(Vertex vertex)
GraphProcessor
processBefore
in class GraphProcessor
vertex
- Vertex to be processed.protected void processArc(Vertex tail, Vertex head)
GraphProcessor
processArc
in class GraphProcessor
tail
- Tail vertex of the arc.head
- Head vertex of the arc.protected void processAfter(Vertex vertex)
GraphProcessor
processAfter
in class GraphProcessor
vertex
- Vertex to be processed.protected void finishProcessing(Vertex[] graph)
GraphProcessor
GraphProcessor.deepSearchFirst(classycle.graph.Vertex[])
.finishProcessing
in class GraphProcessor