public class StronglyConnectedComponentsGraph<V> extends org.jgrapht.graph.DefaultDirectedGraph<Integer,Integer>
Constructor and Description |
---|
StronglyConnectedComponentsGraph() |
StronglyConnectedComponentsGraph(org.jgrapht.DirectedGraph<V,E> graph)
Construct the StronglyConnectedComponentsGraph of the specified graph
|
Modifier and Type | Method and Description |
---|---|
void |
addComponent(int vertex,
Set<V> vertices) |
void |
addEdge(int tail,
int head) |
int[] |
computeLayers(Iterable<Integer> sources,
boolean direction) |
Set<V> |
getComponent(int vertex) |
int |
getNbrComponents() |
Set<Integer> |
getSinks() |
Set<Integer> |
getSources() |
addEdge, addEdge, addVertex, clone, containsEdge, containsVertex, degreeOf, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, incomingEdgesOf, inDegreeOf, isAllowingLoops, isAllowingMultipleEdges, outDegreeOf, outgoingEdgesOf, removeEdge, removeEdge, removeVertex, setEdgeSetFactory, setEdgeWeight, vertexSet
assertVertexExist, containsEdge, equals, hashCode, removeAllEdges, removeAllEdges, removeAllEdges, removeAllVertices, toString, toStringFromSets
finalize, getClass, notify, notifyAll, wait, wait, wait
incomingEdgesOf, inDegreeOf, outDegreeOf, outgoingEdgesOf
addEdge, addEdge, addVertex, containsEdge, containsEdge, containsVertex, edgeSet, edgesOf, getAllEdges, getEdge, getEdgeFactory, getEdgeSource, getEdgeTarget, getEdgeWeight, removeAllEdges, removeAllEdges, removeAllVertices, removeEdge, removeEdge, removeVertex, vertexSet
public StronglyConnectedComponentsGraph()
public StronglyConnectedComponentsGraph(org.jgrapht.DirectedGraph<V,E> graph)
graph
- Copyright © 2014–2018 GraphIK (INRIA - LIRMM). All rights reserved.