Working backward from a labelled package

A packaging controller uses the following complete action descriptions. Each entry lists positive facts; a dash means the set is empty. No action has effects beyond those listed.


Action

Preconditions

Add effects

Delete effects

Seal

Inspected, LidClosed

Packed

Open

ApplyLabel

Packed, LabelAvailable

Labelled

LabelAvailable


The final goal is G={Packed,Labelled}G=\{\mathrm{Packed},\mathrm{Labelled}\}. The controller proposes the fixed execution sequence Seal, then ApplyLabel.


Regression replaces a required post-action goal set with the facts required immediately before the action. For the positive-fact model here, when an action deletes no required goal fact, use


R(G,a)=(G∖Add⁡(a))∪Pre⁡(a).R(G,a)=\bigl(G\setminus\operatorname{Add}(a)\bigr)\cup\operatorname{Pre}(a).


Complete the two missing steps of the backward calculation. In each blank, write the required fact names in alphabetical order, separated by a comma and one space, without braces. These are required subsets of a state, not complete state descriptions.


Immediately before ApplyLabel, the required fact set is .


Immediately before Seal, the required fact set is .

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Classical Planning Questions: