
In
graph theory
In mathematics and computer science, graph theory is the study of ''graph (discrete mathematics), graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of ''Vertex (graph ...
, the clique-width of a
graph
Graph may refer to:
Mathematics
*Graph (discrete mathematics), a structure made of vertices and edges
**Graph theory, the study of such graphs and their properties
*Graph (topology), a topological space resembling a graph in the sense of discret ...
is a parameter that describes the structural complexity of the graph; it is closely related to
treewidth
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests
...
, but unlike treewidth it can be small for
dense graphs.
It is defined as the minimum number of
labels needed to construct by means of the following 4 operations :
#Creation of a new vertex with label (denoted by )
#
Disjoint union
In mathematics, the disjoint union (or discriminated union) A \sqcup B of the sets and is the set formed from the elements of and labelled (indexed) with the name of the set from which they come. So, an element belonging to both and appe ...
of two labeled graphs and (denoted by
)
#Joining by an edge every vertex labeled to every vertex labeled (denoted by ), where
#Renaming label to label (denoted by )
Graphs of bounded clique-width include the
cographs and
distance-hereditary graphs. Although it is
NP-hard
In computational complexity theory, a computational problem ''H'' is called NP-hard if, for every problem ''L'' which can be solved in non-deterministic polynomial-time, there is a polynomial-time reduction from ''L'' to ''H''. That is, assumi ...
to compute the clique-width when it is unbounded, and unknown whether it can be computed in
polynomial time
In theoretical computer science, the time complexity is the computational complexity that describes the amount of computer time it takes to run an algorithm. Time complexity is commonly estimated by counting the number of elementary operations p ...
when it is bounded, efficient
approximation algorithm
In computer science and operations research, approximation algorithms are efficient algorithms that find approximate solutions to optimization problems (in particular NP-hard problems) with provable guarantees on the distance of the returned sol ...
s for clique-width are known.
Based on these algorithms and on
Courcelle's theorem, many graph optimization problems that are NP-hard for arbitrary graphs can be solved or approximated quickly on the graphs of bounded clique-width.
The construction sequences underlying the concept of clique-width were formulated by
Courcelle, Engelfriet, and Rozenberg in 1990 and by . The name "clique-width" was used for a different concept by . By 1993, the term already had its present meaning.
Special classes of graphs
Cographs are exactly the graphs with clique-width at most 2.
Every
distance-hereditary graph has clique-width at most 3. However, the clique-width of unit interval graphs is unbounded (based on their grid structure).
Similarly, the clique-width of bipartite permutation graphs is unbounded (based on similar grid structure).
Based on the characterization of cographs as the graphs with no induced subgraph isomorphic to a path with four vertices, the clique-width of many graph classes defined by forbidden induced subgraphs has been classified.
Other graphs with bounded clique-width include the
-leaf powers for bounded values of ; these are the
induced subgraph
In graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and ''all'' of the edges, from the original graph, connecting pairs of vertices in that subset.
Definition
Formally, let G=(V,E) ...
s of the leaves of a tree in the
graph power
In graph theory, a branch of mathematics, the th power of an undirected graph is another graph that has the same set of vertex (graph theory), vertices, but in which two vertices are adjacent when their Distance (graph theory), distance in is ...
. However, leaf powers with unbounded exponents do not have bounded clique-width.
Bounds
and proved the following bounds on the clique-width of certain graphs:
*If a graph has clique-width at most , then so does every
induced subgraph
In graph theory, an induced subgraph of a graph is another graph, formed from a subset of the vertices of the graph and ''all'' of the edges, from the original graph, connecting pairs of vertices in that subset.
Definition
Formally, let G=(V,E) ...
of the graph.
*The
complement graph
In the mathematical field of graph theory, the complement or inverse of a graph is a graph on the same vertices such that two distinct vertices of are adjacent if and only if they are not adjacent in . That is, to generate the complement of ...
of a graph of clique-width has clique-width at most .
*The graphs of
treewidth
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests
...
have clique-width at most . The exponential dependence in this bound is necessary: there exist graphs whose clique-width is exponentially larger than their treewidth. In the other direction, graphs of bounded clique-width can have unbounded treewidth; for instance, -vertex
complete graph
In the mathematical field of graph theory, a complete graph is a simple undirected graph in which every pair of distinct vertices is connected by a unique edge. A complete digraph is a directed graph in which every pair of distinct vertices i ...
s have clique-width 2 but treewidth . However, graphs of clique-width that
have no complete bipartite graph as a subgraph have treewidth at most . Therefore, for every family of
sparse graph
In mathematics, a dense graph is a Graph (discrete mathematics), graph in which the number of edges is close to the maximal number of edges (where every pair of Vertex (graph theory), vertices is connected by one edge). The opposite, a graph with ...
s, having bounded treewidth is equivalent to having bounded clique-width.
*Another graph parameter, the
rank-width, is bounded in both directions by the clique-width:
Additionally, if a graph has clique-width , then the
graph power
In graph theory, a branch of mathematics, the th power of an undirected graph is another graph that has the same set of vertex (graph theory), vertices, but in which two vertices are adjacent when their Distance (graph theory), distance in is ...
has clique-width at most . Although there is an exponential gap in both the bound for clique-width from treewidth and the bound for clique-width of graph powers, these bounds do not compound each other:
if a graph has treewidth , then has clique-width at most , only singly exponential in the treewidth.
Computational complexity
Many optimization problems that are
NP-hard
In computational complexity theory, a computational problem ''H'' is called NP-hard if, for every problem ''L'' which can be solved in non-deterministic polynomial-time, there is a polynomial-time reduction from ''L'' to ''H''. That is, assumi ...
for more general classes of graphs may be solved efficiently by
dynamic programming on graphs of bounded clique-width, when a construction sequence for these graphs is known. In particular, every
graph property that can be expressed in MSO
1 monadic second-order logic (a form of logic allowing quantification over sets of vertices) has a linear-time algorithm for graphs of bounded clique-width, by a form of
Courcelle's theorem.
It is also possible to find optimal
graph coloring
In graph theory, graph coloring is a methodic assignment of labels traditionally called "colors" to elements of a Graph (discrete mathematics), graph. The assignment is subject to certain constraints, such as that no two adjacent elements have th ...
s or
Hamiltonian cycle
In the mathematics, mathematical field of graph theory, a Hamiltonian path (or traceable path) is a path (graph theory), path in an undirected or directed graph that visits each vertex (graph theory), vertex exactly once. A Hamiltonian cycle (or ...
s for graphs of bounded clique-width in polynomial time, when a construction sequence is known, but the exponent of the polynomial increases with the clique-width, and evidence from computational complexity theory shows that this dependence is likely to be necessary.
The graphs of bounded clique-width are
-bounded, meaning that their chromatic number is at most a function of the size of their largest clique.
The graphs of clique-width three can be recognized, and a construction sequence found for them, in polynomial time using an algorithm based on
split decomposition.
For graphs of unbounded clique-width, it is
NP-hard
In computational complexity theory, a computational problem ''H'' is called NP-hard if, for every problem ''L'' which can be solved in non-deterministic polynomial-time, there is a polynomial-time reduction from ''L'' to ''H''. That is, assumi ...
to compute the clique-width exactly, and also NP-hard to obtain an approximation with sublinear additive error. However, when the clique-width is bounded, it is possible to obtain a construction sequence of bounded width (exponentially larger than the actual clique-width) in polynomial time,
[; ; ; .] in particular in quadratic time in the number of vertices. It remains open whether the exact clique-width, or a tighter approximation to it, can be calculated in
fixed-parameter tractable time, whether it can be calculated in polynomial time for every fixed bound on the clique-width, or even whether the graphs of clique-width four can be recognized in polynomial time.
Related width parameters
The theory of graphs of bounded clique-width resembles that for graphs of bounded
treewidth
In graph theory, the treewidth of an undirected graph is an integer number which specifies, informally, how far the graph is from being a tree. The smallest treewidth is 1; the graphs with treewidth 1 are exactly the trees and the forests
...
, but unlike treewidth allows for
dense graphs. If a family of graphs has bounded clique-width, then either it has bounded treewidth or every
complete bipartite graph
In the mathematical field of graph theory, a complete bipartite graph or biclique is a special kind of bipartite graph where every vertex of the first set is connected to every vertex of the second set..Electronic edition page 17.
Graph theory ...
is a subgraph of a graph in the family. Treewidth and clique-width are also connected through the theory of
line graph
In the mathematics, mathematical discipline of graph theory, the line graph of an undirected graph is another graph that represents the adjacencies between edge (graph theory), edges of . is constructed in the following way: for each edge i ...
s: a family of graphs has bounded treewidth if and only if their line graphs have bounded clique-width.
The graphs of bounded clique-width also have bounded
twin-width.
Notes
References
*
*.
*.
*.
*.
*.
*.
*.
*.
*. Presented in preliminary form in Graph grammars and their application to computer science (Bremen, 1990), .
*.
*.
*.
*
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
{{refend
Graph invariants