Hostname: page-component-77f85d65b8-7lfxl Total loading time: 0 Render date: 2026-04-18T13:57:20.119Z Has data issue: false hasContentIssue false

A Trajectory Calculus for Qualitative Spatial Reasoning Using Answer Set Programming

Published online by Cambridge University Press:  10 August 2018

GEORGE BARYANNIS
Affiliation:
University of Huddersfield, UK (e-mails: g.bargiannis@hud.ac.uk, i.tachmazidis@hud.ac.uk, s.batsakis@hud.ac.uk, g.antoniou@hud.ac.uk)
ILIAS TACHMAZIDIS
Affiliation:
University of Huddersfield, UK (e-mails: g.bargiannis@hud.ac.uk, i.tachmazidis@hud.ac.uk, s.batsakis@hud.ac.uk, g.antoniou@hud.ac.uk)
SOTIRIS BATSAKIS
Affiliation:
University of Huddersfield, UK (e-mails: g.bargiannis@hud.ac.uk, i.tachmazidis@hud.ac.uk, s.batsakis@hud.ac.uk, g.antoniou@hud.ac.uk)
GRIGORIS ANTONIOU
Affiliation:
University of Huddersfield, UK (e-mails: g.bargiannis@hud.ac.uk, i.tachmazidis@hud.ac.uk, s.batsakis@hud.ac.uk, g.antoniou@hud.ac.uk)
MARIO ALVIANO
Affiliation:
University of Calabria, Italy (e-mail: alviano@mat.unical.it)
TIMOS SELLIS
Affiliation:
Swinburne University of Technology, Australia (e-mails: tsellis@swin.edu.au, ptsai@swin.edu.au)
PEI-WEI TSAI
Affiliation:
Swinburne University of Technology, Australia (e-mails: tsellis@swin.edu.au, ptsai@swin.edu.au)
Rights & Permissions [Opens in a new window]

Abstract

Core share and HTML view are not available for this content. However, as you have access to this content, a full PDF is available via the 'Save PDF' action button.

Spatial information is often expressed using qualitative terms such as natural language expressions instead of coordinates; reasoning over such terms has several practical applications, such as bus routes planning. Representing and reasoning on trajectories is a specific case of qualitative spatial reasoning that focuses on moving objects and their paths. In this work, we propose two versions of a trajectory calculus based on the allowed properties over trajectories, where trajectories are defined as a sequence of non-overlapping regions of a partitioned map. More specifically, if a given trajectory is allowed to start and finish at the same region, 6 base relations are defined (TC-6). If a given trajectory should have different start and finish regions but cycles are allowed within, 10 base relations are defined (TC-10). Both versions of the calculus are implemented as ASP programs; we propose several different encodings, including a generalised program capable of encoding any qualitative calculus in ASP. All proposed encodings are experimentally evaluated using a real-world dataset. Experiment results show that the best performing implementation can scale up to an input of 250 trajectories for TC-6 and 150 trajectories for TC-10 for the problem of discovering a consistent configuration, a significant improvement compared to previous ASP implementations for similar qualitative spatial and temporal calculi.

Information

Type
Original Article
Copyright
Copyright © Cambridge University Press 2018 
Supplementary material: PDF

Baryannis et al. supplementary material

Appendix B

Download Baryannis et al. supplementary material(PDF)
PDF 53.3 KB