patrick
/
plasp
Archived
1
0
Fork 0
Commit Graph

164 Commits

Author SHA1 Message Date
Patrick Lühne 7ae2734e9f
Started implementing reduction, added support for “imply” expressions. 2017-06-24 16:03:32 +02:00
Patrick Lühne d5dd8e849f
Avoiding to decompose “not” expressions if they form simple literals. 2017-06-24 16:02:48 +02:00
Patrick Lühne 079e2ac539
Printing arguments of “not” expressions on the same line for clarity. 2017-06-24 16:00:50 +02:00
Patrick Lühne aeb8132fc7
Added missing inline directives. 2017-06-24 15:53:40 +02:00
Patrick Lühne dd51f2b4fd
Added missing const directive. 2017-06-24 15:53:16 +02:00
Patrick Lühne d7e0beabdf
Implemented normalization of preconditions. 2017-06-24 14:29:13 +02:00
Patrick Lühne 9d1a8f4c0f
Started implementing PDDL normalization. 2017-06-23 04:18:07 +02:00
Patrick Lühne e4f4b5e066
Added initial normalized PDDL debug output functionality. 2017-06-23 03:54:51 +02:00
Patrick Lühne 19f2c2ebf8
Added missing forward declaration. 2017-06-23 03:53:01 +02:00
Patrick Lühne 2851f8d286
Corrected grammar of initial state facts. 2017-06-23 03:41:52 +02:00
Patrick Lühne 9360ad3487
Added missing forward declaration. 2017-06-23 02:31:07 +02:00
Patrick Lühne c0b71290a4
Minor formatting in PDDL debug output. 2017-06-23 01:48:47 +02:00
Patrick Lühne 3d9bf2582f
Fixed format of PDDL debug output. 2017-06-23 01:22:28 +02:00
Patrick Lühne cbc9c86edd
Removed unnecessary include directives. 2017-06-23 00:58:58 +02:00
Patrick Lühne 480da6ff09
Built initial AST for normalized PDDL. 2017-06-23 00:51:09 +02:00
Patrick Lühne 834209d506
Moved common output utilities to separate header. 2017-06-23 00:50:19 +02:00
Patrick Lühne ef606f3d9b
Merge branch 'develop' of github.com:potassco/plasp into feature-normalization 2017-06-22 23:45:15 +02:00
Patrick Lühne b5131fa00d
Added debug output functions for PDDL AST. 2017-06-22 23:19:49 +02:00
Patrick Lühne 768afa9bf5
Added to-do. 2017-06-22 23:19:17 +02:00
Patrick Lühne 59dc239c67
Removed unused class. 2017-06-22 23:18:43 +02:00
Patrick Lühne ec546758a8
Minor formatting. 2017-06-22 22:48:25 +02:00
Patrick Lühne e93085d88a
Moved color logging to separate library for reusing it in PDDL parser. 2017-06-22 20:58:31 +02:00
Patrick Lühne b7b4d926b4
Removed unused declarations. 2017-06-22 00:03:35 +02:00
Patrick Lühne 12e55da662
Allowing “at” as a predicate name even though it is an expression identifier. 2017-06-21 23:00:07 +02:00
Patrick Lühne 08c55adfbd
Added test case covering missing variable names. 2017-06-21 16:55:56 +02:00
Patrick Lühne ec8007125f
Fixed segfault occurring with accidentally unnamed variables. 2017-06-21 16:48:43 +02:00
Patrick Lühne 39c0e27cb2
Refactoring of tokenizer and stream classes for better efficiency and maintainability. 2017-06-21 02:56:27 +02:00
Patrick Lühne 97c6e58355
Minor refactoring in stream reading. 2017-06-20 18:13:49 +02:00
Patrick Lühne ee56a105b3
Resizing file content one time if stream is seekable and dynamically otherwise. 2017-06-20 03:14:51 +02:00
Patrick Lühne 799c9ce2fb
Replicated test cases for former issues in PDDL parsing library. 2017-06-19 01:15:20 +02:00
Patrick Lühne c35faab104
Replicated syntax error tests in PDDL parsing library. 2017-06-19 01:09:55 +02:00
Patrick Lühne ce812d449b
Added exceptions for inconsistent use of typing. 2017-06-19 01:09:55 +02:00
Patrick Lühne 17b8306394
Minor refactoring, as there is only one typing section. 2017-06-19 01:09:55 +02:00
Patrick Lühne df2359712f
Removed unwanted debug output. 2017-06-19 01:09:55 +02:00
Patrick Lühne de648fbb1d
Fixed incorrect names of test cases. 2017-06-19 01:09:55 +02:00
Patrick Lühne d0d141ef99
Replicated test cases with missing or mismatched domains in PDDL parsing library. 2017-06-19 01:09:50 +02:00
Patrick Lühne 40b43217fc
Replicated white space test case in new PDDL parsing library. 2017-06-19 00:35:31 +02:00
Patrick Lühne 9fe489de53
Added unit tests covering predicate signature matching. 2017-06-19 00:18:03 +02:00
Patrick Lühne 60d8b9ba77
Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
Patrick Lühne 1379c24362
Renamed test sections for clarity. 2017-06-19 00:18:02 +02:00
Patrick Lühne bbf2a7d02d
Allowing not declaring implicit “object” type without warning or error. 2017-06-19 00:18:02 +02:00
Patrick Lühne 4c0583c91f
Refactored tokenizer to lazily evaluate file locations. 2017-06-19 00:18:02 +02:00
Patrick Lühne 04dffdb09e
Fixed accidentally truncated ends of files after removing comments. 2017-06-19 00:18:02 +02:00
Patrick Lühne dd7fb31309
Made CMake configuration consistent. 2017-06-19 00:18:02 +02:00
Patrick Lühne 268fa84c9e
Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
Patrick Lühne b9b987490b
Fixed incorrect CMake option handling. 2017-06-19 00:18:02 +02:00
Patrick Lühne 230844c3ae
Fixed whitespace issue in typing sections and added test cases. 2017-06-19 00:18:02 +02:00
Patrick Lühne 6ce4eecb18
Implemented predicate signature checks. 2017-06-19 00:18:02 +02:00
Patrick Lühne e364d01cf4
Fixed issue in parsing typed objects in multiple iterations and added test case. 2017-06-19 00:18:02 +02:00
Patrick Lühne 04ded5e8b8
Removed unnecessary include directive. 2017-06-19 00:18:02 +02:00
Patrick Lühne 83a36003b1
Added test case covering complicated nested effects. 2017-06-19 00:18:01 +02:00
Patrick Lühne fc48b8f694
Added test case covering typed objects. 2017-06-19 00:18:01 +02:00
Patrick Lühne b0db73ab2f
Added to-do. 2017-06-19 00:18:01 +02:00
Patrick Lühne 195cffbf88
Fixed incorrectly determined parent types and added unit test. 2017-06-19 00:18:01 +02:00
Patrick Lühne bfb382de52
Fixed incorrect constant types and added unit test. 2017-06-19 00:18:01 +02:00
Patrick Lühne 101f33df6e
Removed unused test file. 2017-06-19 00:18:01 +02:00
Patrick Lühne 615167e7cd
Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
Patrick Lühne dde277cc3e
Added to-do. 2017-06-19 00:18:01 +02:00
Patrick Lühne 7ead2277e8
Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00
Patrick Lühne da2a3eefa4
Added extensive test covering Blocksworld instance. 2017-06-19 00:18:01 +02:00
Patrick Lühne 3877012274
Minor extension of unit test covering Blocksworld domain. 2017-06-19 00:18:01 +02:00
Patrick Lühne e0aca18b38
Removed unnecessary directives in test case. 2017-06-19 00:18:01 +02:00
Patrick Lühne 19c81effbe
Added extensive test for Blocksworld domain. 2017-06-19 00:18:00 +02:00
Patrick Lühne f83f9edbef
Reimplemented goal parser. 2017-06-19 00:17:53 +02:00
Patrick Lühne f90009b6d1
Reimplemented initial state parser. 2017-06-19 00:15:32 +02:00
Patrick Lühne fbcb790611
Minor refactoring. 2017-06-19 00:15:27 +02:00
Patrick Lühne 8c98548dbc
Minor formatting. 2017-06-19 00:15:24 +02:00
Patrick Lühne 20c687a787
Corrected exception types. 2017-06-19 00:15:14 +02:00
Patrick Lühne d376c1a993
Allowing atomic formulas and not just predicates in preconditions and effects. 2017-06-19 00:15:11 +02:00
Patrick Lühne 10e658a922
Added back support for parsing effects and even conditional effects. 2017-06-19 00:15:07 +02:00
Patrick Lühne 9c30e27875
Fixed incorrect parsing method for “when” expressions. 2017-06-19 00:15:04 +02:00
Patrick Lühne 14c498c539
Handling unsupported preferences in preconditions. 2017-06-19 00:15:00 +02:00
Patrick Lühne f4c1d65365
Made warnings more concise and consistent. 2017-06-19 00:14:56 +02:00
Patrick Lühne 34d9c7a1c2
Added warnings for currently under-construction sections. 2017-06-19 00:14:52 +02:00
Patrick Lühne 0d3cb152f9
Finished precondition parsing. 2017-06-19 00:14:48 +02:00
Patrick Lühne 63e15d37e8
Made precondition parsing more robust. 2017-06-19 00:14:45 +02:00
Patrick Lühne 51249fd678
Refactored parsing variables, constants, and predicates. 2017-06-19 00:14:40 +02:00
Patrick Lühne 0de5b9eb56
Added to-do. 2017-06-19 00:14:36 +02:00
Patrick Lühne 8288345bcb
Added missing method implementation to tokenizer. 2017-06-19 00:14:33 +02:00
Patrick Lühne f349b5e351
Minor formatting. 2017-06-19 00:14:29 +02:00
Patrick Lühne de69003105
Sectioning unit tests for meaningful error messages. 2017-06-19 00:14:25 +02:00
Patrick Lühne c84cafda18
Fixed constant parsing if no problem is specified. 2017-06-19 00:14:18 +02:00
Patrick Lühne 78b4636028
Continued working on reimplementing action parser. 2017-06-19 00:14:18 +02:00
Patrick Lühne 9fbe0db567
Extended unit test on “either” types. 2017-06-19 00:14:05 +02:00
Patrick Lühne 1876d1fe0b
Fixed parsing of types. 2017-06-19 00:14:01 +02:00
Patrick Lühne 30a092b365
Corrected scope of acceptance tests. 2017-06-19 00:13:56 +02:00
Patrick Lühne 464550cb5b
Renamed tests file. 2017-06-19 00:13:52 +02:00
Patrick Lühne a6babf3e90
Reimplemented major parts of parsing preconditions. 2017-06-19 00:13:48 +02:00
Patrick Lühne 62b9da844a
Started reimplementing expression parsing. 2017-06-19 00:13:43 +02:00
Patrick Lühne fa9fd0935b
Made error message more precise. 2017-06-19 00:13:35 +02:00
Patrick Lühne 1e77a6b043
Added “domain-axioms” as an ignored requirement to increase compatibility. 2017-06-19 00:13:29 +02:00
Patrick Lühne 216decafc1
Allowing types to be undeclared for increased compatibility. 2017-06-19 00:13:24 +02:00
Patrick Lühne 849faad134
Added compatibility check for unsupported “in-package” sections. 2017-06-19 00:13:18 +02:00
Patrick Lühne 9642bab0c8
Enabled colored unit test results by default. 2017-06-19 00:13:13 +02:00
Patrick Lühne 517698475c
Added test cases for all competition domains (not all of them supported yet). 2017-06-19 00:13:03 +02:00
Patrick Lühne 0b8da69394
Added official PDDL competition instances for automated testing. 2017-06-19 00:13:03 +02:00
Patrick Lühne a7c4fdb242
Started reimplementing problem parser. 2017-06-19 00:12:51 +02:00
Patrick Lühne 06b9632b70
Removed unused flags. 2017-05-18 15:55:20 +02:00
Patrick Lühne 94dd209e5e
Linking constants to their declarations by reference instead of pointer. 2017-05-17 20:21:34 +02:00
Patrick Lühne 5d65cc3100
Added missing include directive. 2017-05-17 20:21:20 +02:00