T
- Type of the nodes on the graphpublic static interface StronglyConnectedComponents.Graph<T>
Modifier and Type | Method and Description |
---|---|
java.util.Collection<T> |
getNeighbors(T node)
Obtains, for a node, the set of nodes to which it has an outgoing
edge.
|
java.util.Collection<T> |
getNodes()
Retrieves the set of nodes of the graph.
|
java.util.Collection<T> getNodes()
java.util.Collection<T> getNeighbors(T node) throws SDMetricsException
node
- The node for which to obtain the neighbor nodes.node
has an outgoing edge.SDMetricsException
- if the neighbors for a node could not be
determined.