yhteyskomponentit
Yhteyskomponentit, in English connection components or connectivity components, refer to a concept in graph theory and computer science. A connected component of an undirected graph is a subgraph in which any two vertices are connected to each other by paths, and which is connected to no additional vertices in the supergraph. In simpler terms, it's a part of a graph where you can get from any node to any other node within that part, but you can't reach any node outside that part from within it.
For a directed graph, the concept is slightly different. A strongly connected component is a subgraph where
The identification and analysis of connected components are fundamental in many algorithms. For example, in network