Docsity

Prova di esame artificial intelligence Nardi, Prove d'esame di Tecniche Di Intelligenza Artificiale

Toggle sidebar
bg1
AI – AI1 – February 15th, 2018
Artificial Intelligence
Daniele Nardi – Luca Iocchi
February 15th, 2018
First Name and Last name
..................................................................................................................................................
The results of the exams of all the students will be posted in a single file in the Moodle web page.
Each student will be identified only by his/her ‘Matricola’ code (Sapienza registration number). If you
do not agree on having your grade listed in this file, please check this box:
NO-WEB [ ]
Maximum time is 2,5 hours (half time if you do only 1 section). You can use neither the text books nor
your notes.
Students enrolled in the Master Degree in Artificial Intelligence and Robotics, please check this box: [ ].
Students enrolled in the Master Degree Engineering in Computer Science and any other curricula that
include a 6 ECTS course in Artificial Intelligence 1 or Artificial Intelligence, please check this box: [ ]
Erasmus students, please check this box: [ ]
1
pf3
Discount

In offerta

Anteprima parziale del testo

Scarica Prova di esame artificial intelligence Nardi e più Prove d'esame in PDF di Tecniche Di Intelligenza Artificiale solo su Docsity!

Artificial Intelligence

Daniele Nardi – Luca Iocchi February 15th, 2018

First Name and Last name

..................................................................................................................................................

The results of the exams of all the students will be posted in a single file in the Moodle web page. Each student will be identified only by his/her ‘Matricola’ code (Sapienza registration number). If you do not agree on having your grade listed in this file, please check this box:

NO-WEB [ ]

Maximum time is 2,5 hours (half time if you do only 1 section). You can use neither the text books nor your notes.

Students enrolled in the Master Degree in Artificial Intelligence and Robotics, please check this box: [ ].

Students enrolled in the Master Degree Engineering in Computer Science and any other curricula that include a 6 ECTS course in Artificial Intelligence 1 or Artificial Intelligence, please check this box: [ ]

Erasmus students, please check this box: [ ]

Search and Planning

Exercise 1 (8 points)

A repair robot is equipped with an arm handling a screwdriver and another arm to manipulate objects. The two arms can not operate simultaneously. The robot must repair a refrigerator, which is already placed in the working space of the robot, by replacing the broken compressor. The refrigerator is still on and a new compressor is available. The compressor is accessible by removing the backplane, which is held by 2 screws. Before extracting the compressor, the fridge must be powered off. The two actions to unmount the broken compressor and to mount the new one into the fridge can be modelled as primitive actions without further decomposing them. The goal is to have the fridge repaired, fully reassembled and powered off.

(a) Describe the domain in PDDL; (b) Describe the problem in PDDL; (c) Discuss the forward planning process to reach the goal, using a perfect heuristic that gives for each state the number of steps to reach the goal; for each step, show the current state, the applicable actions and the state resulting from the application of the chosen action.

Exercise 2 (4 points)

Describe the language for HTN planning. In particular, explain the notion of reachable set.

Exercise 3 (4 points)

Describe the algorithm A, focussing in particular on correctness, completeness and memory require- ments. In addition, address the limitations of A and possible approaches to mitigate them.