Spring 2025 - CS607 - 1
Spring 2025 - CS607 - 1
Please carefully read the following instructions before attempting the assignment.
You should consult the recommended books to clarify your concepts as handouts are not sufficient.
You are supposed to submit your assignment in Doc or Docx format.
Any other formats like scan images, PDF, ZIP, RAR, PPT, BMP, etc. will not be accepted.
Topic Covered:
Introduction of Artificiall Intelligence
Search Strategies
A* Algorithm
Topic Covered
Lecture 01 to Lecture 10
NOTE
No assignment will be accepted after the due date via email in any case (whether it is the case of load shedding
or internet malfunctioning etc.). Hence refrain from uploading assignments in the last hour of the deadline. It is
recommended to upload the solution at least two days before its closing date.
If you people find any mistake or confusion in the assignment (Question statement), please consult with your
instructor before the deadline. After the deadline, no queries will be entertained in this regard.
You must:
Show the path taken at each step(No need to draw graph at each step).
Calculate the total cost (f(n)=g(n) + h(n)) at each step where g(n) is actual cost and h(n) is the heuristic cost.
Show the final optimal path with cost.
Solution:
By using A* (A-star) algorithm to find the shortest path from a source node S to a goal node G we will use cost function:
S 7
A 2 6
B 5 4
C 6 2
D 9 1
G 9 0
S,A,C,
4 G - - - Goal Achived
G