Planning problems specifications have been modified to exclude several generally unused constructs (named initial situations and expansion information). We have removed the length specification because it is at odds with the intention to supply physics, not advice. Furthermore, the advice this field offers over-emphasises a very coarse plan metric. Instead, we have introduced an optional metric field, which can be used to supply an expression that should be optimized in the construction of a plan. The field states whether the metric is to be minimized or maximized. Of course, a planner is free to ignore this field and make the assumption that plans with fewest steps will be considered good plans. However, we consider this extension to be a crucial one in the development of a more widely applicable planning language. We have provided the variable total-time that takes the value of the total execution time for the plan. This allows us to conveniently express the intention to minimize total execution time.
We anticipate that extensions of the plan metric syntax will prove necessary in the longer term, but believe that this version already provides a significant new challenge to the community. Problem specifications are still somewhat impoverished in terms of the ability to easily specify temporal constraints on goals and other non-standard features of initial and goal states. Again, we anticipate the need for extension, but have chosen to leave a clean sheet for future developments.
<problem> ::= (define (problem <name>)
[<object declaration> ]
<object declaration> ::= (:objects <typed list (name)>)
<init> ::= (:init <init-el>)
<init-el> ::= <literal(name)>
<init-el> ::= (= <f-head> <number>)
<goal> ::= (:goal <GD>)
<metric-spec> ::= (:metric <optimization> <ground-f-exp>)
<optimization> ::= minimize
<optimization> ::= maximize
<ground-f-exp> ::= (<binary-op> <ground-f-exp> <ground-f-exp>)
<ground-f-exp> ::= (- <ground-f-exp>)
<ground-f-exp> ::= <number>
<ground-f-exp> ::= (<function-symbol> <name>)
<ground-f-exp> ::= total-time
<ground-f-exp> ::= <function-symbol>
<length-spec> ::= (:length [(:serial <integer>)]
The length-spec is deprecated.