Longest paths in planar dags in unambiguous logspace

Limaye, Nutan ; Mahajan, Meena ; Nimbhorkar, Prajakta (2010) Longest paths in planar dags in unambiguous logspace Chicago Journal of Theoretical Computer Science, 16 (1). pp. 1-16. ISSN 1073-0486

[img] PDF
226kB

Official URL: http://doi.org/10.4086/cjtcs.2010.008

Related URL: http://dx.doi.org/10.4086/cjtcs.2010.008

Abstract

We present a transformation from longest paths to shortest paths in sub-classes of directed acyclic graphs (DAGs). The transformation needs log-space and oracle access to reachability in the same class of graphs. As a corollary, we obtain our main result: Longest Paths in planar DAGs is in UL ∩ co-UL. The result also extends to toroidal DAGs. Further, we show that Longest Paths in max-unique DAGs where the target node is the unique sink is in UL ∩ co-UL. We show that for planar DAGs with the promise that the number of distinct paths is bounded by a polynomial, counting paths can be done by an unambiguous pushdown automaton equipped with an auxiliary log-space worktape and running in polynomial time. This bound also holds if we want to compute the number of longest paths, or shortest paths, and this number is bounded by a polynomial (irrespective of the total number of paths). Along the way, we show that counting paths in general DAGs can be done by a deterministic pushdown automaton with an auxiliary log-space worktape and running in polynomial time, and hence is in the complexity class LogDCFL, provided the number of paths is bounded by a polynomial and the target node is the only sink.

Item Type:Article
Source:Copyright of this article belongs to ResearchGate GmbH.
ID Code:127998
Deposited On:14 Oct 2022 11:30
Last Modified:14 Oct 2022 11:30

Repository Staff Only: item control page