Need Help Asap Im stuck i dont kno where to Begin I did it in a flow chart but im trying to do it in matlab
Goal: to learn how to:
formulate an AI problem,
to specify a goal,
to find the shortest way to reach the goal.
Let us have the following set of blocks A, B, C, D, E, F, in the following configuration
B C
A D
F E

We have to reconfigure them as follows:
A D
B E
C F

The available operations are:
1.Move a block from the top to the buffer
2.Move a block from the buffer to the top
3.Move a block from the top of one column to the top of another column

You have to formulate the goal, formulate the problem, and find your solution, preferably with a minimized cost. The cost should be measured as "1 cost unit" per 1 block move.

Your solution has to be presented as a flow chart or (and) in the Matlab program (preferably), with a description. Also it can be done in C++ or Java. Thanks
Need Help Asap Im stuck i dont kno where to Begin I did it in a flow chart but im trying to do it in matlab
===

Goal: to learn how to:
formulate an AI problem,
to specify a goal,
to find the shortest way to reach the goal.
Let us have the following set of blocks A, B, C, D, E, F, in the following configuration
B C
A D
F E

We have to reconfigure them as follows:
A D
B E
C F

The available operations are:
1.Move a block from the top to the buffer
2.Move a block from the buffer to the top
3.Move a block from the top of one column to the top of another column

You have to formulate the goal, formulate the problem, and find your solution, preferably with a minimized cost. The cost should be measured as "1 cost unit" per 1 block move.

Your solution has to be presented as a flow chart or (and) in the Matlab program (preferably), with a description. Also it can be done in C++ or Java. Thanks