{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

WA3 - 1 2 3 4 6 7 8 14 15 26 45 Depth Search 1 2 3 6 7 14...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. (see secondary documents) 2. For the tree below, show your path of nodes and the number of nodes you need to visit if you follow the protocol from right to left for the respective search strategies of a. Breadth-first search 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13 b. Depth-first search 1, 2, 5, 6, 10, 11, 3, 7, 12, 13 c. Depth-first iterative deepening search (for this strategy, first assume a tree depth of 1, and then increase the search to a depth of 2, etc.) 1, 2, 3, 4, 1, 2, 5, 6, 3, 7, 4, 8, 9, 1, 2, 5, 6, 10, 11, 1, 3, 7, 12,13,1, 4, 8, 9 3. H1: Breadth search: 1, 2, 3, 4, 6, 7, 8, 12, 13, 14, 15, 26, 45 Depth Search: 1, 2, 3, 6, 12, 24, 41, 42, 13, 25, 7, 14, 26, 45 H2: Breadth search:
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 1, 2, 3, 4, 6, 7, 8, 14, 15, 26, 45 Depth Search: 1, 2, 3, 6, 7, 14, 26, 45 H3: Breadth search: 1, 2, 3, 4, 6, 7, 8, 14, 15, 26, 45 Depth Search: 1, 2, 3, 6, 7, , 14, 26, 45 4. (see secondary documents) 5. A. We have an empty queue and our state is currently at the root node. If we have reached the goal state then report that we have, or else sort the successors of our current state and then add them to the front of the queue. If the queue is empty then report a failure. Move the first item in the queue to the current state and then remove the first item from the queue. B. STEP STATEQueue Notes 1 A (nada) 2 A B,C 3 B D, C, C 4 D F,E,C,C 5 F E,C,C Arrived...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern