
In
graph theory, a branch-decomposition of an
undirected graph ''G'' is a
hierarchical clustering
In data mining and statistics, hierarchical clustering (also called hierarchical cluster analysis or HCA) is a method of cluster analysis that seeks to build a hierarchy of clusters. Strategies for hierarchical clustering generally fall into ...
of the edges of ''G'', represented by an
unrooted binary tree
In mathematics and computer science, an unrooted binary tree is an unrooted tree in which each vertex has either one or three neighbors.
Definitions
A free tree or unrooted tree is a connected undirected graph with no cycles. The vertices with on ...
''T'' with the edges of ''G'' as its leaves. Removing any edge from ''T'' partitions the edges of ''G'' into two subgraphs, and the width of the decomposition is the maximum number of shared vertices of any pair of subgraphs formed in this way.
The branchwidth of ''G'' is the minimum width of any branch-decomposition of ''G''.
Branchwidth is closely related to
tree-width
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests. The gra ...
: for all graphs, both of these numbers are within a constant factor of each other, and both quantities may be characterized by
forbidden minors
In graph theory, a branch of mathematics, many important families of graphs can be described by a finite set of individual graphs that do not belong to the family and further exclude all graphs from the family which contain any of these forbidden ...
. And as with treewidth, many graph optimization problems may be solved efficiently for graphs of small branchwidth. However, unlike treewidth, the branchwidth of
planar graphs
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cross ...
may be computed exactly, in
polynomial time
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
. Branch-decompositions and branchwidth may also be generalized from graphs to
matroids.
Definitions
An
unrooted binary tree
In mathematics and computer science, an unrooted binary tree is an unrooted tree in which each vertex has either one or three neighbors.
Definitions
A free tree or unrooted tree is a connected undirected graph with no cycles. The vertices with on ...
is a connected undirected graph with no cycles in which each non-leaf node has exactly three neighbors. A branch-decomposition may be represented by an unrooted binary tree ''T'', together with a bijection between the leaves of ''T'' and the edges of the given graph ''G'' = (''V'',''E'').
If ''e'' is any edge of the tree ''T'', then removing ''e'' from ''T'' partitions it into two subtrees ''T''
1 and ''T''
2. This partition of ''T'' into subtrees induces a partition of the edges associated with the leaves of ''T'' into two subgraphs ''G''
1 and ''G''
2 of ''G''. This partition of ''G'' into two subgraphs is called an e-separation.
The width of an e-separation is the number of vertices of ''G'' that are incident both to an edge of ''E''
1 and to an edge of ''E''
2; that is, it is the number of vertices that are shared by the two subgraphs ''G''
1 and ''G''
2. The width of the branch-decomposition is the maximum width of any of its e-separations. The branchwidth of ''G'' is the minimum width of a branch-decomposition of ''G''.
Relation to treewidth
Branch-decompositions of graphs are closely related to
tree decompositions, and branch-width is closely related to
tree-width
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests. The gra ...
: the two quantities are always within a constant factor of each other. In particular, in the paper in which they introduced branch-width,
Neil Robertson and
Paul Seymour showed that for a graph ''G''
with tree-width ''k'' and branchwidth
:
Carving width
Carving width is a concept defined similarly to branch width, except with edges replaced by vertices and vice versa. A carving decomposition is an unrooted binary tree with each leaf representing a vertex in the original graph, and the width of a cut is the number (or total weight in a weighted graph) of edges that are incident to a vertex in both subtrees.
Branch width algorithms typically work by reducing to an equivalent carving width problem. In particular, the carving width of the
medial graph of a planar graph is exactly twice the branch width of the original graph.
[.]
Algorithms and complexity
It is
NP-complete to determine whether a graph ''G'' has a branch-decomposition of width at most ''k'', when ''G'' and ''k'' are both considered as inputs to the problem.
However, the graphs with branchwidth at most ''k'' form a
minor-closed family of graphs, from which it follows that computing the branchwidth is
fixed-parameter tractable: there is an algorithm for computing optimal branch-decompositions whose running time, on graphs of branchwidth ''k'' for any fixed constant ''k'', is linear in the size of the input graph.
For
planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cross ...
s, the branchwidth can be computed exactly in polynomial time. This in contrast to treewidth for which the complexity on planar graphs is a well known open problem. The original algorithm for planar branchwidth, by
Paul Seymour and
Robin Thomas, took time O(''n''
2) on graphs with ''n'' vertices, and their algorithm for constructing a branch decomposition of this width took time O(''n''
4).
This was later sped up to O(''n''
3).
As with treewidth, branchwidth can be used as the basis of
dynamic programming algorithms for many NP-hard optimization problems, using an amount of time that is exponential in the width of the input graph or matroid. For instance, apply branchwidth-based dynamic programming to a problem of merging multiple partial solutions to the
travelling salesman problem into a single global solution, by forming a sparse graph from the union of the partial solutions, using a
spectral clustering heuristic to find a good branch-decomposition of this graph, and applying dynamic programming to the decomposition. argue that branchwidth works better than treewidth in the development of fixed-parameter-tractable algorithms on planar graphs, for multiple reasons: branchwidth may be more tightly bounded by a function of the parameter of interest than the bounds on treewidth, it can be computed exactly in polynomial time rather than merely approximated, and the algorithm for computing it has no large hidden constants.
Generalization to matroids
It is also possible to define a notion of branch-decomposition for
matroids that generalizes branch-decompositions of graphs. A branch-decomposition of a matroid is a hierarchical clustering of the matroid elements, represented as an unrooted binary tree with the elements of the matroid at its leaves. An e-separation may be defined in the same way as for graphs, and results in a partition of the set ''M'' of matroid elements into two subsets ''A'' and ''B''. If ρ denotes the
rank function of the matroid, then the width of an e-separation is defined as , and the width of the decomposition and the branchwidth of the matroid are defined analogously. The branchwidth of a graph and the branchwidth of the corresponding
graphic matroid may differ: for instance, the three-edge
path graph and the three-edge
star
A star is an astronomical object comprising a luminous spheroid of plasma (physics), plasma held together by its gravity. The List of nearest stars and brown dwarfs, nearest star to Earth is the Sun. Many other stars are visible to the naked ...
have different branchwidths, 2 and 1 respectively, but they both induce the same graphic matroid with branchwidth 1.
However, for graphs that are not trees, the branchwidth of the graph is equal to the branchwidth of its associated graphic matroid. The branchwidth of a matroid is equal to the branchwidth of its
dual matroid, and in particular this implies that the branchwidth of any planar graph that is not a tree is equal to that of its dual.
[.]
Branchwidth is an important component of attempts to extend the theory of
graph minors to
matroid minor
In the mathematical theory of matroids, a minor of a matroid ''M'' is another matroid ''N'' that is obtained from ''M'' by a sequence of restriction and contraction operations. Matroid minors are closely related to graph minors, and the restricti ...
s: although
treewidth can also be generalized to matroids, and plays a bigger role than branchwidth in the theory of graph minors, branchwidth has more convenient properties in the matroid setting. Robertson and Seymour conjectured that the matroids representable over any particular
finite field are
well-quasi-ordered, analogously to the
Robertson–Seymour theorem for graphs, but so far this has been proven only for the matroids of bounded branchwidth. Additionally, if a minor-closed family of matroids representable over a finite field does not include the graphic matroids of all planar graphs, then there is a constant bound on the branchwidth of the matroids in the family, generalizing similar results for minor-closed graph families.
For any fixed constant ''k'', the matroids with branchwidth at most ''k'' can be recognized in
polynomial time
In computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations performed by ...
by an algorithm that has access to the matroid via an
independence oracle
In mathematics and computer science, a matroid oracle is a subroutine through which an algorithm may access a matroid, an abstract combinatorial structure that can be used to describe the linear dependencies between vectors in a vector space or th ...
.
Forbidden minors

By the
Robertson–Seymour theorem, the graphs of branchwidth ''k'' can be characterized by a finite set of
forbidden minors. The graphs of branchwidth 0 are the
matchings; the minimal forbidden minors are a two-edge
path graph and a triangle graph (or the two-edge cycle, if multigraphs rather than simple graphs are considered).
The graphs of branchwidth 1 are the graphs in which each
connected component is a
star
A star is an astronomical object comprising a luminous spheroid of plasma (physics), plasma held together by its gravity. The List of nearest stars and brown dwarfs, nearest star to Earth is the Sun. Many other stars are visible to the naked ...
; the minimal forbidden minors for branchwidth 1 are the triangle graph (or the two-edge cycle, if multigraphs rather than simple graphs are considered) and the three-edge path graph.
The graphs of branchwidth 2 are the graphs in which each
biconnected component is a
series–parallel graph; the only minimal forbidden minor is the
complete graph ''K''
4 on four vertices.
[, Theorem 4.2, p. 165.] A graph has branchwidth three if and only if it has treewidth three and does not have the
cube graph
In graph theory, the hypercube graph is the graph formed from the vertices and edges of an -dimensional hypercube. For instance, the cube graph is the graph formed by the 8 vertices and 12 edges of a three-dimensional cube.
has vertices, ...
as a minor; therefore, the four minimal forbidden minors are three of the four forbidden minors for treewidth three (the graph of the
octahedron, the complete graph ''K''
5, and the
Wagner graph) together with the cube graph.
Forbidden minors have also been studied for matroid branchwidth, despite the lack of a full analogue to the Robertson–Seymour theorem in this case. A matroid has branchwidth one if and only if every element is either a loop or a coloop, so the unique minimal forbidden minor is the
uniform matroid U(2,3), the graphic matroid of the triangle graph. A matroid has branchwidth two if and only if it is the graphic matroid of a graph of branchwidth two, so its minimal forbidden minors are the graphic matroid of ''K''
4 and the non-graphic matroid U(2,4). The matroids of branchwidth three are not well-quasi-ordered without the additional assumption of representability over a finite field, but nevertheless the matroids with any finite bound on their branchwidth have finitely many minimal forbidden minors, all of which have a number of elements that is at most exponential in the branchwidth.
[; .]
Notes
References
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*
*.
**Addendum and corrigendum: .
*.
*.
*.
*.
{{refend
Trees (graph theory)
Graph minor theory
Graph invariants
Matroid theory