Package classycle.graph
Class StrongComponentAnalyser
java.lang.Object
classycle.graph.StrongComponentAnalyser
Analyser of a directed graph for finding its strong components.
- Author:
 - Franz-Josef Elmer
 
- 
Constructor Summary
ConstructorsConstructorDescriptionStrongComponentAnalyser(AtomicVertex[] graph) Creates an instance for the specified graph. - 
Method Summary
Modifier and TypeMethodDescriptionReturns the graph of strong components.getGraph()Returns the original graph.Returns the maping of the nodes of the original graph onto a layer index (i.e. length of the longest path of the condensed graph). 
- 
Constructor Details
- 
StrongComponentAnalyser
Creates an instance for the specified graph. 
 - 
 - 
Method Details
- 
getGraph
Returns the original graph. That is, the argument of the constructor. - 
getCondensedGraph
Returns the graph of strong components. - 
getLayerMap
Returns the maping of the nodes of the original graph onto a layer index (i.e. length of the longest path of the condensed graph).- Returns:
 - a map where the keys are instances of 
AtomicVertexand the values are instances of Integer. 
 
 -