From parameter assignments to executable moves

A warehouse uses four robots, r1,r2,r3,r4r_1,r_2,r_3,r_4, and five locations, A,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), where rr is a robot, xx and yy are locations, and x≠yx\ne y.


A ground action replaces every parameter with an object of the required type. The action's preconditions are


At⁡(r,x),Charged⁡(r),Connected⁡(x,y),Clear⁡(y).\operatorname{At}(r,x),\quad \operatorname{Charged}(r),\quad \operatorname{Connected}(x,y),\quad \operatorname{Clear}(y).


Its effects remove At⁡(r,x)\operatorname{At}(r,x) and add At⁡(r,y)\operatorname{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} facts. They never change.


Five locations are connected by directed corridors.


The current robot facts are:


Robot

Location

Charged

r1r_1

AA

Yes

r2r_2

AA

No

r3r_3

CC

Yes

r4r_4

EE

Yes


Exactly BB and DD are clear. All unlisted state facts are false.


Report three exact integer counts: ground parameter assignments satisfying the object types and x≠yx\ne y; assignments remaining after additionally requiring Connected⁡(x,y)\operatorname{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.

Your answers

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: