Commit Graph

59 Commits

Author SHA1 Message Date
31e5ead21e Minor refactoring. 2017-06-27 11:44:33 +02:00
d451d2d548 Handling negations introduced by “forall” elimination correctly. 2017-06-27 11:35:47 +02:00
729ecc9475 Added missing recursion step in PDDL reduction. 2017-06-27 11:34:53 +02:00
ca02b8ce62 Throwing exceptions for unsupported features instead of silently accepting them. 2017-06-24 20:27:01 +02:00
4d59732263 Minor refactoring. 2017-06-24 18:37:49 +02:00
12efe41551 Fixed issue due to undefined implementations. 2017-06-24 18:37:20 +02:00
362222c882 Finished implementing reduction. 2017-06-24 17:38:11 +02:00
fcb9aa0a76 Added missing forward declaration. 2017-06-24 17:35:52 +02:00
d9bae984b2 Implemented elimination of “forall” statements. 2017-06-24 17:30:08 +02:00
994801525a Implemented negation normalization (NFF). 2017-06-24 17:19:35 +02:00
7ae2734e9f Started implementing reduction, added support for “imply” expressions. 2017-06-24 16:03:32 +02:00
d5dd8e849f Avoiding to decompose “not” expressions if they form simple literals. 2017-06-24 16:02:48 +02:00
dd51f2b4fd Added missing const directive. 2017-06-24 15:53:16 +02:00
d7e0beabdf Implemented normalization of preconditions. 2017-06-24 14:29:13 +02:00
9d1a8f4c0f Started implementing PDDL normalization. 2017-06-23 04:18:07 +02:00
2851f8d286 Corrected grammar of initial state facts. 2017-06-23 03:41:52 +02:00
b5131fa00d Added debug output functions for PDDL AST. 2017-06-22 23:19:49 +02:00
12e55da662 Allowing “at” as a predicate name even though it is an expression identifier. 2017-06-21 23:00:07 +02:00
ec8007125f Fixed segfault occurring with accidentally unnamed variables. 2017-06-21 16:48:43 +02:00
39c0e27cb2 Refactoring of tokenizer and stream classes for better efficiency and maintainability. 2017-06-21 02:56:27 +02:00
ce812d449b Added exceptions for inconsistent use of typing. 2017-06-19 01:09:55 +02:00
17b8306394 Minor refactoring, as there is only one typing section. 2017-06-19 01:09:55 +02:00
60d8b9ba77 Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
bbf2a7d02d Allowing not declaring implicit “object” type without warning or error. 2017-06-19 00:18:02 +02:00
4c0583c91f Refactored tokenizer to lazily evaluate file locations. 2017-06-19 00:18:02 +02:00
268fa84c9e Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
230844c3ae Fixed whitespace issue in typing sections and added test cases. 2017-06-19 00:18:02 +02:00
6ce4eecb18 Implemented predicate signature checks. 2017-06-19 00:18:02 +02:00
e364d01cf4 Fixed issue in parsing typed objects in multiple iterations and added test case. 2017-06-19 00:18:02 +02:00
195cffbf88 Fixed incorrectly determined parent types and added unit test. 2017-06-19 00:18:01 +02:00
bfb382de52 Fixed incorrect constant types and added unit test. 2017-06-19 00:18:01 +02:00
615167e7cd Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
7ead2277e8 Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00
f83f9edbef Reimplemented goal parser. 2017-06-19 00:17:53 +02:00
f90009b6d1 Reimplemented initial state parser. 2017-06-19 00:15:32 +02:00
fbcb790611 Minor refactoring. 2017-06-19 00:15:27 +02:00
8c98548dbc Minor formatting. 2017-06-19 00:15:24 +02:00
20c687a787 Corrected exception types. 2017-06-19 00:15:14 +02:00
d376c1a993 Allowing atomic formulas and not just predicates in preconditions and effects. 2017-06-19 00:15:11 +02:00
10e658a922 Added back support for parsing effects and even conditional effects. 2017-06-19 00:15:07 +02:00
14c498c539 Handling unsupported preferences in preconditions. 2017-06-19 00:15:00 +02:00
f4c1d65365 Made warnings more concise and consistent. 2017-06-19 00:14:56 +02:00
34d9c7a1c2 Added warnings for currently under-construction sections. 2017-06-19 00:14:52 +02:00
0d3cb152f9 Finished precondition parsing. 2017-06-19 00:14:48 +02:00
63e15d37e8 Made precondition parsing more robust. 2017-06-19 00:14:45 +02:00
51249fd678 Refactored parsing variables, constants, and predicates. 2017-06-19 00:14:40 +02:00
c84cafda18 Fixed constant parsing if no problem is specified. 2017-06-19 00:14:18 +02:00
78b4636028 Continued working on reimplementing action parser. 2017-06-19 00:14:18 +02:00
1876d1fe0b Fixed parsing of types. 2017-06-19 00:14:01 +02:00
a6babf3e90 Reimplemented major parts of parsing preconditions. 2017-06-19 00:13:48 +02:00