public class StrongConnectedComponents extends Object
Constructor and Description |
---|
StrongConnectedComponents(int[][] adjList)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
SCCResult |
getAdjacencyList(int node)
This method returns the adjacency-structure of the strong connected
component with the least vertex in a subgraph of the original graph
induced by the nodes {s, s + 1, ..., n}, where s is a given node.
|
static void |
main(String[] args) |
public StrongConnectedComponents(int[][] adjList)
adjList
- adjacency-list of the graphpublic SCCResult getAdjacencyList(int node)
node
- node spublic static void main(String[] args)
Copyright © 2005–2020. All rights reserved.