Cplus2ASP: Computing Action Language C+ in Answer Set Programming
For researchers and practitioners in knowledge representation and reasoning, this system provides a more efficient tool for modeling and reasoning about actions and change.
Cplus2ASP Version 2 implements the definite fragment of action language C+ with significantly faster performance than its predecessor by leveraging modern answer set solving techniques, including incremental execution via iclingo.
We present Version 2 of system Cplus2ASP, which implements the definite fragment of action language C+. Its input language is fully compatible with the language of the Causal Calculator Version 2, but the new system is significantly faster thanks to modern answer set solving techniques. The translation implemented in the system is a composition of several recent theoretical results. The system orchestrates a tool chain, consisting of f2lp, clingo, iclingo, and as2transition. Under the incremental execution mode, the system translates a C+ description into the input language of iclingo, exploiting its incremental grounding mechanism. The correctness of this execution is justified by the module theorem extended to programs with nested expressions. In addition, the input language of the system has many useful features, such as external atoms by means of Lua calls and the user interactive mode. The system supports extensible multi-modal translations for other action languages, such as B and BC, as well.