Question: Suppose you have five balls that are labeled A, B, C, D, E. You also have six cups labeled sequentially 0, 1, 2, 3, 4,

 Suppose you have five balls that are labeled "A", "B", "C",

Suppose you have five balls that are labeled "A", "B", "C", "D", "E". You also have six cups labeled sequentially "0", "1", "2", "3", "4", "5". These cups are glued to a flat board, so they cannot be removed or rearranged. The balls are placed in the cups in a specific order. The first cup is empty. The initial state Si looks like this: The balls are moved from cup to cup. The final state Sf looks like this: Basically, the order of the balls in the cups needs to be reversed. Write a detailed and complete list of ball move instructions to go from the initial state Si to the final state Sf under the following constraints: A cup can contain at most one ball at a time. The rearranging of the balls in the cups is accomplished by consecutive move operations. A move operation consists of moving a single ball from its current cup to an empty cup. A ball may jump over at most one other ball in a single move, and only if there is an empty cup available on the other side

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!