Cographs are exactly the graphs with clique-width at most 2; every distance-hereditary graph has clique-width at most 3 . Many optimization problems that are NP-hard for more general classes of graphs may be solved efficiently by dynamic programming on graphs of bounded clique-width (). The theory of graphs of bounded clique-width resembles that for graphs of bounded treewidth, but unlike treewidth allows for dense graphs.
| doi = 10.1142/S0129054100000260}}.