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


{Dock,Pending(A),Pending(B),Empty}.\{\mathrm{Dock},\mathrm{Pending}(A),\mathrm{Pending}(B),\mathrm{Empty}\}.


The goal is {Delivered(A),Delivered(B),Dock}\{\mathrm{Delivered}(A),\mathrm{Delivered}(B),\mathrm{Dock}\}. For each action containing xx, substitute either A or B. The table lists all actions; facts not mentioned in an effect persist.


Action

Preconditions

Add effects

Delete effects

Time (min)

Load(x)

Dock, Pending(x), Empty

Carrying(x)

Pending(x), Empty

1

TravelOut

Dock

Remote

Dock

2

Unload(x)

Remote, Carrying(x)

Delivered(x), Empty

Carrying(x)

1

TravelBack

Remote

Dock

Remote

2

Express(A)

Dock, Pending(A)

Delivered(A)

Pending(A)

9

Express(B)

Dock, Pending(B)

Delivered(B)

Pending(B)

12


Express actions use an external courier and leave the cart's location and load unchanged. Actions execute sequentially, with no overlap; their fixed times are additive costs, and no other changes occur during them.


Find two separate minima: the minimum number of actions in any valid plan, and the minimum total execution time in minutes in any valid plan. Give both as exact integers; the two minima may come from different plans.

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: