Algorithms for P4-Comparability Graph Recognition
and Acyclic P4-Transitive Orientation |
| |
Authors: | Stavros D.?NikolopoulosEmail author Leonidas?PaliosEmail author |
| |
Affiliation: | (1) Department of Computer Science, University of Ioannina, 45110 Ioannina, Greece |
| |
Abstract: | We consider two problems pertaining to P4-comparability graphs,
namely, the problem of recognizing whether a simple undirected graph
is a P4-comparability graph and the problem of producing an
acyclic P4-transitive orientation of a P4-comparability graph.
These problems have been considered by Hoàng and Reed who
described O(n4)- and O(n5)-time algorithms for their solution,
respectively, where n is the number of vertices of the input graph.
Faster algorithms have recently been presented by Raschle and Simon,
and by Nikolopoulos and Palios;
the time complexity of these algorithms for either problem is
O(n + m2), where m is the number of edges of the graph.
In this paper we describe O(n m)-time and O(n + m)-space algorithms
for the recognition and the acyclic P4-transitive orientation problems
on P4-comparability graphs.
The algorithms rely on properties of the P4-components of a graph,
which we establish, and on the efficient construction of the P4-components
by means of the BFS-trees of the complement of the graph
rooted at each of its vertices, without however explicitly computing
the complement.
Both algorithms are simple and use simple data structures. |
| |
Keywords: | Perfectly orderable graph Comparability graph P4-comparability graph P4-component Recognition P4-transitive orientation |
本文献已被 SpringerLink 等数据库收录! |
|