Question: The diagram below shows eight ( 8 ) discs numbered from 1 to 8 . The discs are piled in the centre circle ( labelled
The diagram below shows eight discs numbered from to The discs are piled in the centre circle labelled E in the order shown. Circles A and C are on the odd side of the board and circles B and D are on the even side.
The problem is to use a minimum of moves to shift discs and from the center to the "Odd" side circles either A or C and discs and to the "Even" side circles either B or D A solution would be all odd numbered discs on the side and all even numbered discs on the even side. The discs may be on either of the circles on the appropriate sides. The rules are: one disc may be moved at a time from the top of one pile to the top of another as long as:
you do not put a disc with a higher number on a disc with a lower one, or
you do not place an oddnumbered disc on an evennumbered disc or vice versa
Thus you can put disc on on or on ; but not not on or on
You are required to solve this problem using Search. Answer the following questions in the text box below. Number your answers carefully.
Describe in words or mathematically or using pseudo code an efficient data structure you would use to represent the problem. pts
Give an example of a state using your data structure. pt
Write an algorithm in psuedo code or in words that will produce a new state a given state. pts
How many states are reachable from the start state? pt
Write an algorithm in words or using pseudo code that will test if a state is a goal state or not. pts
Give a heuristic that will be appropriate for this problem. pts
Explain if your heuristic is admissible or not. Note that a definition of admissibility is not sufficient as an answer. pts
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
