In graph theory, a branch of discrete mathematics, a distance-hereditary graph (also called a completely separable graph)[1] is a graph in which the distances in any connected induced subgraph are the same as they are in the original graph. Thus, any induced subgraph inherits the distances of the larger graph.
Distance-hereditary graphs were named and first studied by, although an equivalent class of graphs was already shown to be perfect in 1970 by Olaru and Sachs.[2]
It has been known for some time that the distance-hereditary graphs constitute an intersection class of graphs, but no intersection model was known until one was given by .
The original definition of a distance-hereditary graph is a graph such that, if any two vertices and belong to a connected induced subgraph of, then some shortest path connecting and in must be a subgraph of, so that the distance between and in is the same as the distance in .
Distance-hereditary graphs can also be characterized in several other equivalent ways:[3]
Every distance-hereditary graph is a perfect graph,[6] more specifically a perfectly orderable graph[7] and a Meyniel graph. Every distance-hereditary graph is also a parity graph, a graph in which every two induced paths between the same pair of vertices both have odd length or both have even length.[8] Every even power of a distance-hereditary graph (that is, the graph formed by connecting pairs of vertices at distance at most in) is a chordal graph.[9]
Every distance-hereditary graph can be represented as the intersection graph of chords on a circle, forming a circle graph. This can be seen by building up the graph by adding pendant vertices, false twins, and true twins, at each step building up a corresponding set of chords representing the graph. Adding a pendant vertex corresponds to adding a chord near the endpoints of an existing chord so that it crosses only that chord; adding false twins corresponds to replacing a chord by two parallel chords crossing the same set of other chords; and adding true twins corresponds to replacing a chord by two chords that cross each other but are nearly parallel and cross the same set of other chords.
A distance-hereditary graph is bipartite if and only if it is triangle-free. Bipartite distance-hereditary graphs can be built up from a single vertex by adding only pendant vertices and false twins, since any true twin would form a triangle, but the pendant vertex and false twin operations preserve bipartiteness. Every bipartite distance-hereditary graph is chordal bipartite and modular.[10]
The graphs that can be built from a single vertex by pendant vertices and true twins, without any false twin operations, are special cases of the Ptolemaic graphs and include the block graphs. The graphs that can be built from a single vertex by false twin and true twin operations, without any pendant vertices, are the cographs, which are therefore distance-hereditary; the cographs are exactly the disjoint unions of diameter-2 distance-hereditary graphs. The neighborhood of any vertex in a distance-hereditary graph is a cograph. The transitive closure of the directed graph formed by choosing any set of orientations for the edges of any tree is distance-hereditary; the special case in which the tree is oriented consistently away from some vertex forms a subclass of distance-hereditary graphs known as the trivially perfect graphs, which are also called chordal cographs.[11]
Distance-hereditary graphs can be recognized, and parsed into a sequence of pendant vertex and twin operations, in linear time.[12]
Because distance-hereditary graphs are perfect, some optimization problems can be solved in polynomial time for them despite being NP-hard for more general classes of graphs. Thus, it is possible in polynomial time to find the maximum clique or maximum independent set in a distance-hereditary graph, or to find an optimal graph coloring of any distance-hereditary graph.[13] Because distance-hereditary graphs are circle graphs, they inherit polynomial time algorithms for circle graphs; for instance, it is possible determine in polynomial time the treewidth of any circle graph and therefore of any distance-hereditary graph.[14] Additionally, the clique-width of any distance-hereditary graph is at most three.[15] As a consequence, by Courcelle's theorem, efficient dynamic programming algorithms exist for many problems on these graphs.[16]
Several other optimization problems can also be solved more efficiently using algorithms specifically designed for distance-hereditary graphs.As show, a minimum connected dominating set (or equivalently a spanning tree with the maximum possible number of leaves) can be found in polynomial time on a distance-hereditary graph.A Hamiltonian cycle or Hamiltonian path of any distance-hereditary graph can also be found in polynomial time.[17]