English

Towards Single Exponential Time for Temporal and Spatial Reasoning: A Study via Redundancy and Dynamic Programming

Computational Complexity 2026-05-21 v1

Abstract

The region connection calculus (RCCRCC) and Allen's interval algebra (IAIA) are two well-known NP-hard spatial-temporal qualitative reasoning problems. They are solvable in 2O(nlogn)2^{O(n \log n)} time, where nn is the number of variables, and IAIA is additionally known to be solvable in o(n)no(n)^n time. However, no improvement over exhaustive search is known for RCCRCC, and if they are also solvable in single exponential time 2O(n)2^{O(n)} is unknown. We investigate multiple avenues towards reaching such bounds. First, we show that branching is insufficient since there are too many non-redundant constraints. Concretely, we classify the maximum number of non-redundant constraints in RCCRCC and IAIA. Algorithmically, we make two significant contributions based on dynamic programming (DP). The first algorithm runs in 4n4^n time and is applicable to a non-trivial, NP-hard fragment of IAIA, which includes the well-known interval graph sandwich problem of Golumbic and Shamir (1993). For the richer RCCRCC problem with 8 basic relations we use a more sophisticated approach which asymptotically matches the o(n)no(n)^n bound for IAIA.

Keywords

Cite

@article{arxiv.2605.21267,
  title  = {Towards Single Exponential Time for Temporal and Spatial Reasoning: A Study via Redundancy and Dynamic Programming},
  author = {Victor Lagerkvist and Johanna Groven and Leif Eriksson},
  journal= {arXiv preprint arXiv:2605.21267},
  year   = {2026}
}

Comments

14 Pages, 2 Figures, 2 Tables, 3 Algorithms