From 562b2296e5dc42a2a56e3a3d726b3c096172f1c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Sun, 14 Aug 2016 15:39:25 +0200 Subject: [PATCH] Documented initial state. --- doc/output-format.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/output-format.md b/doc/output-format.md index f451067..9a8ced2 100644 --- a/doc/output-format.md +++ b/doc/output-format.md @@ -88,7 +88,7 @@ SAS variables are inherently multivalued, which results in two or more values of With PDDL, Boolean variables are created from the PDDL predicates. Variables ared named after the PDDL predicates, `variable().` -Each variable contains exactly two values (one true, one false) of the form `value(, )`. +Each variable contains exactly two values (one `true`, one `false`) of the form `value(, )`. Note that with PDDL, variables and values are named identically. ### Actions @@ -121,7 +121,7 @@ Conditional effects are currently only supported with SAS input problems. ### Constants/Objects ```prolog -% define a or object +% declares a or object constant(constant()). % specifies to be of type type() @@ -132,3 +132,14 @@ Constants and objects are the entities that are affected by [actions](#actions), Constants are global for a domain, while objects are problem-specific. `plasp` does not distinguish between the two (modeling both as constants), as both are identically used static identifiers. + +### Initial State + +```prolog +% initializes with a specific +initialState(, ). +``` + +The initial state contains all variable assignments that hold before executing any actions. + +Note that with PDDL, the initial state might not assign values to all variables. Instead, unassigned values have to be assigned `false` manually.