SRM'24 AI Unit 2
SRM'24 AI Unit 2
SRM'24 AI Unit 2
21CSC206T / ARTIFICIAL
INTELLIGENCE
• Disadvantage
• Space is the big problem
• Space Complexity:
– The same logic is for space complexity so, the worst-case space
complexity of Uniform-cost search is O(b1 + [C*/ε]).
• Optimal:
– Uniform-cost search is always optimal as it only selects a path with the
lowest path cost.
• S- A- B- E-C-G-H-I-K-J
2'nd Iteration----> A, B, C
3'rd Iteration------>A, B, D, E, C, F,
G
4'th Iteration------>A, B, D, H, I, E,
C, F, K, G
• RBFS
• It attempts to mimic the operation of BFS.
• It replaces the f-value of each node along the path with the best f-value of its
children.
• Suffers from using too little memory.
• Mutation
• Step-1:
• Step-2:
• Step-3:
• Step-3: