1. 2. 1 11 12 13 23456 7891) 2 3 4 5 6 7 8 9 10 Formulate the task as a search problem by defining the following: a state, the goal state and the moves (actions). Draw the first three levels of the state space with the initial state shown in the figure below (start state B) as the first level. Do not include repeating states. 11 12 13 (7) 2 3 5681 1 2 3 4 5 6 7 8 9 10 3. Use the Displaced Soldiers heuristic: the number of soldiers that are not in their correct cells in any state. For example, the heuristic value of state A is 1 and of state B is 9.
1. 2. 1 11 12 13 23456 7891) 2 3 4 5 6 7 8 9 10 Formulate the task as a search problem by defining the following: a state, the goal state and the moves (actions). Draw the first three levels of the state space with the initial state shown in the figure below (start state B) as the first level. Do not include repeating states. 11 12 13 (7) 2 3 5681 1 2 3 4 5 6 7 8 9 10 3. Use the Displaced Soldiers heuristic: the number of soldiers that are not in their correct cells in any state. For example, the heuristic value of state A is 1 and of state B is 9.
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
Please help with q2 and 3 please

Transcribed Image Text:Nine Little Soldiers is a puzzle in which 9 numbered soldiers are trapped in a bomb shelter that
has 13 cells as shown in the figure below. A cell's number is shown either below or above the
cell, and the soldiers are identified by the numbers inside a circle.
A soldier may only move into an adjacent empty cell and no more than one soldier may occupy a
single cell. The puzzle requires you to move the soldiers so that soldier ① is in cell number 1,
soldier in cell number 2, and so on up to soldier: C②CDC in cell number 9.
The figure below depicts start state A.
11
12
13
(N
2
34567891
1 2 3 4 5 6 7 8 9 10
Formulate the task as a search problem by defining the following: a state, the goal state and
the moves (actions).
2. Draw the first three levels of the state space with the initial state shown in the figure below
(start state B) as the first level. Do not include repeating states.
11
1
12
13
⑦
235689
1 2 3 4 5 6 7 8 9 10
3. Use the Displaced Soldiers heuristic: the number of soldiers that are not in their correct cells
in any state. For example, the heuristic value of state A is 1 and of state B is 9.
Indicate the heuristic value for each state in your drawing for question 2. Show the values on
the same drawing, i.e. you do not need to redraw the partial state space.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step 1: Explanation for the given question
VIEWStep 2: In this step, I gave the concepts needed to solve the given problem
VIEWStep 3: Step by step approach for the above given problem
VIEWStep 4: In this step, I gave the detailed solution for the given questio
VIEWStep 5: final detailed solution for the given problem.
VIEWSolution
VIEWStep by step
Solved in 6 steps

Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON

Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education