Modifier and Type | Method and Description |
---|---|
com.carrotsearch.hppc.IntArrayList |
getBiggestComponent()
A reference to the biggest component contained in
getComponents() or an empty list if there are
either no components or the biggest component has only a single node (and hence getComponents() is
empty). |
List<com.carrotsearch.hppc.IntArrayList> |
getComponents()
A list of arrays each containing the nodes of a strongly connected component.
|
int |
getNodes() |
com.carrotsearch.hppc.BitSet |
getSingleNodeComponents()
The set of nodes that form their own (single-node) component.
|
int |
getTotalComponents()
The total number of strongly connected components.
|
public List<com.carrotsearch.hppc.IntArrayList> getComponents()
getSingleNodeComponents()
.public com.carrotsearch.hppc.BitSet getSingleNodeComponents()
TarjanSCC.excludeSingleNodeComponents
is enabled this set will be empty.public int getTotalComponents()
public com.carrotsearch.hppc.IntArrayList getBiggestComponent()
getComponents()
or an empty list if there are
either no components or the biggest component has only a single node (and hence getComponents()
is
empty).public int getNodes()
Copyright © 2012–2020. All rights reserved.