Linear Clique-Width Calculator

linear construction width

CalculatorsFreeNo Signup
4.5(526 reviews)
All Tools

Loading tool...

About Linear Clique-Width Calculator

A linear clique-width calculator computing lcw(G): clique-width restricted to linear expressions (no branching). lcw ≥ cw always. lcw related to pathwidth as cw relates to treewidth. NLC-width variant. Lozin-Rautenbach. Client-side.

Linear Clique-Width Calculator Features

  • lcw(G)
  • Linear expr
  • vs cw
  • Caterpillar
  • Common graphs
Linear clique-width lcw(G): clique-width with linear (sequential, non-branching) expression trees. lcw ≥ cw. As pathwidth is to treewidth, lcw is to cw. Captures 'linear' dense structure. lcw = pw for sparse graphs (roughly).

How to Use

Select graph:

  • lcw: Linear cw
  • vs cw: Compare
  • Linear: No branching

Linear vs General

Clique-width: expression tree can branch (disjoint union). Linear: each step adds one vertex (like pathwidth). lcw ≥ cw since we lose the branching power. Gap can be exponential in theory.

NLC-Width

Closely related to NLC-width (node label controlled). Same expressiveness as clique-width up to exponential factor. Linear NLC-width = linear clique-width (essentially). Different names, same concept.

Step-by-Step Instructions

  1. 1Select graph.
  2. 2Build linear expr.
  3. 3Count labels.
  4. 4Compare with cw.
  5. 5Check gap.

Linear Clique-Width Calculator — Frequently Asked Questions

Why use linear clique-width?+

Simpler algorithms! Linear expressions process vertices one-by-one (like scanning). Many dynamic programming algorithms run faster with linear decompositions. Trade expressiveness for simplicity.

How does lcw relate to pathwidth?+

For sparse graphs: lcw ≈ pw (roughly). As pathwidth linearizes treewidth for sparse graphs, lcw linearizes clique-width for dense graphs. Beautiful parallel in the width parameter hierarchy.

Is lcw harder to compute than cw?+

Both NP-hard in general. For fixed k: recognizing lcw ≤ k relates to recognizing bounded linear rank-width (linear analogue). Research is more advanced for cw due to rank-width connection.

Share this tool: