Question: Q . 1 Temporal Planning / STN ( a ) This question is about temporal planning. For reference, here is the evaluator domain. ( define
Q Temporal Planning STN
a This question is about temporal planning. For reference, here is the evaluator domain.
define domain elevators
:requirements :typing:types elevator passenger num object
:predicates
passengerat person passenger floor num
boarded person passenger lift elevator
liftat lift elevator floor num
next n num n num
:action moveup
:parameters lift elevator cur nxt num
:precondition and liftat lift curnext cur nxt
:effect and not liftat lift curliftat lift nxt
:action movedown
:parameters lift elevator cur nxt num
:precondition and liftat lift curnext nxt cur
:effect and not liftat lift curliftat lift nxt
:action board
:parameters person passenger floor num lift elevator
:precondition and liftat lift floorpassengerat person floor
:effect and not passengerat person floorboarded person lift
:action leave
:parameters person passenger floor num lift elevator
:precondition and liftat lift floorboarded person lift
:effect and passengerat person floornot boarded person lift
Consider the following problem and plan:
define problem elevatorsproblem
:domain elevators
:objects n n n num p p passenger e elevator
:init
next n n
next n n
liftat e n
passengerat p n
passengerat p n
:goal and passengerat p n
passengerat p n
P: moveup e n n
P: board p n e
P: moveup e n n
P: movedown e n n
P: movedown e n n
P: leave p n e
Is this plan valid? If not, list all of the reasons that make it invalid.
b Using the above example, consider converting the actions into the durative actions as following:
Passenger p takes seconds for each action: board evaluator, leave evaluator
Passenger p takes seconds for each action: board evaluator, leave evaluator
Evaluator e takes seconds to move up or down meters
Distance between floor numbers n and n is meters
Distance between floor numbers n and n is meters
List all the actions of a valid plan while considering to reduce the total time taken to reach the same goal. c Using the following STN convert upperboundlowerbound format to singlebound format.
d Using floydwarshall algorithm, convert the following graph of STN to allpairs shortest path graph.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
