Connectivity (graph theory) explained

In mathematics and computer science, connectivity is one of the basic concepts of graph theory: it asks for the minimum number of elements (nodes or edges) that need to be removed to separate the remaining nodes into two or more isolated subgraphs. It is closely related to the theory of network flow problems. The connectivity of a graph is an important measure of its resilience as a network.

Connected vertices and graphs

In an undirected graph, two vertices and are called connected if contains a path from to . Otherwise, they are called disconnected. If the two vertices are additionally connected by a path of length (that is, they are the endpoints of a single edge), the vertices are called adjacent.

A graph is said to be connected if every pair of vertices in the graph is connected. This means that there is a path between every pair of vertices. An undirected graph that is not connected is called disconnected. An undirected graph is therefore disconnected if there exist two vertices in such that no path in has these vertices as endpoints. A graph with just one vertex is connected. An edgeless graph with two or more vertices is disconnected.

A directed graph is called weakly connected if replacing all of its directed edges with undirected edges produces a connected (undirected) graph. It is unilaterally connected or unilateral (also called semiconnected) if it contains a directed path from to or a directed path from to for every pair of vertices .[1] It is strongly connected, or simply strong, if it contains a directed path from to and a directed path from to for every pair of vertices .

Components and cuts

A connected component is a maximal connected subgraph of an undirected graph. Each vertex belongs to exactly one connected component, as does each edge. A graph is connected if and only if it has exactly one connected component.

The strong components are the maximal strongly connected subgraphs of a directed graph.

A vertex cut or separating set of a connected graph is a set of vertices whose removal renders disconnected. The vertex connectivity (where is not a complete graph) is the size of a minimal vertex cut. A graph is called -vertex-connected or -connected if its vertex connectivity is or greater.

More precisely, any graph (complete or not) is said to be -vertex-connected if it contains at least vertices, but does not contain a set of vertices whose removal disconnects the graph; and is defined as the largest such that is -connected. In particular, a complete graph with vertices, denoted, has no vertex cuts at all, but .

A vertex cut for two vertices and is a set of vertices whose removal from the graph disconnects and . The local connectivity is the size of a smallest vertex cut separating and . Local connectivity is symmetric for undirected graphs; that is, . Moreover, except for complete graphs, equals the minimum of over all nonadjacent pairs of vertices .

-connectivity is also called biconnectivity and -connectivity is also called triconnectivity. A graph which is connected but not -connected is sometimes called separable.

Analogous concepts can be defined for edges. In the simple case in which cutting a single, specific edge would disconnect the graph, that edge is called a bridge. More generally, an edge cut of is a set of edges whose removal renders the graph disconnected. The edge-connectivity is the size of a smallest edge cut, and the local edge-connectivity of two vertices is the size of a smallest edge cut disconnecting from . Again, local edge-connectivity is symmetric. A graph is called -edge-connected if its edge connectivity is or greater.

A graph is said to be maximally connected if its connectivity equals its minimum degree. A graph is said to be maximally edge-connected if its edge-connectivity equals its minimum degree.[2]

Super- and hyper-connectivity

A graph is said to be super-connected or super-κ if every minimum vertex cut isolates a vertex. A graph is said to be hyper-connected or hyper-κ if the deletion of each minimum vertex cut creates exactly two components, one of which is an isolated vertex. A graph is semi-hyper-connected or semi-hyper-κ if any minimum vertex cut separates the graph into exactly two components.[3]

More precisely: a connected graph is said to be super-connected or super-κ if all minimum vertex-cuts consist of the vertices adjacent with one (minimum-degree) vertex.A connected graph is said to be super-edge-connected or super-λ if all minimum edge-cuts consist of the edges incident on some (minimum-degree) vertex.[4]

A cutset of is called a non-trivial cutset if does not contain the neighborhood of any vertex . Then the superconnectivity

\kappa1

of is\kappa_1(G) = \min\.

A non-trivial edge-cut and the edge-superconnectivity

λ1(G)

are defined analogously.[5]

Menger's theorem

See main article: Menger's theorem.

One of the most important facts about connectivity in graphs is Menger's theorem, which characterizes the connectivity and edge-connectivity of a graph in terms of the number of independent paths between vertices.

If and are vertices of a graph, then a collection of paths between and is called independent if no two of them share a vertex (other than and themselves). Similarly, the collection is edge-independent if no two paths in it share an edge. The number of mutually independent paths between and is written as, and the number of mutually edge-independent paths between and is written as .

Menger's theorem asserts that for distinct vertices u,v, equals, and if u is also not adjacent to v then equals .[6] [7] This fact is actually a special case of the max-flow min-cut theorem.

Computational aspects

The problem of determining whether two vertices in a graph are connected can be solved efficiently using a search algorithm, such as breadth-first search. More generally, it is easy to determine computationally whether a graph is connected (for example, by using a disjoint-set data structure), or to count the number of connected components. A simple algorithm might be written in pseudo-code as follows:

  1. Begin at any arbitrary node of the graph .
  2. Proceed from that node using either depth-first or breadth-first search, counting all nodes reached.
  3. Once the graph has been entirely traversed, if the number of nodes counted is equal to the number of nodes of, the graph is connected; otherwise it is disconnected.

By Menger's theorem, for any two vertices and in a connected graph, the numbers and can be determined efficiently using the max-flow min-cut algorithm. The connectivity and edge-connectivity of can then be computed as the minimum values of and, respectively.

In computational complexity theory, SL is the class of problems log-space reducible to the problem of determining whether two vertices in a graph are connected, which was proved to be equal to L by Omer Reingold in 2004.[8] Hence, undirected graph connectivity may be solved in space.

The problem of computing the probability that a Bernoulli random graph is connected is called network reliability and the problem of computing whether two given vertices are connected the ST-reliability problem. Both of these are

  1. P
-hard.[9]

Number of connected graphs

See main article: Graph enumeration. The number of distinct connected labeled graphs with n nodes is tabulated in the On-Line Encyclopedia of Integer Sequences as sequence . The first few non-trivial terms are

ngraphs
11
21
34
438
5728
626704
71866256
8251548592

Examples

Bounds on connectivity

Other properties

See also

Notes and References

  1. http://compalg.inf.elte.hu/~tony/Oktatas/TDK/FINAL/Chap%2011.pdf#page=6 Chapter 11: Digraphs: Principle of duality for digraphs: Definition
  2. Book: Handbook of graph theory . Jonathan L. . Gross . Jay . Yellen . . 2004 . 335 . 978-1-58488-090-5 .
  3. Liu. Qinghai. Zhang. Zhao. 2010-03-01. The existence and upper bound for two types of restricted connectivity. Discrete Applied Mathematics. 158. 5. 516–521. 10.1016/j.dam.2009.10.017. free.
  4. Book: Handbook of graph theory . Jonathan L. . Gross . Jay . Yellen . . 2004 . 338 . 978-1-58488-090-5 .
  5. Balbuena. Camino. Carmona. Angeles. 2001-10-01. On the connectivity and superconnectivity of bipartite digraphs and graphs. Ars Combinatorica. 61. 3–22. 10.1.1.101.1458.
  6. Book: Algorithmic Graph Theory. Gibbons, A.. 1985. Cambridge University Press.
  7. Book: Algorithmic Aspects of Graph Connectivity. Nagamochi, H. . Ibaraki, T.. Toshihide Ibaraki . 2008 . Cambridge University Press.
  8. Omer. Reingold. Omer Reingold. Undirected connectivity in log-space. Journal of the ACM. 2008. 55. 4. 1–24. 10.1145/1391289.1391291. 207168478.
  9. Provan . J. Scott . Ball . Michael O. . 10.1137/0212053 . 4 . . 721012 . 777–788 . The complexity of counting cuts and of computing the probability that a graph is connected . 12 . 1983. .
  10. Web site: Diestel. R.. Graph Theory, Electronic Edition. 2005. 12.
  11. Book: Algebraic Graph Theory. Godsil . C. . Chris Godsil. Royle. G.. Gordon Royle. 2001. Springer Verlag.
  12. Book: Automorphism groups, isomorphism, reconstruction. Technical Report TR-94-10. Babai, L.. László Babai. 1996. University of Chicago. dead. https://web.archive.org/web/20100611212234/http://www.cs.uchicago.edu/files/tr_authentic/TR-94-10.ps. 2010-06-11. Chapter 27 of The Handbook of Combinatorics.
  13. Balinski, M. L.. On the graph structure of convex polyhedra in -space. Pacific Journal of Mathematics. 11. 2. 1961. 431–434. 10.2140/pjm.1961.11.431. free.
  14. Dirac . Gabriel Andrew . Gabriel Andrew Dirac . . 61–85 . In abstrakten Graphen vorhandene vollständige 4-Graphen und ihre Unterteilungen . 22 . 1–2 . 1960 . 0121311 . 10.1002/mana.19600220107. .
  15. Flandrin . Evelyne . Li . Hao . Marczyk . Antoni . Woźniak . Mariusz . 10.1016/j.disc.2005.11.052 . 7–8 . Discrete Mathematics . 878–884 . A generalization of Dirac's theorem on cycles through vertices in -connected graphs . 307 . 2007 . 2297171. free . .