Commit Graph

171 Commits

Author SHA1 Message Date
a07019801c Refactored expressions to inherit from base class. 2016-06-02 16:28:08 +02:00
97ab22461c Started implementing parsing of action preconditions. 2016-06-02 16:06:11 +02:00
0a4541a401 Put parsing of typed variables into Variables class. 2016-06-01 17:20:34 +02:00
79773ba634 Removed unnecessary include. 2016-06-01 17:06:23 +02:00
b249e1cbf8 Put generic Type parsing in separate function. 2016-06-01 17:02:35 +02:00
25cf7c8ae8 Implemented parsing of PDDL constants. 2016-06-01 16:47:34 +02:00
3c97ced486 Implemented predicate parsing and refactored context storage. 2016-06-01 14:11:13 +02:00
44482ae438 Renamed TypePrimitive to PrimitiveType and made Type hash map contain PrimitiveTypes only. 2016-06-01 01:54:43 +02:00
f597b3ab80 Moved include to the right location. 2016-06-01 01:32:49 +02:00
ced1fd0038 Started refactoring Types with variants. 2016-06-01 01:29:46 +02:00
2654a6ff23 Started implementing predicate parsing. 2016-05-31 16:43:25 +02:00
5f763e90fc Refactored Requirement to be a proper class. 2016-05-31 14:11:21 +02:00
cf1c66a085 Refactored interface for parsing Types. 2016-05-31 14:01:18 +02:00
1395b62e60 Added checks that used types are correctly declared previously. 2016-05-31 13:50:30 +02:00
85da5024ea Refactored type parsing. 2016-05-31 01:06:57 +02:00
a989f5f86e Started implementing PDDL type parsing. 2016-05-30 20:43:36 +02:00
d26ff2df77 Implemented computation of derived requirements. 2016-05-30 15:44:13 +02:00
5c37026ec7 Parsing PDDL requirements. 2016-05-30 15:06:04 +02:00
8aa419b5c2 Implemented requirement parsing. 2016-05-30 14:34:17 +02:00
c191b418f2 Added PDDL requirements enum. 2016-05-30 13:36:47 +02:00
4d984d32c3 Refactoring of Parser class with std::istreambuf_iterator. 2016-05-30 12:54:56 +02:00
67c9e2148d Started implementing PDDL domain parser. 2016-05-29 16:55:43 +02:00
42fda5925d Simplified Parser interface. 2016-05-29 15:08:10 +02:00
2c564f47d3 Refactored predicate argument parsing. 2016-05-28 14:21:05 +02:00
f81fd1a1b4 Introduced alias for parser’s underlying character type. 2016-05-27 19:25:59 +02:00
a1b334a302 Made Parser constructor explicit. 2016-05-27 19:08:31 +02:00
ff420fbe57 Minor formatting. 2016-05-27 18:39:43 +02:00
07eb23b312 Refactored basic parsing. 2016-05-27 03:58:59 +02:00
8eb0a4847f Refactoring of TranslatorASP class. 2016-05-26 12:59:18 +02:00
045239b620 Fixed wrong operator in debug output. 2016-05-25 23:22:25 +02:00
c6676e5a07 Made include guards plasp-specific to avoid potential naming conflicts. 2016-05-24 16:03:08 +02:00
bf6300f36b Made SAS translator output format contain less IDs. 2016-05-24 01:42:15 +02:00
3a2dfd97b8 Added conditional effect support for SAS translator output. 2016-05-23 18:16:44 +02:00
05058c149e Added axiom rule support for SAS translator output. 2016-05-23 17:13:11 +02:00
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
03ae0dc301 Changed SAS translator output format to be closer to the SAS representation. 2016-05-23 14:20:11 +02:00
d118788142 Parsing <none of those> values in SAS files. 2016-05-23 01:27:28 +02:00
401c4069bd Enforcing variables to have exactly (and not at most) one value. 2016-05-23 01:02:45 +02:00
5db8af9ffc Fixed meta encoding for sequential, incremental planning. 2016-05-23 00:24:48 +02:00
d8b87c7bfa Finished SAS-to-ASP translation with limited support. 2016-05-22 22:45:33 +02:00
d8d6998936 Escaping predicates containing hyphens for ASP output. 2016-05-22 20:19:45 +02:00
4258dfcfd0 Added constraints derived from SAS variables to ASP output and fixed mutex group constraints. 2016-05-22 16:35:57 +02:00
1e47173d17 Made Predicate a proper class. 2016-05-22 16:00:58 +02:00
6677ded33e Made Effect a proper class. 2016-05-22 15:46:41 +02:00
37af6d5127 Made AxiomRule a proper class. 2016-05-22 15:00:54 +02:00
9fce86ffaf Made Operator constructor private. 2016-05-22 14:45:31 +02:00
5a12953f34 Minor formatting. 2016-05-22 14:43:57 +02:00
c23ba5312b Outsourced debug output into a separate header. 2016-05-22 14:40:52 +02:00
21237ecac7 Made Operator a proper class. 2016-05-22 14:35:53 +02:00
c13e3539f2 Introduced consistent aliases for vector types. 2016-05-22 14:24:38 +02:00
90dfa302a9 Made Goal a proper class. 2016-05-22 14:04:58 +02:00
beef3aca60 Made InitialState a proper class. 2016-05-22 13:58:05 +02:00
c7c7a93eba Outsourced SAS value parsing. 2016-05-21 17:09:55 +02:00
d219ef0388 Removing trailing () at the end of 0-ary values for ASP output. 2016-05-21 16:27:30 +02:00
273e310c60 Made Value a proper class. 2016-05-21 16:22:40 +02:00
5e016d2d79 Made Variable a proper class. 2016-05-21 15:54:03 +02:00
bac8d5c842 Outsourced SAS variable parsing. 2016-05-21 15:45:01 +02:00
b2e4d3329a Added to-do. 2016-05-21 15:44:06 +02:00
20c2af5f7d Implemented common function for parsing expected values. 2016-05-21 15:40:19 +02:00
aa351f0573 Added missing header file. 2016-05-21 15:19:40 +02:00
081f0eb70f Moved parsing utilities to separate namespace. 2016-05-21 14:14:14 +02:00
17685b68fb Started implementing SAS to ASP translator. 2016-05-21 02:43:07 +02:00
6e36fc128e Implemented parsing the operator predicates. 2016-05-21 02:03:45 +02:00
15289a0c8c Implemented parsing the signs of values. 2016-05-21 01:17:17 +02:00
c8aa4d0178 Made constructor private. 2016-05-21 00:25:24 +02:00
fb04b5fb11 Added accessor for action costs usage. 2016-05-20 18:26:42 +02:00
b083d77ad4 Added accessors to parsed SAS information. 2016-05-20 18:18:30 +02:00
2d3760b774 Implemented SAS parsing directly from streams. 2016-05-20 18:02:52 +02:00
440d90a28e Renamed parseVariableValue to parseValue. 2016-05-20 16:48:46 +02:00
44e7535e64 Simplified parsing of primitive types. 2016-05-20 16:45:15 +02:00
3ddf942a12 Initial commit. 2016-05-20 15:29:24 +02:00