Chicago Journal of Theoretical Computer Science

CJTCS Special Issue: CATS 2009

Selected papers from

2009 Computing: The Australasian Theory Symposium

held in Wellington, New Zealand January 20-23 2009.

Guest Editors: Rod Downey, Victoria University of Wellington, NZ

Prabhu Manyem, Shanghai University, PRC.

Article 2010-8

Published by Dept. CS U. Chicago. Copyright 2010 CJTCS and the author.


Longest Paths in Planar DAGs in Unambiguous Log-Space

Nutan Limaye
The Institute of Mathematical Sciences
Chennai 600 113, India.
Email: nutan@imsc.res.in,
Meena Mahajan
The Institute of Mathematical Sciences
Chennai 600 113, India.
Email: meena@imsc.res.in
and Prajakta Nimbhorkar
The Institute of Mathematical Sciences
Chennai 600 113, India.
Email: prajakta@imsc.res.in
June 22, 2010
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



DOI: 10.4086/cjtcs.2010.008


[] Special Issue, CATS 2009, Article 4 [] Article 6

[back] Special Issue [back] Published articles
[CJCTS home]