7 - Informed Search Flashcards

1
Q

Define a heuristic function

A

Gives the cheapest estimate of getting from n to the goal

for n1 and n2 if h(n1) < h(n2) take h1

require that estimate of getting to goal is 0

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

What is Greedy Search?

A

Use f(n) = h(n)

Always expand lowest h value

Not complete/optimal - can lead astray

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

What is A* search?

A

Take into account cost of getting to a node from start node and estimate of getting to goal

f(n) = g(n)+h(n)

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

What is admissibility in heuristics?

A

A function h is admissible if it never over estimates the true cost of getting to the goal (optimistic)

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

What is consistency in heuristics?

A

Consistent/monotonic if the estimated cost of getting to goal from n is no greater than the step cost of getting to n’ plus the estimated cost of reaching the goal from n’:

h(n) <= c(n,a,n’)+h(n’)

n is every node
n’ every successor
a action

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

What is the optimality for A* search?

A

It will give an optimal for graph search if the heuristic is consistent

tree search if the heuristic is admissible

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

What is the effective branching factor?

A

A measure of efficiency for heuristics.

Expands N nodes and finds solutions at depth d then the EBF is the num of successors of each node having:

  • each non-leaf has b successors
  • leaf nodes are all at depth d
  • Total number of nodes in the tree is N

then N = 1 +b + b^2 + … +b^d

A value of b close to one means search is focussed

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

How can weighted sum improve efficiency?

A

f(n) = w * g(n) + (1-w)*h(n) where w is a num between 0 and 1

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

What is hill climbing search?

A
  1. choose a start and set c to there
  2. search the neighbourhood of c
  3. choose best neighbour
  4. if best is better than c then update c
  5. repeat 2 to 4 until no further improve
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the hill climbing drawbacks?

A

Local Maxima
Plateaus (flat areas)
Ridges (Long narrow hiltops).

Improved by random restart

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

What is Tabu Search?

A

Remember the last few visited points using a tabu list (think Taboo)

Steer away from Tabu List items (a queue of fixed length)

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

What is simulated annealing?

A

Annealing: Process of prepping a material to mould it. Heated then cooled. Particles move randomly but gradually settle

SA is a math model of the process

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

Describe the simulated annealing method

A
  1. t = 0
  2. random start point x
  3. set y to neighbour of x
  4. if y is better xt+1 = y
  5. else with probability min(1,1/(e^((f(y)-f(x]t)/T(t)))
  6. update t to t+1
  7. repeat 3 to 6 until end
How well did you know this?
1
Not at all
2
3
4
5
Perfectly