Commit Graph

164 Commits

Author SHA1 Message Date
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
079e2ac539
Printing arguments of “not” expressions on the same line for clarity. 2017-06-24 16:00:50 +02:00
aeb8132fc7
Added missing inline directives. 2017-06-24 15:53:40 +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
e4f4b5e066
Added initial normalized PDDL debug output functionality. 2017-06-23 03:54:51 +02:00
19f2c2ebf8
Added missing forward declaration. 2017-06-23 03:53:01 +02:00
2851f8d286
Corrected grammar of initial state facts. 2017-06-23 03:41:52 +02:00
9360ad3487
Added missing forward declaration. 2017-06-23 02:31:07 +02:00
c0b71290a4
Minor formatting in PDDL debug output. 2017-06-23 01:48:47 +02:00
3d9bf2582f
Fixed format of PDDL debug output. 2017-06-23 01:22:28 +02:00
cbc9c86edd
Removed unnecessary include directives. 2017-06-23 00:58:58 +02:00
480da6ff09
Built initial AST for normalized PDDL. 2017-06-23 00:51:09 +02:00
834209d506
Moved common output utilities to separate header. 2017-06-23 00:50:19 +02:00
ef606f3d9b
Merge branch 'develop' of github.com:potassco/plasp into feature-normalization 2017-06-22 23:45:15 +02:00
b5131fa00d
Added debug output functions for PDDL AST. 2017-06-22 23:19:49 +02:00
768afa9bf5
Added to-do. 2017-06-22 23:19:17 +02:00
59dc239c67
Removed unused class. 2017-06-22 23:18:43 +02:00
ec546758a8
Minor formatting. 2017-06-22 22:48:25 +02:00
e93085d88a
Moved color logging to separate library for reusing it in PDDL parser. 2017-06-22 20:58:31 +02:00
b7b4d926b4
Removed unused declarations. 2017-06-22 00:03:35 +02:00
12e55da662
Allowing “at” as a predicate name even though it is an expression identifier. 2017-06-21 23:00:07 +02:00
08c55adfbd
Added test case covering missing variable names. 2017-06-21 16:55:56 +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
97c6e58355
Minor refactoring in stream reading. 2017-06-20 18:13:49 +02:00
ee56a105b3
Resizing file content one time if stream is seekable and dynamically otherwise. 2017-06-20 03:14:51 +02:00
799c9ce2fb
Replicated test cases for former issues in PDDL parsing library. 2017-06-19 01:15:20 +02:00
c35faab104
Replicated syntax error tests in PDDL parsing library. 2017-06-19 01:09:55 +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
df2359712f
Removed unwanted debug output. 2017-06-19 01:09:55 +02:00
de648fbb1d
Fixed incorrect names of test cases. 2017-06-19 01:09:55 +02:00
d0d141ef99
Replicated test cases with missing or mismatched domains in PDDL parsing library. 2017-06-19 01:09:50 +02:00
40b43217fc
Replicated white space test case in new PDDL parsing library. 2017-06-19 00:35:31 +02:00
9fe489de53
Added unit tests covering predicate signature matching. 2017-06-19 00:18:03 +02:00
60d8b9ba77
Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
1379c24362
Renamed test sections for clarity. 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
04dffdb09e
Fixed accidentally truncated ends of files after removing comments. 2017-06-19 00:18:02 +02:00
dd7fb31309
Made CMake configuration consistent. 2017-06-19 00:18:02 +02:00
268fa84c9e
Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
b9b987490b
Fixed incorrect CMake option handling. 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
04ded5e8b8
Removed unnecessary include directive. 2017-06-19 00:18:02 +02:00
83a36003b1
Added test case covering complicated nested effects. 2017-06-19 00:18:01 +02:00
fc48b8f694
Added test case covering typed objects. 2017-06-19 00:18:01 +02:00
b0db73ab2f
Added to-do. 2017-06-19 00:18:01 +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
101f33df6e
Removed unused test file. 2017-06-19 00:18:01 +02:00
615167e7cd
Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
dde277cc3e
Added to-do. 2017-06-19 00:18:01 +02:00
7ead2277e8
Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00
da2a3eefa4
Added extensive test covering Blocksworld instance. 2017-06-19 00:18:01 +02:00
3877012274
Minor extension of unit test covering Blocksworld domain. 2017-06-19 00:18:01 +02:00
e0aca18b38
Removed unnecessary directives in test case. 2017-06-19 00:18:01 +02:00
19c81effbe
Added extensive test for Blocksworld domain. 2017-06-19 00:18:00 +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
9c30e27875
Fixed incorrect parsing method for “when” expressions. 2017-06-19 00:15:04 +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
0de5b9eb56
Added to-do. 2017-06-19 00:14:36 +02:00
8288345bcb
Added missing method implementation to tokenizer. 2017-06-19 00:14:33 +02:00
f349b5e351
Minor formatting. 2017-06-19 00:14:29 +02:00
de69003105
Sectioning unit tests for meaningful error messages. 2017-06-19 00:14:25 +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
9fbe0db567
Extended unit test on “either” types. 2017-06-19 00:14:05 +02:00
1876d1fe0b
Fixed parsing of types. 2017-06-19 00:14:01 +02:00
30a092b365
Corrected scope of acceptance tests. 2017-06-19 00:13:56 +02:00
464550cb5b
Renamed tests file. 2017-06-19 00:13:52 +02:00
a6babf3e90
Reimplemented major parts of parsing preconditions. 2017-06-19 00:13:48 +02:00
62b9da844a
Started reimplementing expression parsing. 2017-06-19 00:13:43 +02:00
fa9fd0935b
Made error message more precise. 2017-06-19 00:13:35 +02:00
1e77a6b043
Added “domain-axioms” as an ignored requirement to increase compatibility. 2017-06-19 00:13:29 +02:00
216decafc1
Allowing types to be undeclared for increased compatibility. 2017-06-19 00:13:24 +02:00
849faad134
Added compatibility check for unsupported “in-package” sections. 2017-06-19 00:13:18 +02:00
9642bab0c8
Enabled colored unit test results by default. 2017-06-19 00:13:13 +02:00
517698475c
Added test cases for all competition domains (not all of them supported yet). 2017-06-19 00:13:03 +02:00
0b8da69394
Added official PDDL competition instances for automated testing. 2017-06-19 00:13:03 +02:00
a7c4fdb242
Started reimplementing problem parser. 2017-06-19 00:12:51 +02:00
06b9632b70
Removed unused flags. 2017-05-18 15:55:20 +02:00
94dd209e5e
Linking constants to their declarations by reference instead of pointer. 2017-05-17 20:21:34 +02:00
5d65cc3100
Added missing include directive. 2017-05-17 20:21:20 +02:00