AI Prac
*Practical 1*
AIM:
a. Implement Breadth first search algorithm for Romanian map problem.
CODE:
from collections import deque
infinty = float('inf')
class Node:
def __init__(self, state, parent=None, action=None, path_cost=0):
self.stat...
invoker.hashnode.dev27 min read