Description
Artificial Intelligence (UCS-411)
Lab Assignment-2
1 Given two jugs- a 4 litre and 3 litre capacity. Neither has any measurable markers on it. There is a pump which can be used to fill the jugs with water. Simulate the procedure in Python to get exactly 2 litre of water into 4-litre jug
2 Given three jugs: 12, 8 and 5 liter capacities. Largest jug is completely filled. Using these 3 jugs, split the water to obtain exactly 6 liter in largest jugs.
3 Write a code in python for the 8 puzzle problem by taking the following initial and final states
4 Write a Python program to implement Travelling Salesman Problem (TSP). Take the starting node from the user at run time.




Reviews
There are no reviews yet.