Informed Search Problems Flashcards

1
Q

What is Uniform cost graph search?

A

If the action costs between varios states vary we can use this alorithm to find the minimum cost path to the goal

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

How is uniform cost implamented?

A

> By arranging the fringe in order of cost from cheapest to the most expensive.
Then the cheapest node is tested first

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

In uniform cost search what happens if there are 2 of the same states in the fringe?

A

> If we find there are 2 nodes that represent the same state, the one with the lower cost replaces the more expensive one

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

In uniform cost search what happens if all the costs are the same?

A

> If the cost of all actions are the same then it is simply breadth first search

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

What is the general procedure for uniform cost search with loop checking?

A
[FUNCTION UC_GRAPH SEARCH]
fringe[] += initial_state
explored[] = 0
[LOOP]
> IF fringe IS empy RETURN failure
> node_test = fringe[LOWEST COST]
> IF node_test == goal_state RETURN node_test
> explored[] += node_test
> add_fringe = Unexplored(node_test.children)
> fringe[] += add_fringe
> fringe[] = orderbycheapest(fringe)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is heuristic search?

A

> These are search algorithms that use information that is beyond the definition of the problem
Generally a heuristic search can tell how close it is to the goal state

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

What is the cost function?

A

> g(n)

> This is the cost of node n from the start

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

How is the cost function used in uniform search?

A

> In uniform cost, the node with the lowest g(n) is removed and tested first from the fringe

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

What is the heuristic cost function?

A

> h(n)

> This is an estimate of the cost to go from the node n to the goal

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

What is the greedy best-first algorithm?

A

The fringe queue is ordered based on the node with the lowest h(n)

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

What is the A* alorithm?

A

The fringe queue is ordered based on the node with the lowest h(n) + g(n)

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

What is the issue with using greedy best-first alorithm with this map when the goal is D?
[Picture 3]

A

Greedy best would say that the most optimal route would be A⇒B⇒D when in fact we see that the cost of B⇒D is large so the better route would be A⇒C⇒D.
A* would fix this issue

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

What are the assumed conditions for A*?

A

> Each state in the search space has finitely many successors
All actions have a cost > 0
Admissibility: The heuristic function never overestimates the cost to a goal node
- Underestimating is fine
- If h(n) = 0 then it simply becomes uniform cost
A* will terminate with a minimal cost path to a goal (as long as everything above is correct)

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

«»

A

sdfsdf

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