Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Bahria University CSC-411: Artificial Intelligence

Department of Computer Science BSIT Semester 6 (Spring 2021)

Assignment # 2
Due Date : 18 \ 04 \ 2021

05 Marks

The following is the map of Crotia. The table on right shows the Straight-Line-Distance heuristic
to Buzet. You are trying to reach Buzet from Pula.

Straight line
distances to
Buzet:
Baderna 25
Barban 35
Buje 21
Buzet 0
Groznjan 17
Kanfanar 30
Labin 35
Lupoglav 13
Medulin 61
Motovun 12
Opatija 26
Pazin 17
Porec 32
Pula 57
Rovinj 40
Umag 31
Visnjan 20
Vodnjan 47
Zminj 27
1
Figure : The map of Crotia
1|Page
CS Department, BUKC 2/2 Semester 6 (Spring 2021)
CSC-411: Artificial Intelligence Assignment 02

Answer following Questions:


Apply the following algorithms to the path and distance from Pula to Buzet.
Uninformed Search:
1.Uniform Cost Search (UCS)

ANS:

2.Depth Limit Search (DLS) (Limit = 4)


ANS:

Informed Search:
1.Greedy Best First Search (GBFS)
2.A* Algorithm Local Search:
1. Hill-Climbing Search

You might also like