Uniformed/Informed searches Flashcards

1
Q

What are the uninformed searches?

A

DFS, DFS + Iterative Deepening, BFS

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

What are the informed searches?

A

Best FS, Hill Climbing, Branch and Bound Techniques, A* Algo, Simulated annealing, Tabu Search

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

Why do we generate state space at run time?

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

What is a state space?

A

A set of descriptions of states

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

Should a tree or graph be used when a state can be visited more than once?

A

graph

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

How do search algorithms for trees differ from search algorithms for graphs?

A

Graphs need to cater for possible loops and cycles

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

What are the types of problems?

A

Problem that only need a representation
Problem that require a yes or no response indicating whether a solution can be found or not.
Problems that require a solution path

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

How does DFS work?

A

go to the left and down as far as possible, backtrack to split and then go right down as far as possible

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

How does BFS work?

A

Go down in layers, start from left to right on each layer

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

How does DFS with iterative deepening work?

A

Only go down to the level that has been specified, If level has been reached go to next nodes and dont continue further down

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

How is BFS better than DFS?

A

BFS is guaranteed to find the shortest path from the start to the goal
DFS may get lost in search and hence a depth-bound may have to be imposed on a dfs

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

Why is BFS bad?

A

Has a bad branching factor (lead to combinatorial explosion)

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

When is DFS more efficient?

A

When the search space has many branches (+ branches = + branching factor)

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

What is the criteria to decide which search to use?

A

How important is it to find the shortest path to goal.
branching, time and resources
Average length of paths to a goal node

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

How does Heuristic searches choose which node to visit?

A

It uses the domain-specific knowledge to choose

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

What is a weak search method?

A

A search method that include the use of domain knowledge in the form of a heuristic.

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

What are examples of heuristic searches?

A

Best FS, A* algorithm, hill-climbing

18
Q

Why is domain knowledge incorporated into search process by means of heuristics?

A

To speed up the search process

19
Q

Are heuristic functions completely accurate?

A

No

20
Q

What are heuristics?

A

rules of thumb that may find a solution (not guaranteed)

21
Q

What is the range for heuristic values?

A

> =0

22
Q

What does a heuristic value of 0 mean?

A

current state = goal state

23
Q

When is a heuristic admissible?

A

When is never overestimates the cost to the goal

24
Q

What is the value of a heuristic if the state is a dead end?

A

infinity

25
Q

What is a property of a good heuristic?

A

Must not take long to compute

26
Q

Where are heuristics defined on?

A

on a simplified/relaxed version of the problem

27
Q

When is H1 expanded less nodes than H2 during the search. which heuristic function is better?

A

H1

28
Q

What is the problem with heuristic functions?

A

Difficult to devise

29
Q

How does Best FS work?

A

Min cost nodes are expanded first

30
Q

Does Best FS always find the shortest solution?

A

No

31
Q

What is the purpose of Best FS?

A

To minimize the cost of finding a solution

32
Q

Which 2 searches does Best FS combine?

A

BFS and DFS

33
Q

How is Hill Climbing different from Best FS?

A

Hill Climbing = Local states, Best FS = considers global states

34
Q

What does A Algorithm combine?

A

Best FS + f(n) = g(n) + h(n)
g(n) = measures length of the path from any state to the start state
h(n) = heuristic measure from the state to the goal state
( g(n) = amount of steps that has been taken from the start state)

35
Q

What is the evaluation function used by admissible algorithms?

A

f(n) = g(n) + h(n)
g
(n) = actual cost of path from start to current
h*(n) = actual cost from node to goal node

36
Q

True or false. Most of the time we cant compute h*(n) in the admissible function?

A

True.

37
Q

What is the Best FS used with f(n) called?

A

A Algorithm

38
Q

When does does the A algorithm become the A* algorithm?

A

When h(n) <= h*(n)

39
Q

What techniques are used to find the most optimal solutions?

A

Branch and Bound

40
Q
A