Graph bandwidth

From HandWiki
Short description: Node labeling problem in graph theory

In graph theory, the graph bandwidth problem is to label the n vertices vi of a graph G with distinct integers [math]\displaystyle{ f(v_i) }[/math] so that the quantity [math]\displaystyle{ \max\{\,| f(v_i) - f(v_j)| : v_iv_j \in E \,\} }[/math] is minimized (E is the edge set of G).[1] The problem may be visualized as placing the vertices of a graph at distinct integer points along the x-axis so that the length of the longest edge is minimized. Such placement is called linear graph arrangement, linear graph layout or linear graph placement.[2]

The weighted graph bandwidth problem is a generalization wherein the edges are assigned weights wij and the cost function to be minimized is [math]\displaystyle{ \max\{\, w_{ij} |f(v_i) - f(v_j)| : v_iv_j \in E \,\} }[/math].

In terms of matrices, the (unweighted) graph bandwidth is the minimal bandwidth of a symmetric matrix which is an adjacency matrix of the graph. The bandwidth may also be defined as one less than the maximum clique size in a proper interval supergraph of the given graph, chosen to minimize its clique size (Kaplan Shamir).

Bandwidth formulas for some graphs

For several families of graphs, the bandwidth [math]\displaystyle{ \varphi(G) }[/math] is given by an explicit formula.

The bandwidth of a path graph Pn on n vertices is 1, and for a complete graph Km we have [math]\displaystyle{ \varphi(K_n)=n-1 }[/math]. For the complete bipartite graph Km,n,

[math]\displaystyle{ \varphi(K_{m,n}) = \lfloor (m-1)/2\rfloor+n }[/math], assuming [math]\displaystyle{ m \ge n\ge 1, }[/math]

which was proved by Chvátal.[3] As a special case of this formula, the star graph [math]\displaystyle{ S_k = K_{k,1} }[/math] on k + 1 vertices has bandwidth [math]\displaystyle{ \varphi(S_{k}) = \lfloor (k-1)/2\rfloor+1 }[/math].

For the hypercube graph [math]\displaystyle{ Q_n }[/math] on [math]\displaystyle{ 2^n }[/math] vertices the bandwidth was determined by (Harper 1966) to be

[math]\displaystyle{ \varphi(Q_n)=\sum_{m=0}^{n-1} \binom{m}{\lfloor m/2\rfloor}. }[/math]

Chvatálová showed[4] that the bandwidth of the m × n square grid graph [math]\displaystyle{ P_m \times P_n }[/math], that is, the Cartesian product of two path graphs on [math]\displaystyle{ m }[/math] and [math]\displaystyle{ n }[/math] vertices, is equal to min{m,n}.

Bounds

The bandwidth of a graph can be bounded in terms of various other graph parameters. For instance, letting χ(G) denote the chromatic number of G,

[math]\displaystyle{ \varphi(G) \ge \chi(G) - 1; }[/math]

letting diam(G) denote the diameter of G, the following inequalities hold:[5]

[math]\displaystyle{ \lceil (n-1)/\operatorname{diam}(G) \rceil \le \varphi(G) \le n - \operatorname{diam}(G), }[/math]

where [math]\displaystyle{ n }[/math] is the number of vertices in [math]\displaystyle{ G }[/math].

If a graph G has bandwidth k, then its pathwidth is at most k (Kaplan Shamir), and its tree-depth is at most k log(n/k) (Gruber 2012). In contrast, as noted in the previous section, the star graph Sk, a structurally very simple example of a tree, has comparatively large bandwidth. Observe that the pathwidth of Sk is 1, and its tree-depth is 2.

Some graph families of bounded degree have sublinear bandwidth: (Chung 1988) proved that if T is a tree of maximum degree at most ∆, then

[math]\displaystyle{ \varphi(T) \le \frac{5n}{\log_\Delta n}. }[/math]

More generally, for planar graphs of bounded maximum degree at most , a similar bound holds (cf. Böttcher et al. 2010):

[math]\displaystyle{ \varphi(G) \le \frac{20n}{\log_\Delta n}. }[/math]

Computing the bandwidth

Both the unweighted and weighted versions are special cases of the quadratic bottleneck assignment problem. The bandwidth problem is NP-hard, even for some special cases.[6] Regarding the existence of efficient approximation algorithms, it is known that the bandwidth is NP-hard to approximate within any constant, and this even holds when the input graphs are restricted to caterpillar trees with maximum hair length 2 (Dubey Feige). For the case of dense graphs, a 3-approximation algorithm was designed by (Karpinski Wirtgen). On the other hand, a number of polynomially-solvable special cases are known.[2] A heuristic algorithm for obtaining linear graph layouts of low bandwidth is the Cuthill–McKee algorithm. Fast multilevel algorithm for graph bandwidth computation was proposed in.[7]

Applications

The interest in this problem comes from some application areas.

One area is sparse matrix/band matrix handling, and general algorithms from this area, such as Cuthill–McKee algorithm, may be applied to find approximate solutions for the graph bandwidth problem.

Another application domain is in electronic design automation. In standard cell design methodology, typically standard cells have the same height, and their placement is arranged in a number of rows. In this context, graph bandwidth problem models the problem of placement of a set of standard cells in a single row with the goal of minimizing the maximal propagation delay (which is assumed to be proportional to wire length).

See also

  • Cutwidth and pathwidth, different NP-complete optimization problems involving linear layouts of graphs.

References

  1. (Chinn Chvátalová)
  2. 2.0 2.1 "Coping with the NP-Hardness of the Graph Bandwidth Problem", Uriel Feige, Lecture Notes in Computer Science, Volume 1851, 2000, pp. 129-145, doi:10.1007/3-540-44985-X_2
  3. A remark on a problem of Harary. V. Chvátal, Czechoslovak Mathematical Journal 20(1):109–111, 1970. http://dml.cz/dmlcz/100949
  4. Optimal Labelling of a product of two paths. J. Chvatálová, Discrete Mathematics 11, 249–253, 1975.
  5. Chinn et al. 1982
  6. Garey–Johnson: GT40
  7. Ilya Safro and Dorit Ron and Achi Brandt (2008). "Multilevel Algorithms for Linear Ordering Problems". ACM Journal of Experimental Algorithmics 13: 1.4–1.20. doi:10.1145/1412228.1412232. 

External links

  • Minimum bandwidth problem, in: Pierluigi Crescenzi and Viggo Kann (eds.), A compendium of NP optimization problems. Accessed May 26, 2010.