Treewidth Calculator

how tree-like is G?

All Tools

Loading tool...

About Treewidth Calculator

A treewidth calculator computing tw(G): minimum width of a tree decomposition. tw(tree)=1, tw(cycle)=2, tw(K_n)=n-1, tw(grid)=min(m,n). Many NP-hard problems become polynomial for bounded treewidth (Courcelle's theorem). Client-side.

Treewidth Calculator Features

  • tw(G) value
  • Tree decomposition
  • Courcelle's thm
  • Common graphs
  • FPT algorithms
Advertisement
Advertisement