In the
mathematical
Mathematics is an area of knowledge that includes the topics of numbers, formulas and related structures, shapes and the spaces in which they are contained, and quantities and their changes. These topics are represented in modern mathematics ...
area of
graph theory
In mathematics, graph theory is the study of '' graphs'', which are mathematical structures used to model pairwise relations between objects. A graph in this context is made up of '' vertices'' (also called ''nodes'' or ''points'') which are conn ...
, a chordal graph is one in which all
cycles of four or more
vertices have a ''chord'', which is an
edge that is not part of the cycle but connects two vertices of the cycle. Equivalently, every
induced cycle
In the mathematical area of graph theory, an induced path in an undirected graph is a path that is an induced subgraph of . That is, it is a sequence of vertices in such that each two adjacent vertices in the sequence are connected by an ...
in the graph should have exactly three vertices. The chordal graphs may also be characterized as the graphs that have perfect elimination orderings, as the graphs in which each minimal separator is a clique, and as the
intersection graph
In graph theory, an intersection graph is a graph that represents the pattern of intersections of a family of sets. Any graph can be represented as an intersection graph, but some important special classes of graphs can be defined by the types of ...
s of subtrees of a tree. They are sometimes also called rigid circuit graphs
[.] or triangulated graphs.
[.]
Chordal graphs are a subset of the
perfect graph
In graph theory, a perfect graph is a graph in which the chromatic number of every induced subgraph equals the order of the largest clique of that subgraph ( clique number). Equivalently stated in symbolic terms an arbitrary graph G=(V,E) is per ...
s. They may be recognized in
linear time, and several problems that are hard on other classes of graphs such as
graph coloring
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices ...
may be solved in polynomial time when the input is chordal. The
treewidth of an arbitrary graph may be characterized by the size of the
cliques in the chordal graphs that contain it.
Perfect elimination and efficient recognition
A ''perfect elimination ordering'' in a graph is an ordering of the vertices of the graph such that, for each vertex , and the
neighbors of that occur after in the order form a
clique
A clique ( AusE, CanE, or ), in the social sciences, is a group of individuals who interact with one another and share similar interests. Interacting with cliques is part of normative social development regardless of gender, ethnicity, or popula ...
. A graph is chordal
if and only if
In logic and related fields such as mathematics and philosophy, "if and only if" (shortened as "iff") is a biconditional logical connective between statements, where either both statements are true or both are false.
The connective is bi ...
it has a perfect elimination ordering.
(see also ) show that a perfect elimination ordering of a chordal graph may be found efficiently using an algorithm known as
lexicographic breadth-first search. This algorithm maintains a partition of the vertices of the graph into a sequence of sets; initially this sequence consists of a single set with all vertices. The algorithm repeatedly chooses a vertex from the earliest set in the sequence that contains previously unchosen vertices, and splits each set of the sequence into two smaller subsets, the first consisting of the neighbors of in and the second consisting of the non-neighbors. When this splitting process has been performed for all vertices, the sequence of sets has one vertex per set, in the reverse of a perfect elimination ordering.
Since both this lexicographic breadth first search process and the process of testing whether an ordering is a perfect elimination ordering can be performed in
linear time, it is possible to recognize chordal graphs in linear time. The
graph sandwich problem on chordal graphs is
NP-complete
In computational complexity theory, a problem is NP-complete when:
# it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by tryin ...
whereas the probe graph problem on chordal graphs has polynomial-time complexity.
The set of all perfect elimination orderings of a chordal graph can be modeled as the ''basic words'' of an
antimatroid; use this connection to antimatroids as part of an algorithm for efficiently listing all perfect elimination orderings of a given chordal graph.
Maximal cliques and graph coloring
Another application of perfect elimination orderings is finding a maximum
clique
A clique ( AusE, CanE, or ), in the social sciences, is a group of individuals who interact with one another and share similar interests. Interacting with cliques is part of normative social development regardless of gender, ethnicity, or popula ...
of a chordal graph in polynomial-time, while the same problem for general graphs is
NP-complete
In computational complexity theory, a problem is NP-complete when:
# it is a problem for which the correctness of each solution can be verified quickly (namely, in polynomial time) and a brute-force search algorithm can find a solution by tryin ...
. More generally, a chordal graph can have only linearly many
maximal cliques, while non-chordal graphs may have exponentially many. To list all maximal cliques of a chordal graph, simply find a perfect elimination ordering, form a clique for each vertex together with the neighbors of that are later than in the perfect elimination ordering, and test whether each of the resulting cliques is maximal.
The
clique graphs of chordal graphs are the
dually chordal graphs.
The largest maximal clique is a maximum clique, and, as chordal graphs are perfect, the size of this clique equals the
chromatic number
In graph theory, graph coloring is a special case of graph labeling; it is an assignment of labels traditionally called "colors" to elements of a graph subject to certain constraints. In its simplest form, it is a way of coloring the vertices o ...
of the chordal graph. Chordal graphs are
perfectly orderable: an optimal coloring may be obtained by applying a
greedy coloring
In the study of graph coloring problems in mathematics and computer science, a greedy coloring or sequential coloring is a coloring of the vertices of a graph formed by a greedy algorithm that considers the vertices of the graph in sequence a ...
algorithm to the vertices in the reverse of a perfect elimination ordering.
The
chromatic polynomial of a chordal graph is easy to compute. Find a perfect elimination ordering . Let equal the number of neighbors of that come after in that ordering. For instance, . The chromatic polynomial equals
(The last factor is simply , so divides the polynomial, as it should.) Clearly, this computation depends on chordality.
Minimal separators
In any graph, a
vertex separator is a set of vertices the removal of which leaves the remaining graph disconnected; a separator is minimal if it has no proper subset that is also a separator. According to a theorem of , chordal graphs are graphs in which each minimal separator is a clique; Dirac used this characterization to prove that chordal graphs are
perfect
Perfect commonly refers to:
* Perfection, completeness, excellence
* Perfect (grammar), a grammatical category in some languages
Perfect may also refer to:
Film
* Perfect (1985 film), ''Perfect'' (1985 film), a romantic drama
* Perfect (2018 f ...
.
The family of chordal graphs may be defined inductively as the graphs whose vertices can be divided into three nonempty subsets , , and , such that and both form chordal
induced subgraphs, is a clique, and there are no edges from to . That is, they are the graphs that have a recursive decomposition by clique separators into smaller subgraphs. For this reason, chordal graphs have also sometimes been called decomposable graphs.
Intersection graphs of subtrees
An alternative characterization of chordal graphs, due to , involves
trees
In botany, a tree is a perennial plant with an elongated stem, or trunk, usually supporting branches and leaves. In some usages, the definition of a tree may be narrower, including only woody plants with secondary growth, plants that are ...
and their subtrees.
From a collection of subtrees of a tree, one can define a subtree graph, which is an
intersection graph
In graph theory, an intersection graph is a graph that represents the pattern of intersections of a family of sets. Any graph can be represented as an intersection graph, but some important special classes of graphs can be defined by the types of ...
that has one vertex per subtree and an edge connecting any two subtrees that overlap in one or more nodes of the tree. Gavril showed that the subtree graphs are exactly the chordal graphs.
A representation of a chordal graph as an intersection of subtrees forms a
tree decomposition of the graph, with
treewidth equal to one less than the size of the largest clique in the graph; the tree decomposition of any graph ''G'' can be viewed in this way as a representation of ''G'' as a subgraph of a chordal graph. The tree decomposition of a graph is also the junction tree of the
junction tree algorithm
The junction tree algorithm (also known as 'Clique Tree') is a method used in machine learning to extract marginalization in general graphs. In essence, it entails performing belief propagation on a modified graph called a junction tree. The ...
.
Relation to other graph classes
Subclasses
Interval graph
In graph theory, an interval graph is an undirected graph formed from a set of intervals on the real line,
with a vertex for each interval and an edge between vertices whose intervals intersect. It is the intersection graph of the intervals.
...
s are the intersection graphs of subtrees of
path graph
In the mathematical field of graph theory, a path graph or linear graph is a graph whose vertices can be listed in the order such that the edges are where . Equivalently, a path with at least two vertices is connected and has two terminal ...
s, a special case of trees. Therefore, they are a subfamily of chordal graphs.
Split graphs are graphs that are both chordal and the
complements of chordal graphs. showed that, in the limit as goes to infinity, the fraction of -vertex chordal graphs that are split approaches one.
Ptolemaic graphs are graphs that are both chordal and
distance hereditary.
Quasi-threshold graph
In graph theory, a trivially perfect graph is a graph with the property that in each of its induced subgraphs the size of the maximum independent set equals the number of maximal cliques. Trivially perfect graphs were first studied by but were ...
s are a subclass of Ptolemaic graphs that are both chordal and
cographs.
Block graph
In graph theory, a branch of combinatorial mathematics, a block graph or clique tree.
is a type of undirected graph in which every biconnected component (block) is a clique.
Block graphs are sometimes erroneously called Husimi trees (after ...
s are another subclass of Ptolemaic graphs in which every two maximal cliques have at most one vertex in common. A special type is
windmill graphs, where the common vertex is the same for every pair of cliques.
Strongly chordal graphs are graphs that are chordal and contain no -sun (for ) as an induced subgraph. Here an -sun is an -vertex chordal graph together with a collection of degree-two vertices, adjacent to the edges of a
Hamiltonian cycle in .
-trees are chordal graphs in which all maximal cliques and all maximal clique separators have the same size.
[.] Apollonian networks are chordal maximal
planar graph
In graph theory, a planar graph is a graph that can be embedded in the plane, i.e., it can be drawn on the plane in such a way that its edges intersect only at their endpoints. In other words, it can be drawn in such a way that no edges cro ...
s, or equivalently planar 3-trees.
Maximal
outerplanar graphs are a subclass of 2-trees, and therefore are also chordal.
Superclasses
Chordal graphs are a subclass of the well known
perfect graph
In graph theory, a perfect graph is a graph in which the chromatic number of every induced subgraph equals the order of the largest clique of that subgraph ( clique number). Equivalently stated in symbolic terms an arbitrary graph G=(V,E) is per ...
s.
Other superclasses of chordal graphs include weakly chordal graphs,
cop-win graph
In graph theory, a cop-win graph is an undirected graph on which the pursuer (cop) can always win a pursuit–evasion game against a robber, with the players taking alternating turns in which they can chose to move along an edge of a graph or st ...
s, odd-hole-free graphs,
even-hole-free graph
In the mathematical area of graph theory, a graph is even-hole-free if it contains no induced cycle with an even number of vertices. More precisely, the definition may allow the graph to have induced cycles of length four, or may also disallow the ...
s, and
Meyniel graphs. Chordal graphs are precisely the graphs that are both odd-hole-free and even-hole-free (see
holes in graph theory).
Every chordal graph is a
strangulated graph
In graph theoretic mathematics, a strangulated graph is a graph in which deleting the edges of any induced cycle of length greater than three would disconnect the remaining graph. That is, they are the graphs in which every peripheral cycle is ...
, a graph in which every
peripheral cycle
In graph theory, a peripheral cycle (or peripheral circuit) in an undirected graph is, intuitively, a cycle that does not separate any part of the graph from any other part. Peripheral cycles (or, as they were initially called, peripheral polygo ...
is a triangle, because peripheral cycles are a special case of induced cycles. Strangulated graphs are graphs that can be formed by
clique-sums of chordal graphs and maximal planar graphs. Therefore, strangulated graphs include
maximal planar graphs.
Chordal completions and treewidth
If is an arbitrary graph, a chordal completion of (or minimum fill-in) is a chordal graph that contains as a subgraph. The parameterized version of minimum fill-in is
fixed parameter tractable, and moreover, is solvable in parameterized subexponential time.
The
treewidth of is one less than the number of vertices in a
maximum clique of a chordal completion chosen to minimize this clique size.
The
-trees are the graphs to which no additional edges can be added without increasing their treewidth to a number larger than .
Therefore, the -trees are their own chordal completions, and form a subclass of the chordal graphs. Chordal completions can also be used to characterize several other related classes of graphs.
Notes
References
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
*.
External links
Information System on Graph Class Inclusions*{{mathworld , urlname = ChordalGraph , title = Chordal Graph
Graph families
Perfect graphs
Intersection classes of graphs