1 / 84

Maze Running in C Minor

Maze Running in C Minor. A Series of Slides in 5 Parts Movement 3. IDFS. MAX DEPTH: 1 AT: AA. STACK: AB. KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration. Nodes are taken in the order: UP, LEFT, DOWN, RIGHT. MAX DEPTH: 1 AT: AB. STACK: .

reya
Download Presentation

Maze Running in C Minor

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Maze Running in C Minor A Series of Slides in 5 Parts Movement 3. IDFS

  2. MAX DEPTH: 1 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  3. MAX DEPTH: 1 AT: AB STACK: Note that since we are at depth 1, we do not push any neighbors of AB onto the stack. KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  4. MAX DEPTH: 2 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  5. MAX DEPTH: 2 AT: AB STACK: BB AC Note that we push all neighbors except for the node we just came from. KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  6. MAX DEPTH: 2 AT: BB STACK: AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  7. MAX DEPTH: 2 AT: AC STACK: KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  8. MAX DEPTH: 3 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  9. MAX DEPTH: 3 AT: AB STACK: BB AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  10. MAX DEPTH: 3 AT: BB STACK: CB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  11. MAX DEPTH: 3 AT: CB STACK: BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  12. MAX DEPTH: 3 AT: BA STACK: AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  13. MAX DEPTH: 3 AT: AC STACK: KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  14. MAX DEPTH: 4 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  15. MAX DEPTH: 4 AT: AB STACK: BB AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  16. MAX DEPTH: 4 AT: BB STACK: CB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  17. MAX DEPTH: 4 AT: CB STACK: DB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  18. MAX DEPTH: 4 AT: DB STACK: BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  19. MAX DEPTH: 4 AT: BA STACK: CA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  20. MAX DEPTH: 4 AT: CA STACK: AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  21. MAX DEPTH: 4 AT: AC STACK: KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  22. MAX DEPTH: 5 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  23. MAX DEPTH: 5 AT: AB STACK: BB AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  24. MAX DEPTH: 5 AT: BB STACK: CB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  25. MAX DEPTH: 5 AT: CB STACK: DB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  26. MAX DEPTH: 5 AT: DB STACK: DE DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  27. MAX DEPTH: 5 AT: DE STACK: DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  28. MAX DEPTH: 5 AT: DC STACK: DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  29. MAX DEPTH: 5 AT: DA STACK: BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  30. MAX DEPTH: 5 AT: BA STACK: CA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  31. MAX DEPTH: 5 AT: CA STACK: DA AC Note that we push DA onto the stack even though we’ve already been there. This is an implementation of IDFS where no visit information is kept. KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  32. MAX DEPTH: 5 AT: DA STACK: AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  33. MAX DEPTH: 5 AT: AC STACK: KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  34. MAX DEPTH: 6 AT: AA STACK: AB KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  35. MAX DEPTH: 6 AT: AB STACK: BB AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  36. MAX DEPTH: 6 AT: BB STACK: CB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  37. MAX DEPTH: 6 AT: CB STACK: DB BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  38. MAX DEPTH: 6 AT: DB STACK: DE DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  39. MAX DEPTH: 6 AT: DE STACK: EC EA DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  40. MAX DEPTH: 6 AT: EC STACK: EA DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  41. MAX DEPTH: 6 AT: EA STACK: DC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  42. MAX DEPTH: 6 AT: DC STACK: CC DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  43. MAX DEPTH: 6 AT: CC STACK: DA BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  44. MAX DEPTH: 6 AT: DA STACK: CC BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  45. MAX DEPTH: 6 AT: CC STACK: BA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  46. MAX DEPTH: 6 AT: BA STACK: CA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  47. MAX DEPTH: 6 AT: CA STACK: DA AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  48. MAX DEPTH: 6 AT: DA STACK: DB AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  49. MAX DEPTH: 6 AT: DB STACK: AC KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

  50. MAX DEPTH: 6 AT: AC STACK: KEY: GREEN – Start RED – Exit YELLOW – Visited on this iteration Nodes are taken in the order: UP, LEFT, DOWN, RIGHT

More Related