A Polynomial-Time Algorithm for Finding Regular Simple Paths in Outerplanar Graphs |
| |
Authors: | Zhivko P. Nedev Peter T. Wood |
| |
Affiliation: | a Department of Computer Science, University of Cape Town, Rondebosch, 7700, South Africa;b Department of Computer Science, King's College London, Strand, London, WC2R 2LS, United Kingdom |
| |
Abstract: | ![]() Let G be a labeled directed graph with arc labels drawn from alphabet Σ, R be a regular expression over Σ, and x and y be a pair of nodes from G. The regular simple path (RSP) problem is to determine whether there is a simple path p in G from x to y, such that the concatenation of arc labels along p satisfies R. Although RSP is known to be NP-hard in general, we show that it is solvable in polynomial time when G is outerplanar. The proof proceeds by presenting an algorithm which gives a polynomial-time reduction of RSP for outerplanar graphs to RSP for directed acyclic graphs, a problem which has been shown to be solvable in polynomial time. |
| |
Keywords: | labeled directed graphs NP-completeness polynomial-time algorithms regular expressions simple paths outerplanar graphs |
本文献已被 ScienceDirect 等数据库收录! |
|