4.1 Depth-First Single Step


  • This exercise is aimed at (i) helping you to refine your own understanding of the operation of the Depth-First search method; and (ii) acquainting you with the operation of the AI-Search software for subsequent activities.

  • Click on this button to start the AI-Search software. [ AI-SEARCH SOFTWARE ]

  • Now the animation software is running, and you have resized the application window to suit, select the Depth-First Search algorithm from the Algorithm menu.

  • Select the Single Step with/without Algorithm from the Mode menu.

  • Select Display Algorithm (yes) from the Settings menu.

  • Set the following 8-Puzzle problem using the options from the Problem menu.

      Start Board
      023
      145
      876

      Goal Board
      123
      845
      076

  • Begin single-stepping through this problem, watching and verifying the algorithm text coincides with the algorithm animation. Use the buttons labelled Start, Next, Back, Reset.

  • When the goal is reached, the solution path will be highlighted and a small dialog box will appear. Take note of the length of the solution path, and the number of nodes in the open and closed sets. Then to continue click the Ok button in the small "Goal Found!" dialog box.

  • Now click the mouse pointer on the Reset button; set the following problem; and single-step through it until the goal is reached.

      Start Board
      023
      145
      876

      Goal Board
      103
      825
      746

  • Click on the Reset button so that new animation options can be selected when you advance to the next exercise.


[MAIN PAGE] [ AI-SEARCH SOFTWARE ] [PREVIOUS PAGE] [NEXT PAGE]
RMiT Copyright © 1999. Department of Computer Science, RMIT University.
Last Modified: 20th June, 1999.