Commit Graph
100 Commits
Author SHA1 Message Date
patrick 0beab67bd4 Made effect variant more concise. 2017-06-27 17:50:42 +02:00
patrick 4622f31fa4 Made conditional effect variant more concise. 2017-06-27 17:43:00 +02:00
patrick 0eff8e5dcf Only enumerating existentially bound parameters for “and” expressions. 2017-06-27 16:52:50 +02:00
patrick 1516561a58 Allowing “not” expressions without introducing derived predicates. 2017-06-27 12:39:51 +02:00
patrick 5c93840f85 Allowing “exists” derived predicates to hold the precondition directly. 2017-06-27 12:34:15 +02:00
patrick ea50cffac9 Separating top-level and nested preconditions correctly. 2017-06-27 12:29:43 +02:00
patrick 8a48a5043a Minor refactoring for consistency. 2017-06-27 12:17:42 +02:00
patrick cc90ef3ec6 Restructured file for clarity. 2017-06-27 11:56:51 +02:00
patrick 31e5ead21e Minor refactoring. 2017-06-27 11:44:33 +02:00
patrick d451d2d548 Handling negations introduced by “forall” elimination correctly. 2017-06-27 11:35:47 +02:00
patrick 729ecc9475 Added missing recursion step in PDDL reduction. 2017-06-27 11:34:53 +02:00
patrick 6c9ca0ccb8 Implemented translation of derived predicates. 2017-06-24 23:54:57 +02:00
patrick 6b1d079f69 Enabled test cases again by removing unsupported features from test files. 2017-06-24 21:49:13 +02:00
patrick 6e858ff52f Enabled test case again by exchanging unsupported input file. 2017-06-24 21:49:06 +02:00
patrick ca02b8ce62 Throwing exceptions for unsupported features instead of silently accepting them. 2017-06-24 20:27:01 +02:00
patrick 2b0b6570ea Excluding unsupported domains and instances from acceptance tests. 2017-06-24 20:14:06 +02:00
patrick 909949ff22 Removed unwanted test case. 2017-06-24 20:11:12 +02:00
patrick 436933f73f Added function to dermine stream location from arbitrary positions. 2017-06-24 19:01:09 +02:00
patrick 4d59732263 Minor refactoring. 2017-06-24 18:37:49 +02:00
patrick 12efe41551 Fixed issue due to undefined implementations. 2017-06-24 18:37:20 +02:00
patrick 362222c882 Finished implementing reduction. 2017-06-24 17:38:11 +02:00
patrick fcb9aa0a76 Added missing forward declaration. 2017-06-24 17:35:52 +02:00
patrick d9bae984b2 Implemented elimination of “forall” statements. 2017-06-24 17:30:08 +02:00
patrick 994801525a Implemented negation normalization (NFF). 2017-06-24 17:19:35 +02:00
patrick 939c2c735c Explicitly deleted default constructors of all variant types to avoid future errors. 2017-06-24 17:17:27 +02:00
patrick 287e1041bd Added missing inline directive. 2017-06-24 16:51:45 +02:00
patrick 9845c5ae9e Added missing parentheses in PDDL output. 2017-06-24 16:33:42 +02:00
patrick 7ae2734e9f Started implementing reduction, added support for “imply” expressions. 2017-06-24 16:03:32 +02:00
patrick d5dd8e849f Avoiding to decompose “not” expressions if they form simple literals. 2017-06-24 16:02:48 +02:00
patrick 079e2ac539 Printing arguments of “not” expressions on the same line for clarity. 2017-06-24 16:00:50 +02:00
patrick aeb8132fc7 Added missing inline directives. 2017-06-24 15:53:40 +02:00
patrick dd51f2b4fd Added missing const directive. 2017-06-24 15:53:16 +02:00
patrick d7e0beabdf Implemented normalization of preconditions. 2017-06-24 14:29:13 +02:00
patrick 9d1a8f4c0f Started implementing PDDL normalization. 2017-06-23 04:18:07 +02:00
patrick e4f4b5e066 Added initial normalized PDDL debug output functionality. 2017-06-23 03:54:51 +02:00
patrick 19f2c2ebf8 Added missing forward declaration. 2017-06-23 03:53:01 +02:00
patrick 2851f8d286 Corrected grammar of initial state facts. 2017-06-23 03:41:52 +02:00
patrick 9360ad3487 Added missing forward declaration. 2017-06-23 02:31:07 +02:00
patrick c0b71290a4 Minor formatting in PDDL debug output. 2017-06-23 01:48:47 +02:00
patrick 3d9bf2582f Fixed format of PDDL debug output. 2017-06-23 01:22:28 +02:00
patrick cbc9c86edd Removed unnecessary include directives. 2017-06-23 00:58:58 +02:00
patrick 480da6ff09 Built initial AST for normalized PDDL. 2017-06-23 00:51:09 +02:00
patrick 834209d506 Moved common output utilities to separate header. 2017-06-23 00:50:19 +02:00
patrick ef606f3d9b Merge branch 'develop' of github.com:potassco/plasp into feature-normalization 2017-06-22 23:45:15 +02:00
patrick b5131fa00d Added debug output functions for PDDL AST. 2017-06-22 23:19:49 +02:00
patrick 768afa9bf5 Added to-do. 2017-06-22 23:19:17 +02:00
patrick 59dc239c67 Removed unused class. 2017-06-22 23:18:43 +02:00
patrick ec546758a8 Minor formatting. 2017-06-22 22:48:25 +02:00
patrick e93085d88a Moved color logging to separate library for reusing it in PDDL parser. 2017-06-22 20:58:31 +02:00
patrick 595891f040 Minor formatting. 2017-06-22 20:36:48 +02:00
patrick b7b4d926b4 Removed unused declarations. 2017-06-22 00:03:35 +02:00
patrick 12e55da662 Allowing “at” as a predicate name even though it is an expression identifier. 2017-06-21 23:00:07 +02:00
patrick 08c55adfbd Added test case covering missing variable names. 2017-06-21 16:55:56 +02:00
patrick ec8007125f Fixed segfault occurring with accidentally unnamed variables. 2017-06-21 16:48:43 +02:00
patrick 17985e3b5a Added note suggesting using the compatibility mode if errors occur. 2017-06-21 03:07:09 +02:00
patrick 002f875c53 Lowered default message logging priority to info. 2017-06-21 03:05:37 +02:00
patrick 39c0e27cb2 Refactoring of tokenizer and stream classes for better efficiency and maintainability. 2017-06-21 02:56:27 +02:00
patrick 97c6e58355 Minor refactoring in stream reading. 2017-06-20 18:13:49 +02:00
patrick 7162fa76f6 Updated change log with new compatibility parsing mode. 2017-06-20 03:27:06 +02:00
patrick f5a73f09f8 Added command-line option to enable the parser’s compatibility mode. 2017-06-20 03:23:19 +02:00
patrick ee56a105b3 Resizing file content one time if stream is seekable and dynamically otherwise. 2017-06-20 03:14:51 +02:00
patrick 19f2ad19b0 Fixed incorrect language detection with legacy “in-package” directives. 2017-06-20 03:01:20 +02:00
patrick 178a55d29e Added missing CMake option for testing PDDL parsing library to Travis configuration. 2017-06-20 02:11:15 +02:00
patrick ff782a8642 Updated change log with internal switch to PDDL parsing library. 2017-06-20 01:59:33 +02:00
patrick e345fd60fd Reimplemented plasp with PDDL parsing library. 2017-06-20 01:53:55 +02:00
patrick 9c7532bd9d Merge branch 'develop' of github.com:potassco/plasp into feature-plasp-with-pddlparse 2017-06-19 16:09:06 +02:00
patrick 9d906a195a Fixed incorrectly labeled badges in readme file. 2017-06-19 16:07:44 +02:00
patrick 2d44ca7955 Updated PDDL instance repository. 2017-06-19 15:55:58 +02:00
patrick 799c9ce2fb Replicated test cases for former issues in PDDL parsing library. 2017-06-19 01:15:20 +02:00
patrick c35faab104 Replicated syntax error tests in PDDL parsing library. 2017-06-19 01:09:55 +02:00
patrick ce812d449b Added exceptions for inconsistent use of typing. 2017-06-19 01:09:55 +02:00
patrick 17b8306394 Minor refactoring, as there is only one typing section. 2017-06-19 01:09:55 +02:00
patrick df2359712f Removed unwanted debug output. 2017-06-19 01:09:55 +02:00
patrick de648fbb1d Fixed incorrect names of test cases. 2017-06-19 01:09:55 +02:00
patrick d0d141ef99 Replicated test cases with missing or mismatched domains in PDDL parsing library. 2017-06-19 01:09:50 +02:00
patrick 40b43217fc Replicated white space test case in new PDDL parsing library. 2017-06-19 00:35:31 +02:00
patrick c6c36273b5 Dropped support for GCC 5 due to unsupported conversion with optional types. 2017-06-19 00:29:55 +02:00
patrick 586e93190c Made plasp compatible to recent tokenizer changes. 2017-06-19 00:28:17 +02:00
patrick 9fe489de53 Added unit tests covering predicate signature matching. 2017-06-19 00:18:03 +02:00
patrick 60d8b9ba77 Fixed incorrect parsing order of type declarations. 2017-06-19 00:18:02 +02:00
patrick 1379c24362 Renamed test sections for clarity. 2017-06-19 00:18:02 +02:00
patrick bbf2a7d02d Allowing not declaring implicit “object” type without warning or error. 2017-06-19 00:18:02 +02:00
patrick 4c0583c91f Refactored tokenizer to lazily evaluate file locations. 2017-06-19 00:18:02 +02:00
patrick 04dffdb09e Fixed accidentally truncated ends of files after removing comments. 2017-06-19 00:18:02 +02:00
patrick dd7fb31309 Made CMake configuration consistent. 2017-06-19 00:18:02 +02:00
patrick 268fa84c9e Reimplemented tokenizer with plain streams. 2017-06-19 00:18:02 +02:00
patrick b9b987490b Fixed incorrect CMake option handling. 2017-06-19 00:18:02 +02:00
patrick 230844c3ae Fixed whitespace issue in typing sections and added test cases. 2017-06-19 00:18:02 +02:00
patrick 6ce4eecb18 Implemented predicate signature checks. 2017-06-19 00:18:02 +02:00
patrick e364d01cf4 Fixed issue in parsing typed objects in multiple iterations and added test case. 2017-06-19 00:18:02 +02:00
patrick 04ded5e8b8 Removed unnecessary include directive. 2017-06-19 00:18:02 +02:00
patrick 83a36003b1 Added test case covering complicated nested effects. 2017-06-19 00:18:01 +02:00
patrick fc48b8f694 Added test case covering typed objects. 2017-06-19 00:18:01 +02:00
patrick b0db73ab2f Added to-do. 2017-06-19 00:18:01 +02:00
patrick 195cffbf88 Fixed incorrectly determined parent types and added unit test. 2017-06-19 00:18:01 +02:00
patrick bfb382de52 Fixed incorrect constant types and added unit test. 2017-06-19 00:18:01 +02:00
patrick 101f33df6e Removed unused test file. 2017-06-19 00:18:01 +02:00
patrick 615167e7cd Implemented compatibility mode to support old instances. 2017-06-19 00:18:01 +02:00
patrick dde277cc3e Added to-do. 2017-06-19 00:18:01 +02:00
patrick 7ead2277e8 Prepared exceptions to have different types. 2017-06-19 00:18:01 +02:00