Module org.jgrapht.core
Package org.jgrapht.alg.connectivity
package org.jgrapht.alg.connectivity
Algorithms dealing with various connectivity aspects of a graph.
A graph is connected when there is a path between every pair of vertices. In a connected graph,
there are no unreachable vertices. A graph that is not connected is disconnected. A connected
component is a maximal connected subgraph of G. Each vertex belongs to exactly one connected
component, as does each edge.
A directed graph is called weakly connected if replacing all of its directed edges with undirected edges produces a connected (undirected) graph. It is strongly connected if it contains a directed path from u to v and a directed path from v to u for every pair of vertices u, v. The strong components are the maximal strongly connected subgraphs.
-
ClassesClassDescriptionAllows obtaining various connectivity aspects of a graph.BlockCutpointGraph<V,
E> A Block-Cutpoint graph (also known as a block-cut tree).Allows obtaining various connectivity aspects of a graph.Computes the strongly connected components of a directed graph.Computes strongly connected components of a directed graph.Data structure for storing dynamic trees and querying node connectivity