4 - Uninformed Search Flashcards

1
Q

Define Uninformed Search

A

No Knowledge of the cost from current state to goal

Only knows when goal found

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

Define Heuristic

A

Informed search

Access to extra info
Typically a cost estimate from a heuristic function

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

What are the main steps of General search

A
  1. If goal state return solution
  2. Apply all applic. operators to current, gen new set of states - node/state expansion
  3. Decide next state and repeat. No more states = fail
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a fringe/frontier?

A

The collection of nodes waiting to be expanded

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

What is node expansion?

A

Generating all successor nodes considering the available actions

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

Define search strategy

A

Which node is next

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

What is BFS?

A

Expands shallowest on fringe first

Expand all at depth d before d+1

Use a queue structure

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

What is DFS?

A

Expand deepest first

Follow branch fully

Use a stack

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

What is depth limited search?

A

If a solution is known to be no deeper than a certain level then apply cut off depth

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

What is IDS?

A

Iterative deepening search

  1. Run DLS lim d = 1
  2. if not found, run with d+1 until solution

same nodes generated multiple times

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

Criteria for search method evaluation

A

Time
Space
COmpleteness
Optimality

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

What is the branching factor?

A

Max num of successors of any node

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

What are the complexities of BFS?

A
Time = O(b^d) where b is num of successors
Space = same as time
Completeness = Yes
Optimality = Yes, if step costs identical
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

DFS complexities

A
Time = O((b^m) where m is max depth
Space = O(bm)
Completeness = No, may cause looping
Optimality = No
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

DLS complexities

A

Time Complexity: every state has b successors, and depth limit l. O(bl).
• Space Complexity: Has space complexity O(bl).
• Completeness: Like DFS, DLS is not complete if the chosen depth is less than solution depth.
• Optimality: Like DFS, DLS is not optimal.

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

IDS complexities

A

Time = O(b^d) as nodes must be examined more than once (depth d and successors b)

Space = O(bd)
Complete = Yes
Optimality = Yes
17
Q

What is UCS?

A

Uniform Cost Search

An extension of BFS which expands node with lowest path cost

18
Q

What is path cost?

A

The cost of getting from start node to this node

g(n)

19
Q

UCS COmplexities

A

Time = b times (c/e) where c is the cost of opimal solution and every action costs at least e

Space = same as time
Complete = yes if every cost step > 0
Optimality = yes
20
Q

What is Bidirectional Search?

A

Two simultaneous searches forward and backward.

Reduced time complexity but needs to compute successors and also predecessors