# Item

ITEM ACTIONSEXPORT

Released

Report

#### Shortest paths in digraphs of small treewidth sequential algorithms

##### MPS-Authors

##### Locator

There are no locators available

##### Fulltext (public)

MPI-I-95-1-020.pdf

(Any fulltext), 208KB

##### Supplementary Material (public)

There is no public supplementary material available

##### Citation

Chaudhuri, S., & Zaroliagis, C.(1995). *Shortest paths in
digraphs of small treewidth sequential algorithms* (MPI-I-1995-1-020). Saarbrücken: Max-Planck-Institut für Informatik.

Cite as: http://hdl.handle.net/11858/00-001M-0000-0014-A428-F

##### Abstract

We consider the problem of preprocessing an $n$-vertex digraph with
real edge weights so that subsequent queries for the shortest path or distance
between any two vertices can be efficiently answered.
We give algorithms
that depend on the {\em treewidth} of the input graph. When the
treewidth is a constant, our algorithms can answer distance queries in
$O(\alpha(n))$ time after $O(n)$ preprocessing. This improves upon
previously known results for the same problem.
We also give a
dynamic algorithm which, after a change in an edge weight, updates the
data structure in time $O(n^\beta)$, for any constant $0 < \beta < 1$.
Furthermore, an algorithm of independent interest is given:
computing a shortest path tree, or finding a negative cycle in linear
time.