Carving Width Calculator

binary partition width

CalculatorsFreeNo Signup
4.4(441 reviews)
All Tools

Loading tool...

About Carving Width Calculator

A carving width calculator computing carvingwidth(G): binary tree decomposition where leaves = edges, width = max number of edges crossing any partition. Dual to branchwidth. carvingwidth = branchwidth for 3-connected graphs. Client-side.

Carving Width Calculator Features

  • cw value
  • vs branchwidth
  • Binary tree
  • 3-connected
  • Common graphs
Carving width: binary recursive partitioning of edges. Width = max number of edges crossing any partition boundary. Dual to branchwidth for 3-connected graphs. Used in fixed-parameter algorithms. Computable in O(n) for fixed parameter.

How to Use

Select graph:

  • cw: Carving width
  • Tree: Decomposition
  • vs bw: Branchwidth

Carving Decomposition

Binary tree T: leaves = edges of G. Each internal node partitions edge set into two. Width at node = number of vertices in both sides. Carving width = minimum over all such trees of the maximum width.

Algorithms

Seymour-Thomas: for 3-connected graphs, carvingwidth = branchwidth. FPT: O(n) for fixed carving width. Dynamic programming on carving decompositions solves many hard problems efficiently.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Build carving tree.
  3. 3Compute partition widths.
  4. 4Minimize maximum.
  5. 5Apply DP.

Carving Width Calculator — Frequently Asked Questions

How does carving width relate to branchwidth?+

For 3-connected graphs: carvingwidth = branchwidth. In general: branchwidth ≤ carvingwidth. Carving decomposes edges; branchwidth decomposes via branch decomposition. Dual viewpoints on the same structure.

What's the difference from treewidth?+

Treewidth uses bags of vertices; carving width uses binary edge partitions. Related: branchwidth ≤ treewidth + 1 ≤ 3/2 · branchwidth. Different decomposition styles, similar power for algorithms.

Where is carving width used?+

TSP and other optimization on bounded carving width graphs. Network reliability. VLSI: recursive bisection layouts. Polynomial-time algorithms for many NP-hard problems when carving width is bounded.

Share this tool: