Commit Graph

325 Commits

Author SHA1 Message Date
8587aa23c4
Put functions related to translation of variables in separate file. 2016-12-08 01:05:39 +01:00
66cb09c8e4
Fixed incorrect auxiliary rule for derived predicates. 2016-12-08 00:54:13 +01:00
6355921e59
Implemented preconditions for derived predicates. 2016-12-08 00:52:09 +01:00
4172d320e4
Cleaned up output of translated derived predicates. 2016-12-07 23:26:46 +01:00
a8ba375e36
Implemented printing body of derived predicate definition rules. 2016-12-07 02:58:25 +01:00
2334686c59
Renamed arguments to parameters in predicate declarations. 2016-12-07 02:55:44 +01:00
ebab65e233
Refactoring to avoid dynamic casts. 2016-12-07 02:29:48 +01:00
692d3fe83a
Refactoring to avoid checking expression types via type enum. 2016-12-07 02:11:54 +01:00
3b110c0b8a
Started implementing translation for derived predicates. 2016-12-07 01:56:06 +01:00
c1340f6297
Merge branch 'develop' of github.com:potassco/plasp into normalization 2016-12-02 01:16:22 +01:00
9e1cdaaa51
Implemented new command-line options replacing --warning-level. 2016-12-01 17:18:58 +01:00
c4e19dddae
Refactoring to use cleaner output implementation. 2016-11-29 06:03:05 +01:00
8b069d8149
Minor formatting. 2016-11-29 02:11:43 +01:00
f4efb4f3d4
Improved command-line interface. 2016-11-29 02:05:01 +01:00
0ca51236bd Added unique ID to derived predicates for easier translation. 2016-09-09 17:08:31 +02:00
a62cc8b3b9 Started implementing derived predicates for decomposing complex PDDL conditions. 2016-09-09 16:42:16 +02:00
cc0b9726ed Added to-do. 2016-09-09 13:38:15 +02:00
9cccba42e0 Implemented parsing conditional effects. 2016-09-08 15:56:30 +02:00
4fc9b35c13 Implemented disjunctive normal form. 2016-09-08 03:42:32 +02:00
34496a7158 Finished implementing the prenex normal form with maximal groups of same-type quantifiers. 2016-09-08 02:40:51 +02:00
e0ed145716 Implemented prenex normalization. 2016-09-07 00:34:26 +02:00
2e52357dd2 Allowing universal quantifiers in effect expressions. 2016-09-06 22:36:48 +02:00
31068bf89c Implemented simplification of nested quantified expressions. 2016-09-06 18:50:23 +02:00
ad6b3d60eb Implemented De Morgan normalization for quantified expressions. 2016-09-06 17:43:47 +02:00
eb28ed3938 Implemented variable stack for parsing nested variable lists (as within quantified expressions). 2016-09-06 17:34:07 +02:00
f4f0e07bc1 Started supporting quantified expressions. 2016-09-06 16:57:31 +02:00
ca6664feb2 Refactored parsing variable lists to reuse it with quantified expressions. 2016-09-06 16:28:38 +02:00
6f3769f364 Removed unnecessary includes. 2016-09-05 17:05:48 +02:00
263b611a7b Implemented simplification of directly nested n-ary expressions of the same type. 2016-09-05 00:37:43 +02:00
79d449d0df Renaming to not confuse expression simplification and reduction. 2016-09-05 00:06:09 +02:00
dd621fcd5c Minor clean-up. 2016-09-04 23:54:15 +02:00
c2af84a800 Removed redundant normalization statement. 2016-09-04 23:52:06 +02:00
3fa7b93d44 Fixed wrong recursive call. 2016-09-04 23:34:20 +02:00
4d72c20d9b Added separate simplification step to normalize in a single recursion. 2016-09-04 23:30:08 +02:00
97ad4268d7 Added second double negation elimination step after normalizing the argument of a “not” expression. 2016-09-04 22:45:37 +02:00
ed2d64c1c9 Added debug printing function to facilitate testing expression normalization. 2016-09-04 22:26:17 +02:00
c9ecd0c020 Implemented De Morgan’s rules for normalization purposes. 2016-09-04 20:49:22 +02:00
6aaf7c039d Refactored normalization because of recent changes to the pointer usage. 2016-09-04 19:29:05 +02:00
7aa20a5820 Refactored expressions thanks to intrusive pointers. 2016-09-04 18:48:46 +02:00
9afabacde3 Switched to intrusive pointers for much easier maintenance. 2016-09-04 18:26:02 +02:00
da88a8816c Fixed issue with multiple negations. 2016-09-03 00:25:58 +02:00
63de1891af Fixed missing normalization step of arguments to imply statements and extended test to cover the issue. 2016-09-02 19:25:25 +02:00
23e851ccef Normalizing problems’ goal descriptions. 2016-09-02 18:49:30 +02:00
4fb2c331f3 Added dummy expression to check that with removed double negations, expressions are still correctly normalized. 2016-09-02 18:32:13 +02:00
1a96c3ec72 Added test covering removal of double negations. 2016-09-02 18:27:00 +02:00
b084a1f727 Implemented removal of double negations. 2016-09-02 18:07:37 +02:00
56ce55677f Started implementing PDDL normalization. 2016-09-02 17:58:00 +02:00
c528626fe9 Preparing more general form of PDDL normalization. 2016-09-02 16:39:42 +02:00
be376a9ffb Hiding mutex group section in output if there are none. 2016-08-30 13:02:00 +02:00
76f8df13fc Fixed parsing issue with unexpected whitespaces in SAS files. 2016-08-30 13:01:22 +02:00