Home /Research /Ricochet Robots Reloaded: A Case-Study in Multi-shot ASP Solving.
OTHER

Ricochet Robots Reloaded: A Case-Study in Multi-shot ASP Solving.

Martin Gebser, Roland Kaminski, Philipp Obermeier, Torsten Schaub

Year
2015
Citations
10

Abstract

Abstract. Nonmonotonic reasoning is about drawing conclusions in the absence of (complete) information. Hence, whenever new information arrives, one may have to withdraw previously drawn conclusions. In fact, Answer Set Program-ming is nowadays regarded as the computational embodiment of nonmonotonic reasoning. However, traditional answer set solvers do not account for changing in-formation. Rather they are designed as one-shot solvers that take a logic program and compute its stable models, basta! When new information arrives the program is extended and the solving process is started from scratch once more. Hence the dynamics giving rise to nonmonotonicity is not reflected by such solvers and left to the user. This shortcoming is addressed by multi-shot solvers that embrace the dynamicity of nonmonotonic reasoning by allowing a reactive procedure to loop on solving while acquiring changes in the problem specification. In this paper, we provide a hands-on introduction to multi-shot solving with clingo 4 by modeling the popular board game of Ricochet Robots. Our particular focus lies on capturing the underlying turn based playing through the procedural-declarative interplay offered by the Python-ASP integration of clingo 4. From a technical perspective, we provide semantic underpinnings for multi-shot solv-ing with clingo 4 by means of a simple stateful semantics along with operations reflecting clingo 4 functionalities. 1

Keywords

Computer scienceAnswer set programmingProgramming languageSet (abstract data type)Semantics (computer science)Focus (optics)Shot (pellet)Non-monotonic logicRobotCommonsense reasoning

Related papers

Browse all OTHER papers