Perfectly orderable graph
In graph theory, a perfectly orderable graph is a graph whose vertices can be ordered in such a way that a greedy coloring algorithm with that ordering optimally colors every induced subgraph of the given graph. Perfectly orderable graphs form a special case of the perfect graphs, and they include the chordal graphs, comparability graphs, and distance-hereditary graphs. However, testing whether a graph is perfectly orderable is NP-complete.
The greedy coloring algorithm, when applied to a given ordering of the vertices of a graph G, considers the vertices of the graph in sequence and assigns each vertex its first available color. Different vertex orderings will lead this algorithm to use different numbers of colorings; there is always an ordering that leads to an optimal coloring (for instance, the ordering determined from an optimal coloring by sorting the vertices by their color has this property) but it may be difficult to find. The perfectly orderable graphs are defined to be the graphs for which there is an ordering that is optimal for the greedy algorithm not just for the graph itself, but for all of its induced subgraphs.
More formally, a graph G is said to be perfectly orderable if there exists an ordering π of the vertices of G, such that any induced subgraph is optimally colored by the greedy algorithm using the subsequence of π induced by the vertices of the subgraph. An ordering π has this property exactly when there do not exist four vertices a, b, c, and d for which abcd is an induced path, a appears before b in the ordering, and c appears after d in the ordering.
Perfectly orderable graphs are NP-complete to recognize. However, it is easy to test whether a particular ordering is a perfect ordering of a graph. Consequentially, it is also NP-hard to find a perfect ordering of a graph, even if the graph is already known to be perfectly orderable.
Related graph classes
Chordal graphs are perfectly orderable; a perfect ordering of a chordal graph may be found by reversing a perfect elimination ordering for the graph. Thus, applying greedy coloring to a perfect ordering provides an efficient algorithm for optimally coloring chordal graphs. Comparability graphs are also perfectly orderable, with a perfect ordering being given by a topological ordering of a transitive orientation of the graph.
A concept intermediate between the perfect elimination ordering of a chordal graph and a perfect ordering is a semiperfect elimination ordering: in an elimination ordering, there is no three-vertex induced path in which the middle vertex is the first of the three to be eliminated, and in a semiperfect elimination ordering, there is no four-vertex induced path in which one of the two middle vertices is the first to be eliminated. The reverse of this ordering therefore satisfies the requirements of a perfect ordering, so graphs with semiperfect elimination orderings are perfectly orderable. In particular, the same lexicographic breadth-first search algorithm used to find perfect elimination orders of chordal graphs can be used to find semiperfect elimination orders of distance-hereditary graphs, which are therefore also perfectly orderable.
Several additional classes of perfectly orderable graphs are known.
- Chvátal (1984); Maffray (2003).
- Middendorf & Pfeiffer (1990); Maffray (2003).
- Hoàng & Reed (1989); Brandstädt, Le & Spinrad (1999), pp. 70 and 82.
- Brandstädt, Le & Spinrad (1999), Theorem 5.2.4, p. 71.
- Chvátal et al. (1987); Hoàng & Reed (1989); Hoàng et al. (1992); Maffray (2003); Brandstädt, Le & Spinrad (1999), pp. 81–86.
- Brandstädt, Andreas; Le, Van Bang; Spinrad, Jeremy (1999), Graph Classes: A Survey, SIAM Monographs on Discrete Mathematics and Applications, ISBN 0-89871-432-X
- Chvátal, Václav (1984), "Perfectly orderable graphs", in Berge, Claude; Chvátal, Václav, Topics in Perfect Graphs, Annals of Discrete Mathematics 21, Amsterdam: North-Holland, pp. 63–68. As cited by Maffray (2003).
- Chvátal, Václav; Hoàng, Chính T.; Mahadev, N. V. R.; De Werra, D. (1987), "Four classes of perfectly orderable graphs", Journal of Graph Theory 11 (4): 481–495, doi:10.1002/jgt.3190110405.
- Dragan, F. F.; Nicolai, F. (1995), LexBFS-orderings of distance-hereditary graphs, Schriftenreihe des Fachbereichs Mathematik der Univ. Duisburg SM-DU-303. As cited by Brandstädt, Le & Spinrad (1999).
- Hoàng, Chính T.; Maffray, Frédéric; Olariu, Stephan; Preissmann, Myriam (1992), "A charming class of perfectly orderable graphs", Discrete Mathematics 102 (1): 67–74, doi:10.1016/0012-365X(92)90348-J.
- Hoàng, Chính T.; Reed, Bruce A. (1989), "Some classes of perfectly orderable graphs", Journal of Graph Theory 13 (4): 445–463, doi:10.1002/jgt.3190130407.
- Maffray, Frédéric (2003), "On the coloration of perfect graphs", in Reed, Bruce A.; Sales, Cláudia L., Recent Advances in Algorithms and Combinatorics, CMS Books in Mathematics 11, Springer-Verlag, pp. 65–84, doi:10.1007/0-387-22444-0_3, ISBN 0-387-95434-1.
- Middendorf, Matthias; Pfeiffer, Frank (1990), "On the complexity of recognizing perfectly orderable graphs", Discrete Mathematics 80 (3): 327–333, doi:10.1016/0012-365X(90)90251-C.