Lex-BFS and partition refinement, with applications to transitive orientation, interval graph recognition and consecutive ones testing

https://doi.org/10.1016/S0304-3975(97)00241-7Get rights and content
Under an Elsevier user license
open archive

Abstract

By making use of lexicographic breadth first search (Lex-BFS) and partition refinement with pivots, we obtain very simple algorithms for some well-known problems in graph theory.

We give a O(n+mlogn) algorithm for transitive orientation of a comparability graph, and simple linear algorithms to recognize interval graphs, convex graphs, Y-semichordal graphs and matrices that have the consecutive ones property.

Previous approaches to these problems used difficult preprocessing steps, such as computing PQ-trees or modular decomposition. The algorithms we give are easy to understand and straightforward to prove. They do not make use of sophisticated data structures, and the complexity analysis is straightforward.

Keywords

Algorithm
Data-structure
Partition refinement
Graph
Boolean matrix

Cited by (0)