pith. sign in

arxiv: 1806.09806 · v3 · pith:36JXAGO4new · submitted 2018-06-26 · 💻 cs.DS

Linear-Time Online Algorithm Inferring the Shortest Path from a Walk

classification 💻 cs.DS
keywords algorithmproblemgraphinferringonlinepathtimewalk
0
0 comments X
read the original abstract

We consider the problem of inferring an edge-labeled graph from the sequence of edge labels seen in a walk of that graph. It has been known that this problem is solvable in $O(n \log n)$ time when the targets are path or cycle graphs. This paper presents an online algorithm for the problem of this restricted case that runs in $O(n)$ time, based on Manacher's algorithm for computing all the maximal palindromes in a string.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.