Advertisement

ASPVIZ: Declarative Visualisation and Animation Using Answer Set Programming

  • Owen Cliffe
  • Marina De Vos
  • Martin Brain
  • Julian Padget
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5366)

Abstract

Answer set programming provides a powerful platform for model-based reasoning problems. The answer sets are solutions, but for many non-trivial problems post-processing is often necessary for human readability. In this paper we describe a method and a tool for visualising answer sets in which we exploit answer set programming itself to define how visualisations are constructed. An exciting potential application of our method is to assist in the debugging of answer set programs that, as a consequence of their declarative nature, are not amenable to traditional approaches: visual rendering of answer sets offers a way to help programmers spot false and missing solutions.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Baral, C.: Knowledge Representation, Reasoning and Declarative Problem Solving, 1st edn. Cambridge University Press, Cambridge (2003)CrossRefzbMATHGoogle Scholar
  2. 2.
    Brain, M., Gebser, M., Pührer, J., Schaub, T., Tompits, H., Woltran, S.: Debugging ASP programs by means of ASP. In: Baral, C., Brewka, G., Schlipf, J. (eds.) LPNMR 2007. LNCS, vol. 4483, pp. 31–43. Springer, Heidelberg (2007)CrossRefGoogle Scholar
  3. 3.
    Brain, M., De Vos, M.: Answer set programming – a domain in need of explanation. In: Exact 2008: International Workshop on Explanation-aware Computing (2008)Google Scholar
  4. 4.
    Balduccini, M., Gelfond, M., Nogueira, M.: A-prolog as a tool for declarative programming. In: Proceedings of the 12th International Conference on Software Engineering and Knowledge Engineering (SEKE 2000), pp. 63–72 (2000)Google Scholar
  5. 5.
    XPCE the SWI-Prolog native GUI library: http://www.swi-prolog.org/packages/xpce/
  6. 6.
    Szekely, P., Myers, B.: A user interface toolkit based on graphical objects and constraints. SIGPLAN Not. 23(11), pp. 36–45 (1988)CrossRefGoogle Scholar
  7. 7.
    Carro, M., Hermenegildo, M.: Tools for constraint visualisation: The VIFID/TRIFID tool. In: Deransart, P., Małuszyński, J. (eds.) DiSCiPl 1999. LNCS, vol. 1870, pp. 253–272. Springer, Heidelberg (2000)CrossRefGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2008

Authors and Affiliations

  • Owen Cliffe
    • 1
  • Marina De Vos
    • 1
  • Martin Brain
    • 1
  • Julian Padget
    • 1
  1. 1.Department of Computer ScienceUniversity of BathUnited Kingdom

Personalised recommendations