5. Informed Search 1 Flashcards

1
Q

What is the main limitation of uninformed search?

A

It lacks guidance on how far a state is from the goal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a heuristic function?

A

A function that estimates the cost of the cheapest path from a state to the goal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are the properties of a distance function?

A

Positivity, Symmetry, Identity, and Triangle Inequality.

Positive: d(x, y) >= 0,
Symmetrical: d(x, y) = d(y, x),
Identity: d(x, y) = 0 iff x = y,
Triangle Inequality: d(x, y) <= d(x, z) + d(y, z)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are some common heuristic functions for path search problems?

A

Manhattan Distance, Euclidean Distance, Chebyshev Distance, and Unitary Distance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the Manhattan distance formula?

A

h(n, g) = |n_x - g_x | + |n_y + g_y|

If h(n) = 0 and n = goal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the Euclidean distance formula?

A

h(n, g) = √((n_x - g_x)^2 + (n_y - g_y)^2)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the Chebyshev distance formula?

A

h(n, g) = max(|n_x - g_x | + |n_y + g_y|)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How is heuristic distance defined for the maze example?

A

As the physical distance (in meters) between chambers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are two heuristics for the 8-puzzle problem?

A
  1. Number of misplaced tiles, 2. Sum of Manhattan distances of each tile from its goal position.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is Greedy Best-First Search?

A

A search algorithm that expands the node closest to the goal using a heuristic function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What data structure does Greedy Best-First Search use?

A

A priority queue, where priority is determined by the heuristic function.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How does Greedy Best-First Search compare to Uniform-Cost Search?

A

Greedy Best-First Search selects the node with the lowest heuristic value, while Uniform-Cost Search selects the node with the lowest path cost.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the completeness and optimality properties of Greedy Best-First Search?

A

It is neither complete nor optimal.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the time and space complexities of Greedy Best-First Search?

A

Both are O(b^m), where b is the branching factor and m is the maximum depth.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the advantages of Greedy Best-First Search?

A

It optimizes time-to-goal by prioritizing seemingly closer nodes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the disadvantages of Greedy Best-First Search?

A

It may get stuck in loops, follow costly non-optimal paths, or end up in dead-end branches.

17
Q

What is the Unitary distance formula?

A

h(n ,g) = {{1 when n \neq g} {0 when n = g}}