Commit Graph
351 Commits
Author SHA1 Message Date
patrick 8563011939 Minor formatting. 2016-06-13 03:22:48 +02:00
patrick e07672ffe6 Added transitive deduction of object types to PDDL translation. 2016-06-13 03:22:19 +02:00
patrick 23f6f9b26b Added translation of a PDDL problem’s goal. 2016-06-13 03:19:24 +02:00
patrick e9c464b319 Added translation of a PDDL problem’s initial state. 2016-06-13 02:59:43 +02:00
patrick d3dc9101dd Added translation of objects in PDDL problems. 2016-06-13 02:48:16 +02:00
patrick e018cdbc91 Added translation of effects of PDDL actions. 2016-06-13 02:41:23 +02:00
patrick e2b8fd2880 Added translation for preconditions of PDDL actions. 2016-06-13 02:38:56 +02:00
patrick 680206b40b Removed Reference expressions. 2016-06-13 01:38:56 +02:00
patrick 1c8af793c2 Made PDDL action preconditions and effects optional. 2016-06-12 23:51:45 +02:00
patrick 46351b2fe7 Ensuring that input contains only predicates, negations, and conjunctions for the time being. 2016-06-12 23:38:44 +02:00
patrick 30cfa1b45e Fixes lambda issue with gcc. 2016-06-12 22:58:17 +02:00
patrick 0756d63769 Put translation of PDDL variable lists into separate method. 2016-06-12 22:55:35 +02:00
patrick 87ca54a253 Translating names of PDDL actions. 2016-06-12 22:47:39 +02:00
patrick 9c2f49e4a0 Put PDDL translation sections into separate methods. 2016-06-12 22:39:04 +02:00
patrick 49002ac52d Made output stream a member of the SAS translator for convenience. 2016-06-12 22:35:31 +02:00
patrick b70e62ff3b Made output stream a member of the PDDL translator for convenience. 2016-06-12 22:31:31 +02:00
patrick 046f803538 Implemented translation of PDDL predicates (with primitive types only). 2016-06-12 22:25:12 +02:00
patrick 639b7646c9 Making sure that PDDL predicates contain only primitive types for the time being. 2016-06-12 22:19:55 +02:00
patrick 89bb54a3ec Hiding translated PDDL sections if empty. 2016-06-12 22:19:24 +02:00
patrick e9d48bcb7d Removing visitor pattern and replacing it with CRTP. 2016-06-12 22:12:09 +02:00
patrick 0513b3aa0c Implemented translation of PDDL domain constants. 2016-06-10 17:52:19 +02:00
patrick 458dbd723c Restructured translated PDDL type output. 2016-06-10 17:48:17 +02:00
patrick 8f0f4bfa65 Implemented translation of PDDL domain types. 2016-06-10 17:40:32 +02:00
patrick da71d4947b Added method for checking whether PDDL description contains problem. 2016-06-10 17:26:36 +02:00
patrick 6a83147ac0 Moved TranslatorException class to utils directory. 2016-06-10 17:21:56 +02:00
patrick 34a413cf05 Clarified error message. 2016-06-10 17:12:08 +02:00
patrick 854ade5fa9 Ensuring input to contain only one SAS description. 2016-06-10 17:09:06 +02:00
patrick 20b40d3e1c Allowing primitive type »objects« for compatibility. 2016-06-10 16:46:02 +02:00
patrick 9f0e784a4a Implemented recognition of comments in PDDL. 2016-06-10 16:40:43 +02:00
patrick eb5a120286 Fixed wrong comparison for language detection. 2016-06-10 01:25:51 +02:00
patrick 2e1a011dcf Implemented automatic language detection for plasp application. 2016-06-10 01:23:41 +02:00
patrick 8bb25e9b90 Implemented construction of SAS and PDDL Descriptions from Parser object. 2016-06-10 00:46:40 +02:00
patrick dea879199a Removed debug output. 2016-06-09 23:26:00 +02:00
patrick f8fc1865a2 Added to-do. 2016-06-09 22:55:16 +02:00
patrick 85444f235b Parsing goal section of PDDL problem specifications. 2016-06-09 22:54:39 +02:00
patrick d138e869fc Fixed further white space issue with empty n-ary predicates. 2016-06-09 18:46:06 +02:00
patrick 156dfd88c2 Fixed issue with parsing unsupported sections. 2016-06-09 18:30:34 +02:00
patrick 730a9b7e63 Fixed whitespace issues when parsing constants. 2016-06-09 18:26:04 +02:00
patrick 6f1b38cdb7 Fixed parsing issue with predicates in problem description. 2016-06-09 18:04:24 +02:00
patrick a8e4ef7234 Added missing implementation of facts accessor of InitialState. 2016-06-09 18:03:43 +02:00
patrick c7405e054f Minor formatting. 2016-06-09 18:03:32 +02:00
patrick 9506dcb31e Refactored parsing of expressions, all classes parse from opening to closing parenthesis now. 2016-06-09 17:51:10 +02:00
patrick bbb6379907 Added goal-utilities requirement with a warning if used for compatibility. 2016-06-09 15:52:57 +02:00
patrick 26d7e216a6 Fixed issue with invalid suffixes on section names. 2016-06-09 15:33:09 +02:00
patrick 2245422d0f Made parser exception message more meaningful. 2016-06-09 15:18:36 +02:00
patrick 87889f5efe Implemented two-pass parsing for PDDL problems. 2016-06-09 14:39:03 +02:00
patrick 8428c20bd4 Parsing domains in two passes and continued working on parsing the initial state. 2016-06-09 01:25:18 +02:00
patrick ff7a6b8c8f Removed unnecessary include. 2016-06-08 16:52:44 +02:00
patrick d23ec14e9d Started testing PDDL problem parsing for a Blocks World problem. 2016-06-08 13:52:36 +02:00
patrick ad23c89266 Refactored PDDL tests. 2016-06-08 13:41:17 +02:00