Commit Graph

243 Commits

Author SHA1 Message Date
e93085d88a
Moved color logging to separate library for reusing it in PDDL parser. 2017-06-22 20:58:31 +02:00
595891f040
Minor formatting. 2017-06-22 20:36:48 +02:00
19f2ad19b0
Fixed incorrect language detection with legacy “in-package” directives. 2017-06-20 03:01:20 +02:00
e345fd60fd
Reimplemented plasp with PDDL parsing library. 2017-06-20 01:53:55 +02:00
586e93190c
Made plasp compatible to recent tokenizer changes. 2017-06-19 00:28:17 +02:00
e312a91632
Renamed tokenizing module for clarity. 2017-05-12 14:17:57 +02:00
ebcf263abd
Removed unnecessary boost::filesystem dependency. 2017-05-09 15:11:35 +02:00
27c6b69874
Moved basic parsing to a separate module. 2017-05-09 15:05:59 +02:00
9c9995380e
Resolved compiler warnings with clang. 2017-05-09 13:00:44 +02:00
33e61beb4f
Fixed bug related to decomposing quantified expression. 2016-12-08 02:59:20 +01:00
f1d2c4e532
Removed invalid to-do. 2016-12-08 01:58:36 +01:00
a07d105906
Added missing include. 2016-12-08 01:44:36 +01:00
31182b6de9
Implemented translation of derived predicates in action preconditions. 2016-12-08 01:28:00 +01:00
586f53a788
Restructured functions related to translation of predicates. 2016-12-08 01:27:38 +01:00
1561aa5eb9
Put functions related to translation of predicates in separate file. 2016-12-08 01:18:00 +01:00
f4672a5b50
Added -Wextra flag to notice warnings more easily. 2016-12-08 01:17:09 +01:00
a5f1ebdc09
Removed unnecessary include directives. 2016-12-08 01:07:17 +01:00
8587aa23c4
Put functions related to translation of variables in separate file. 2016-12-08 01:05:39 +01:00
6355921e59
Implemented preconditions for derived predicates. 2016-12-08 00:52:09 +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
cfce6b1bbd
Removed unnecessary namespace directive. 2016-12-01 16:26:29 +01:00
c4e19dddae
Refactoring to use cleaner output implementation. 2016-11-29 06:03:05 +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
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
104f7165cd Fixed compiler error occurring in debug mode only. 2016-09-06 21:47:03 +02:00
31068bf89c Implemented simplification of nested quantified expressions. 2016-09-06 18:50:23 +02:00
bd2ef96216 Added forward declarations for quantified expressions. 2016-09-06 17:41:04 +02:00
faa920e1ad Correctly parsing quantified expressions thanks to variable stack. 2016-09-06 17:36:51 +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
0c5936ad38 Noted to-do. 2016-09-05 00:39:12 +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
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
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