0ce4e54d1a
Fix precedence of interval operator
...
The interval operator has a lower precedence than, for example, binary
operations. This was unexpected and incorrectly implemented in the
output functions. For now, this is fixed by enclosing intervals in
parentheses to avoid misinterpretations.
The existing unit tests are adjusted to the updated output format.
2018-05-04 17:06:28 +02:00
eaabeb0c55
Support exponentiation operator
...
Because of a bug in the Clingo API, the exponentation operator was not
properly exposed to anthem. This updates Clingo to a version with a
fixed API and adds proper support for exponentation within anthem along
with a matching unit test.
2018-04-10 22:29:55 +02:00
0285c1cbbb
Renamed internal variables for clarity.
2017-06-06 01:44:44 +02:00
664a57ec68
Fixed issue with multi-layer variable stacks.
2017-05-30 18:09:33 +02:00
1c925d661b
Major refactoring to uniquely link variables to their declarations (breaks simplification and completion).
2017-05-30 03:56:35 +02:00
d056fabb8b
Fixes lost signs with negated 0-ary predicates.
2017-05-04 15:44:37 +02:00
5948d30e5c
Refactored implementation of completion.
2017-04-10 16:32:12 +02:00
2ae5cfbfa6
Enforcing unit tests not to throw exceptions.
2017-04-08 19:59:59 +02:00
350f31d0fd
Added simple unit tests for completion.
2017-04-08 18:47:06 +02:00
f28873617d
Implemented translation of anonymous variables.
2017-03-29 21:28:46 +02:00
32e6301b5e
Added some unit tests for the simplification procedure.
2017-03-23 15:14:32 +01:00
09c2674148
Fixed incorrectly translated choice rules with multiple elements in the aggregate.
2017-03-23 02:06:19 +01:00
73f67f5c17
Added back support for function symbols.
2017-03-15 17:01:09 +01:00
9e6d135781
Implemented explicit syntax tree representation for first-order formulas.
2017-03-15 16:00:43 +01:00
c294aa1337
Added test covering choice rules with bodies.
2017-03-06 15:55:00 +01:00
2a0b7ef3b5
Added tests covering simple choice rules.
2017-03-06 15:49:40 +01:00
a653556d77
Resolved minor warnings.
2016-11-29 02:29:54 +01:00
f11097180a
Extended unit tests related to facts and integrity constraints.
2016-11-24 17:45:22 +01:00
6167a83a99
Fixed issue with empty integrity constraints and extended unit test.
2016-11-24 17:38:44 +01:00
25a55a6457
Added unit test for alternative syntax for disjunctive heads.
2016-11-24 17:33:19 +01:00
884dcbc51a
Added unit test for comparisons.
2016-11-24 17:00:08 +01:00
cff5ed8cec
Added unit test for intervals.
2016-11-24 16:53:04 +01:00
712530150f
Fixed incorrect output of functions and added unit test.
2016-11-24 16:51:17 +01:00
442fa8791a
Fixed continuous numbering of auxiliary variables.
2016-11-24 16:50:35 +01:00
fc89a65ce7
Improved output of negated literals and added unit test.
2016-11-24 16:04:53 +01:00
b675946927
Added unit tests for tuples.
2016-11-24 16:00:44 +01:00
b15212cb55
Added unit tests for strings.
2016-11-24 15:58:59 +01:00
faf6cd0f6c
Fixed incorrect output of #sup and added unit test.
2016-11-24 15:51:25 +01:00
790162532e
Added unit test for 0-ary facts.
2016-11-24 15:51:11 +01:00
ac1f464ce3
Added unit tests for facts and integrity constraints.
2016-11-24 15:44:46 +01:00
cdfdd8f4ca
Added unit test to check whether escaped user variable names are correctly escaped.
2016-11-24 15:38:55 +01:00
7702441d24
Added unit tests for complicated rule heads.
2016-11-24 15:31:52 +01:00
1bc1aaa900
Added unit tests for translating simple rules.
2016-11-24 15:25:34 +01:00
3100f4a733
Initial commit.
2016-11-21 17:53:46 +01:00