Improved Algorithms for Allen's Interval Algebra: a Dynamic Programming Approach
Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence. Main Track. Pages 1873-1879.
https://doi.org/10.24963/ijcai.2021/258
Keywords
- Knowledge Representation and Reasoning: Qualitative, Geometric, Spatial, Temporal Reasoning
- Constraints and SAT: Constraint Satisfaction
Abstract
The constraint satisfaction problem (CSP) is an important framework in artificial intelligence used to model e.g. qualitative reasoning problems such as Allen's interval algebra A. There is strong practical incitement to solve CSPs as efficiently as possible, and the classical complexity of temporal CSPs, including A, is well understood. However, the situation is more dire with respect to running time bounds of the form O(f(n)) (where n is the number of variables) where existing results gives a best theoretical upper bound 2^O(n * log n) which leaves a significant gap to the best (conditional) lower bound 2^o(n). In this paper we narrow this gap by presenting two novel algorithms for temporal CSPs based on dynamic programming. The first algorithm solves temporal CSPs limited to constraints of arity three in O(3^n) time, and we use this algorithm to solve A in O((1.5922n)^n) time. The second algorithm tackles A directly and solves it in O((1.0615n)^n), implying a remarkable improvement over existing methods since no previously published algorithm belongs to O((cn)^n) for any c. We also extend the latter algorithm to higher dimensions box algebras where we obtain the first explicit upper bound.
@inproceedings{ijcai2021p258,
title = {Improved Algorithms for Allen's Interval Algebra: a Dynamic Programming Approach},
author = {Eriksson, Leif and Lagerkvist, Victor},
booktitle = {Proceedings of the Thirtieth International Joint Conference on
Artificial Intelligence, {IJCAI-21}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {Prof. Zhi-Hua Zhou},
pages = {1873--1879},
year = {2021},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2021/258},
url = {https://doi.org/10.24963/ijcai.2021/258},
}
TY - CPAPER TI - Improved Algorithms for Allen's Interval Algebra: a Dynamic Programming Approach AU - Eriksson, Leif AU - Lagerkvist, Victor T2 - Proceedings of the Thirtieth International Joint Conference on Artificial Intelligence, IJCAI-21 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2021 SP - 1873 EP - 1879 DO - 10.24963/ijcai.2021/258 UR - https://doi.org/10.24963/ijcai.2021/258 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: