Heuristic (Informed) Search Flashcards

(28 cards)

1
Q

What is Combinatorial Explosion

A

As we go deeper in the search tree the number of nodes increases exponentially

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

What is different from Heuristic Search Algorithms and Blind Search Algorithms

A

Heuristic Search Algorithms exploit knowledge about the problem to guide search

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

How do Heuristic algorithms work?

A

They have some information about the domain so that they can distinguish the candidate states to expands into “promising” and “non-promising”

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

What is a Heuristic?

A

A strategy based on the nature of the problem.

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

How is a Heuristic expressed?

A

It is expressed as a function that return an estimate of how far a state is from the final state

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

What is the drawback of heuristics?

A

They can be fallible
- Estimates can be underestimates, overestimates or simply wrong!

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

What is the Heuristic Function: Euclidean Distance?

A

d(S, F) = sqrt((Xs - Xf)^2 + (Ys - Yf)^2)

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

What is the Heuristic Function: Manhattan Distance?

A

Md(S, F) = |Xs - Xf| + |Ys - Yf|

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

What parts is a Heuristic algorithm consisted of?

A
  • The heuristic function
  • Some algorithm that exploits information produced by the function
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How does Best First Search (BestFS) work?

A

Generate the search space by expanding the “best” state

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

What are the advantages of BestFS?

A
  • The algogrithm tries to find a solution fast
  • It is complete
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What are the disadvantages of BestFS?

A
  • The open list grows fast
  • It is not admissible
  • Its efficiency largely depends on the heuristic
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the “A” Algorithm

A

An improvement of BestFS that keeps track of the cost of computation

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

What is the heuristic of A* Algorithm?

A

HV(S) = g(S) + h(S)
where:
- h(S) is the value of the state S given by the heuristic function
- g(S) is the distance of the state S from the initial state

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

What is Motivation?

A

It is the preference of the shortest path when two states have the same heuristic value

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

When is the A* admissible?

A

When the h(S) in the heuristic function HV(S)=g(S)+h(S) is an underestimate of the actual cost of reaching the final state

17
Q

What are the advantages of A*?

A
  • It is admissible
  • It is complete
18
Q

What are the disadvantages of A*?

A
  • Its efficiency largely depends on the heuristic
19
Q

What is Admissibility in Heuristic Algorithms?

A

The property of returning the shortest solutions

20
Q

What is Monotonicity in Heuristic Algorithms?

A

It is a collection of the following properties:
∀si,sj : j>i, h(si)-h(sj) ≤ cost(si,sj).
- h(goal)=0
- It is admissible

21
Q

What is Informedness in Heuristic Algorithms?

A

Given two A* heuristics h1 and h2, h1 is said to be more informed if
∀S∈D: h2(S) ≤ h1(S)

If a heuristic is more informed then it examines less states to find a solution

22
Q

What is the Hill-Climbing Search (HC)?

A

It is an Heuristic search algorithm that doesn’t keep track of the choices made along the problem solving process nor has an open list or closed set. It just expands to the best child

23
Q

What are the advantages of HC?

A
  • It is space efficient
  • It is time efficient
24
Q

What are the disadvantages of HC?

A
  • It is incomplete → Random Restart Hill Climbing
  • Foothills: The solution found is not necessarily the best (local maxima)
  • Plateau: Every child has the same heuristic value
  • Ridges: Although the best child is picked and initial progress is done fast, no overall progress is made after that
25
What is Beam Search (BS)?
It is an improvement of HC that keeps some states (not all) in the open list (up to a constant number)
26
What are the advantages of BS?
- Risks fewer chances to fall in foothills, plateau and ridges than pure Hill Climbing - It is time efficient - It is suitable for parallel search
27
What are the disadvantages of BS?
- All the disadvantages of HC but in smaller volume - It is incomplete
28