For this lab you may work in pairs to implement the Farmer Crossing the River puzzle for state space search. In this problem, a farmer is on one side of a river and wishes to cross the river with a wolf, a chicken, and a bag of grain. He can take only one item at a time in his boat with him. He can't leave the chicken alone with the grain, or it will eat the grain, and he can't leave the wolf alone with the chicken, or the wolf will eat the chicken. How does he get all three safely across to the other side?
Save pitcher.py to your own directory. Read through the class definition to understand how the PitcherState class works in conjunction with the Search class.
Search(FarmerState(<arguments>), FarmerState(<arguments>))
Email me your farmer.py file. Make sure that the file contains both names in it. Turn in your drawing of the search tree and answer the following questions: