Interface KVertexConnectedComponentsAlgo.Result<V,​E>

    • Method Detail

      • componentsNum

        int componentsNum()
        The number of k-vertex connected components.
        Returns:
        the number of k-vertex connected components
      • componentVertices

        Set<V> componentVertices​(int compIndex)
        The vertices of the k-vertex connected component with the given index.
        Parameters:
        compIndex - the index of the component
        Returns:
        the vertices of the component
      • componentSubGraph

        default Graph<V,​E> componentSubGraph​(int compIndex)
        The subgraph of the k-vertex connected component with the given index.
        Parameters:
        compIndex - the index of the component
        Returns:
        the subgraph of the component
      • graph

        Graph<V,​E> graph()
        The graph on which the k-vertex connected components were found.
        Returns:
        the graph