English

Relations between automata and the simple k-path problem

Data Structures and Algorithms 2014-01-28 v3 Formal Languages and Automata Theory

Abstract

Let GG be a directed graph on nn vertices. Given an integer k<=nk<=n, the SIMPLE kk-PATH problem asks whether there exists a simple kk-path in GG. In case GG is weighted, the MIN-WT SIMPLE kk-PATH problem asks for a simple kk-path in GG of minimal weight. The fastest currently known deterministic algorithm for MIN-WT SIMPLE kk-PATH by Fomin, Lokshtanov and Saurabh runs in time O(2.851knO(1)logW)O(2.851^k\cdot n^{O(1)}\cdot \log W) for graphs with integer weights in the range [W,W][-W,W]. This is also the best currently known deterministic algorithm for SIMPLE k-PATH- where the running time is the same without the logW\log W factor. We define Lk(n)[n]kL_k(n)\subseteq [n]^k to be the set of words of length kk whose symbols are all distinct. We show that an explicit construction of a non-deterministic automaton (NFA) of size f(k)nO(1)f(k)\cdot n^{O(1)} for Lk(n)L_k(n) implies an algorithm of running time O(f(k)nO(1)logW)O(f(k)\cdot n^{O(1)}\cdot \log W) for MIN-WT SIMPLE kk-PATH when the weights are non-negative or the constructed NFA is acyclic as a directed graph. We show that the algorithm of Kneis et al. and its derandomization by Chen et al. for SIMPLE kk-PATH can be used to construct an acylic NFA for Lk(n)L_k(n) of size O(4k+o(k))O^*(4^{k+o(k)}). We show, on the other hand, that any NFA for Lk(n)L_k(n) must be size at least 2k2^k. We thus propose closing this gap and determining the smallest NFA for Lk(n)L_k(n) as an interesting open problem that might lead to faster algorithms for MIN-WT SIMPLE kk-PATH. We use a relation between SIMPLE kk-PATH and non-deterministic xor automata (NXA) to give another direction for a deterministic algorithm with running time O(2k)O^*(2^k) for SIMPLE kk-PATH.

Keywords

Cite

@article{arxiv.1401.5707,
  title  = {Relations between automata and the simple k-path problem},
  author = {Ran Ben-Basat and Ariel Gabizon},
  journal= {arXiv preprint arXiv:1401.5707},
  year   = {2014}
}
R2 v1 2026-06-22T02:52:21.877Z