Commit Graph
100 Commits
Author SHA1 Message Date
patrick 082235eaaf Minor refactoring. 2016-05-24 16:31:05 +02:00
patrick 2bbd28c341 Enhanced command-line interface. 2016-05-24 16:24:37 +02:00
patrick c6676e5a07 Made include guards plasp-specific to avoid potential naming conflicts. 2016-05-24 16:03:08 +02:00
patrick 324c91a9aa Minor formatting in readme file. 2016-05-24 15:24:23 +02:00
patrick fe08394d05 Extended readme file with Fast Downward usage information. 2016-05-24 12:53:09 +02:00
patrick fd1ce50b35 Fixed typo. 2016-05-24 02:58:11 +02:00
patrick d7e6d3cabf Added an example clingo call to usage notes in readme file. 2016-05-24 02:57:00 +02:00
patrick 52570d887f Added building information to readme file. 2016-05-24 02:51:33 +02:00
patrick ffb300d804 Fixed typo in readme file. 2016-05-24 02:43:48 +02:00
patrick 62bfffa1b2 Fixed typo in readme file. 2016-05-24 02:43:03 +02:00
patrick 4a023f20e4 Added more details to the readme file. 2016-05-24 02:42:31 +02:00
patrick c899ba6449 Added tests covering basic parsing. 2016-05-24 02:23:56 +02:00
patrick 9b2ed2e03e Added test covering the parsing of action costs and conditional effects. 2016-05-24 02:13:21 +02:00
patrick 430bedc2cc Added test covering SAS feature requirements. 2016-05-24 02:03:13 +02:00
patrick ee0b446230 Showing action cost predicates unconditionally for easier handling in meta encodings. 2016-05-24 01:54:57 +02:00
patrick ac354d512c Treating <none of those> as a normal value in SAS translator output. 2016-05-24 01:48:59 +02:00
patrick bf6300f36b Made SAS translator output format contain less IDs. 2016-05-24 01:42:15 +02:00
patrick 3a2dfd97b8 Added conditional effect support for SAS translator output. 2016-05-23 18:16:44 +02:00
patrick bc5f8edb67 Hiding action cost output if feature not required. 2016-05-23 17:15:22 +02:00
patrick 05058c149e Added axiom rule support for SAS translator output. 2016-05-23 17:13:11 +02:00
patrick a5fd698888 Added action costs support for SAS translator output. 2016-05-23 16:57:12 +02:00
patrick c90d5b1d72 Added mutex groups and variable uniqueness back to the meta encoding. 2016-05-23 16:45:55 +02:00
patrick 4c6c739060 Changed SAS translator output format once more to make it even closer to the SAS format. 2016-05-23 16:28:06 +02:00
patrick 02a5b11884 Switching SAS translator output format to multi-valued variable representation. 2016-05-23 15:36:23 +02:00
patrick 6e37721243 Minor formatting. 2016-05-23 14:24:00 +02:00
patrick 0724963c32 Removed fluents section (to be derived from variables instead). 2016-05-23 14:22:33 +02:00
patrick 03ae0dc301 Changed SAS translator output format to be closer to the SAS representation. 2016-05-23 14:20:11 +02:00
patrick 2ef710642b Fixed unescaped fluent names. 2016-05-23 02:03:52 +02:00
patrick 7d0f417ba4 Enforcing Travis to build everything successfully in addition to run the tests. 2016-05-23 01:56:53 +02:00
patrick 3ff20da97e Handling <none of those> values in ASP translator. 2016-05-23 01:53:42 +02:00
patrick d118788142 Parsing <none of those> values in SAS files. 2016-05-23 01:27:28 +02:00
patrick 401c4069bd Enforcing variables to have exactly (and not at most) one value. 2016-05-23 01:02:45 +02:00
patrick 081b604c40 Added test for removal of trailing parantheses with 0-ary predicates. 2016-05-23 00:47:30 +02:00
patrick ea1dcef788 Reordered ASP output. 2016-05-23 00:25:13 +02:00
patrick 5db8af9ffc Fixed meta encoding for sequential, incremental planning. 2016-05-23 00:24:48 +02:00
patrick 5b42b09e5d Added .gitattributes file to let Linguist ignore external test data. 2016-05-22 22:50:41 +02:00
patrick a61c1f45c4 Added sequential, incremental encoding for translated ASP output. 2016-05-22 22:50:20 +02:00
patrick d8b87c7bfa Finished SAS-to-ASP translation with limited support. 2016-05-22 22:45:33 +02:00
patrick eed215871a Minor formatting. 2016-05-22 20:22:48 +02:00
patrick 1dd55715f1 Reordered ASP output. 2016-05-22 20:21:31 +02:00
patrick d8d6998936 Escaping predicates containing hyphens for ASP output. 2016-05-22 20:19:45 +02:00
patrick 4258dfcfd0 Added constraints derived from SAS variables to ASP output and fixed mutex group constraints. 2016-05-22 16:35:57 +02:00
patrick 97eaff0535 Removed done to-do. 2016-05-22 16:04:22 +02:00
patrick d9e5b5826b Added exception for currently unsupported action costs. 2016-05-22 16:03:37 +02:00
patrick 1e47173d17 Made Predicate a proper class. 2016-05-22 16:00:58 +02:00
patrick 6677ded33e Made Effect a proper class. 2016-05-22 15:46:41 +02:00
patrick 342672063e Minor formatting. 2016-05-22 15:04:23 +02:00
patrick 37af6d5127 Made AxiomRule a proper class. 2016-05-22 15:00:54 +02:00
patrick 9fce86ffaf Made Operator constructor private. 2016-05-22 14:45:31 +02:00
patrick 5a12953f34 Minor formatting. 2016-05-22 14:43:57 +02:00
patrick d97b45ddcd Removed pointless comment. 2016-05-22 14:42:34 +02:00
patrick c23ba5312b Outsourced debug output into a separate header. 2016-05-22 14:40:52 +02:00
patrick 21237ecac7 Made Operator a proper class. 2016-05-22 14:35:53 +02:00
patrick c13e3539f2 Introduced consistent aliases for vector types. 2016-05-22 14:24:38 +02:00
patrick 90dfa302a9 Made Goal a proper class. 2016-05-22 14:04:58 +02:00
patrick beef3aca60 Made InitialState a proper class. 2016-05-22 13:58:05 +02:00
patrick c7c7a93eba Outsourced SAS value parsing. 2016-05-21 17:09:55 +02:00
patrick d219ef0388 Removing trailing () at the end of 0-ary values for ASP output. 2016-05-21 16:27:30 +02:00
patrick 273e310c60 Made Value a proper class. 2016-05-21 16:22:40 +02:00
patrick 5e016d2d79 Made Variable a proper class. 2016-05-21 15:54:03 +02:00
patrick bac8d5c842 Outsourced SAS variable parsing. 2016-05-21 15:45:01 +02:00
patrick b2e4d3329a Added to-do. 2016-05-21 15:44:06 +02:00
patrick 20c2af5f7d Implemented common function for parsing expected values. 2016-05-21 15:40:19 +02:00
patrick aa351f0573 Added missing header file. 2016-05-21 15:19:40 +02:00
patrick 081f0eb70f Moved parsing utilities to separate namespace. 2016-05-21 14:14:14 +02:00
patrick 1840b200d5 Added to-do. 2016-05-21 03:03:00 +02:00
patrick cac555ea42 Correctly aggregating fluent names now. 2016-05-21 03:02:12 +02:00
patrick 17685b68fb Started implementing SAS to ASP translator. 2016-05-21 02:43:07 +02:00
patrick 57a64f3af9 Fixed output of 0-ary predicates. 2016-05-21 02:31:47 +02:00
patrick e714060112 Added tests for parsing the operator predicates. 2016-05-21 02:06:35 +02:00
patrick 6e36fc128e Implemented parsing the operator predicates. 2016-05-21 02:03:45 +02:00
patrick 0e4233cc65 Added tests for parsing value signs. 2016-05-21 01:20:27 +02:00
patrick 15289a0c8c Implemented parsing the signs of values. 2016-05-21 01:17:17 +02:00
patrick e9fe6fa219 Made git ignore dirty submodules. 2016-05-21 00:37:32 +02:00
patrick fa19c0e848 Fixed Google Test version to release 1.7.0. 2016-05-21 00:35:44 +02:00
patrick c8aa4d0178 Made constructor private. 2016-05-21 00:25:24 +02:00
patrick a3e946fec8 Added build status image to readme file. 2016-05-20 22:24:24 +02:00
patrick 0727db0ee1 Added Travic CI configuration file. 2016-05-20 22:19:40 +02:00
patrick 22956f3265 Changed submodule to HTTPS protocol for convenience. 2016-05-20 22:18:48 +02:00
patrick e0c510a95f Added Google Test as a submodule to avoid potential linking issues. 2016-05-20 21:59:44 +02:00
patrick 38c8a96d99 Added missing REQUIRED flag in CMake file for tests. 2016-05-20 21:37:30 +02:00
patrick b09906495a Included missing header file. 2016-05-20 21:34:36 +02:00
patrick 5096161de9 Added custom target for executing the tests. 2016-05-20 20:00:03 +02:00
patrick ffda7b5e27 Minor formatting. 2016-05-20 19:50:11 +02:00
patrick ca41b5f5d8 Added missing CMake option for building tests. 2016-05-20 19:49:40 +02:00
patrick 216d73f03d Extended readme file with authors of previous iterations. 2016-05-20 19:23:28 +02:00
patrick 16b8b4c833 Added tests for SAS parser. 2016-05-20 18:46:37 +02:00
patrick fb04b5fb11 Added accessor for action costs usage. 2016-05-20 18:26:42 +02:00
patrick b083d77ad4 Added accessors to parsed SAS information. 2016-05-20 18:18:30 +02:00
patrick 2d3760b774 Implemented SAS parsing directly from streams. 2016-05-20 18:02:52 +02:00
patrick e899bd7aec Removed unintended debug output. 2016-05-20 17:05:49 +02:00
patrick eee7a3da4d Minor formatting. 2016-05-20 17:03:56 +02:00
patrick 48bd3c77ad Handling further parser exceptions. 2016-05-20 17:01:48 +02:00
patrick c61bdfd9f1 Unified parsing of Boolean variable. 2016-05-20 16:53:14 +02:00
patrick 8883613d18 Minor formatting. 2016-05-20 16:49:44 +02:00
patrick 440d90a28e Renamed parseVariableValue to parseValue. 2016-05-20 16:48:46 +02:00
patrick 44e7535e64 Simplified parsing of primitive types. 2016-05-20 16:45:15 +02:00
patrick 59661621cd Enhanced exception output for number parsing. 2016-05-20 16:26:24 +02:00
patrick 6d7954e661 Better handling of number parsing exceptions. 2016-05-20 16:20:51 +02:00
patrick d7984e9b3a Moved exception catching from parser to application. 2016-05-20 16:16:56 +02:00