Solving Problems by Searching Flashcards

1
Q

What is a heuristic?

A

A function that estimates how close a state is to a goal; designed for a particular search problem

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

What is a Greedy Search?

A

Expand the code that seems closest
Heuristic: estimate of distance to nearest goal for each state

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

What is A* Search?

A

Combination of uniform cost search (backward cost) and greedy search (forward cost) [Estimates the forward cost]
- Best-first search
- Relies on an open and closed list to find a path that is both optimal and complete

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

What is an admissible heuristic?

A

Used to estimate the cost of reaching the goal state in an informed search algorithm.

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

Difference between UCS and A*

A

UCS expands equally in all directions

A* expands mainly towards the goal, but does hedge its bets to ensure optimality

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

What is Manhattan distance?

A

Distance between two points measured along axes at right angles
| |
| |_____ X
|
|_______________>

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

Heuristics form a semi-lattice which is _______.

A

max of admissible heuristics is admissible.

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

What is the idea of a graph search?

A

Never expand a state twice

*Think of it as a binary tree

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

T or F: Estimated heuristic costs <= actual costs

A

True.

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

When is A* optimal on a tree search?

A

When its heuristic is admissible.

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

When is A* optimal on a graph search

A

When its heuristic is consistent.

  • Consistency implies admissibility
How well did you know this?
1
Not at all
2
3
4
5
Perfectly