Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request to get solution for Exercise 'ex_2' in '3-Solving-Problems-By-Searching' #882

Open
kondioscar opened this issue Apr 20, 2024 · 0 comments

Comments

@kondioscar
Copy link

CS370
Introduction to Artificial Intelligence
Semester-232
Assignment 2
Due date: Tuesday 16th of April – To be uploaded on Moodle

  1. For each problem listed below, give a complete problem defining the following.
  2. State representation
  3. Initial state
  4. Goal state
  5. Actions
  6. Path cost

a. You start with the sequence ABABAECCEC, or in general any sequence made from A,
B, C, and E. you can transform this sequence using the following equalities: AC = E, AB = BC, BB = E, and Ex = x for any x. for example, ABBC can be transformed into AEC, and then AC, and then E. your goal is to produce the sequence E.

b. “You have to color the various regions of a planar map (for example, the map of the 48 contiguous states of the United States) using only four colors (Red, Blue, Yellow, and Green), in such a way that no two adjacent regions have the same color.”

  1. For the following tree, show the order of nodes visited for breadth-first search, iterative deepening search and uniform cost search. The start state is A and the goal node is L and the numbers next to the edges indicate the associated cost.

(a) breadth-first search,

(b) Iterative deepening search,

(c) uniform cost search.

  1. For the following tree, show the order of nodes visited for breadth-first search, iterative deepening search and uniform cost search. The start state is A and the goal node is G and the numbers next to the edges indicate the associated cost. Order of nodes visited in each of the following cases and state the cost of search:

(a) breadth-first search,
(b) depth-first search,
(c) uniform cost search.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant