A warehouse uses four robots, r1,r2,r3,r4r_1,r_2,r_3,r_4r1,r2,r3,r4, and five locations, A,B,C,D,EA,B,C,D,EA,B,C,D,E. Its classical planning model has one action schema, Move(r,x,y)\operatorname{Move}(r,x,y)Move(r,x,y), where rrr is a robot, xxx and yyy are locations, and x≠yx\ne yx=y.
A ground action replaces every parameter with an object of the required type. The action's preconditions are
Its effects remove At(r,x)\operatorname{At}(r,x)At(r,x) and add At(r,y)\operatorname{At}(r,y)At(r,y). There are no other effects or preconditions. An applicable action has all its preconditions true in the current state.
The directed corridors shown below are exactly the true Connected\operatorname{Connected}Connected facts. They never change.
The current robot facts are:
Robot
Location
Charged
r1r_1r1
AAA
Yes
r2r_2r2
No
r3r_3r3
CCC
r4r_4r4
EEE
Exactly BBB and DDD are clear. All unlisted state facts are false.
Report three exact integer counts: ground parameter assignments satisfying the object types and x≠yx\ne yx=y; assignments remaining after additionally requiring Connected(x,y)\operatorname{Connected}(x,y)Connected(x,y); and actions applicable in the current state. Count individual actions, not combinations of simultaneous moves. Evaluate every applicability test in the same current state.
Unlock full course notes by signing up
Preserving a goal while restoring a resource
A maintenance unit starts in {Supply,Dirty,BatteryLow}\{\mathrm{Supply},\mathrm{Dirty},\mathrm{BatteryLow}\}{Supply,Dirty,BatteryLow} and must reach {Clean,Charged}\{\mathrm{Clean},\mathrm{Charged}\}{Clean,Charged}. The following are the only available actions. Every unlisted effect leaves the corresponding fact unchanged.
Which statements are true? Select all that apply.
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.
The final goal is G={Packed,Labelled}G=\{\mathrm{Packed},\mathrm{Labelled}\}G={Packed,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
Fewest actions versus least execution time
An archive must deliver folders A and B from its dock to a remote office. Its cart carries one folder at a time. The initial state is
The goal is {Delivered(A),Delivered(B),Dock}\{\mathrm{Delivered}(A),\mathrm{Delivered}(B),\mathrm{Dock}\}{Delivered(A),Delivered(B),Dock}. For each action containing xxx, substitute either A or B. The table lists all actions; facts not mentioned in an effect persist.
Checking whether an ordering repair protects every execution
A classical planning model for a test line contains four actions. Each action occurs exactly once, all listed facts are initially false, and the final goal is Released. A dash denotes an empty set. There are no unlisted effects or preconditions.
The original partial order requires P before T, T before R, and F before R. Before means strictly earlier in a sequential execution. The diagram shows these constraints.
A causal link records that one action supplies a fact required by another, with that fact protected between the two actions. Here P supplies Ready to T. F threatens that support if it occurs between P and T.