Week 2 Flashcards

1
Q

Generate and Test Search Algorithm?

A

a very simple algorithm that guarantees to find a solution if done systematically and there exists a solution

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

Informed Search methods?

Informed Search methods may have access to a heuristic function h(n) that estimates the cost of a solution from n

A
  1. Best-first search algorithm
    the generic best-first search algorithm selects a node for expansion according to an evaluation function.
  2. Greedy best-first search
    expands nodes with minimal h(n). It is not optimal but is often efficient
  3. A* Search
    expands nodes with minimal f(n) = g(n) + h(n). A* is complete and optimal.
  4. RBFS (recursive best-first search) and SMA* (simplified memory-bounded A*)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Search algorithms are judges on the basis of?

A

completeness, optimality, time complexity, and space complexity. complexity depends on b, the branching factor in the state space, and d, the depth of the shallowest solution.

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

Iterative deepening search only uses?

A

linear space and not much more time than other uninformed search strategies.

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

Jenis-jenis Uninformed search strategy?

A
  1. Breadth-First Search
  2. Uniform-Cost Search
  3. Depth-First Search
  4. Depth-Limited Search
  5. Iterative Deepening Search
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Time complexity of Breadth-First Search?

A

O(b^d)

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

Why Iterative Deepening Search may seem wasteful?

A

because so many states are expanded multiple times

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

Best first search (greedy) complexity?

A

Complete? NO, can get stuck in loops
Time? O(b^m)
Space? O(b^m)
Optimal? NO

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

admissible heuristic used in?

A

A* search

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

is A* search is optimal?

A

YES

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

search algorithm that combines advantages of uniform-cost and greedy searches?

A

A* Search

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

A* characteristics?

A

Complete, optimal, and optimally efficient. But space complexity still exponential.

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

Greedy search?

A

best-first search with the estimated cost to reach the goal as a heuristic measure. not optimal and not complete but generally faster than uninformed search.

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

What is hill climbing?

A

hill-climbing is a mathematical optimization technique for local search. can be used to solve problems that have many solutions. It starts with a random solution, and iteratively makes small changes and keep improving to find the solution.

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