AI1 Flashcards

(20 cards)

1
Q

What are the 4 problem types?

A
  • Single state problem, deterministic, fully observable
  • Sensorless problem, non-observable
  • Contingency problem, non-deterministic and/or partially observable
  • Exploration problem, unknown state space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are Single-State Problems defined by?

A
  • Inital state
  • Actions or successor function
  • Goal test, implicit or explicit
  • Path cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is considered a solution for Single-State problems?

A

A sequence of actions leading from the initial state to the goal state.

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

How do we select a state space for Single-State problems?

A
  • Abstract state
  • Abstract action
  • Abstract solution, set of real paths that are solutions in the real world. Each abstraction is easier than real problem
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a state?

A

A representation of a physical configuration.

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

What is a node?

A

A data structure constituting part of a search tree.

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

What is a search strategy?

A

The particular way you choose to expand nodes.

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

Along what dimensions are search strategies evaluated?

A

Completeness
Time complexity
Space complexity
Optimality

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

What are the definitions for the following:

  • Completeness
  • Time complexity
  • Space complexity
  • Optimality
A

Completeness = does a search strategy find a solution if one exists? (either complete or not complete)

Time complexity = number of nodes generated

Space complexity = maximum number of nodes in memory

Optimality = does it always find the least cost solution? (optimal or not optimal)

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

What is time and space complexity measured in terms of?

A

b: max branching factor of search tree
d: depth of the least-cost solution
m: max depth of state space (might be infinity)

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

Give 4 examples of uninformed search strategies.

A

BFS
DFS
Depth-limited search
Iterative deepening search

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

Evaluation of BFS

A
  • complete if breadth is finite
  • time O(b^(d+1))
  • space O(b^(d+1))
  • optimal if cost is 1 per step
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Evaluation of DFS

A
  • complete in finite state space
  • time O(b^m)
  • space O(bm)
  • not optimal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Evaluation of iterative deepening search

A
  • complete
  • time O(b^d)
  • space O(bd)
  • optimal if step cost is 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the motivation for bidirectional search?

A

b^(d/2) + b^(d/2) is much less than b^d

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

Evaluation of depth limited search

A
  • complete if solution is above depth limit l
  • time O(b^l)
  • space O(bl)
  • not optimal
17
Q

Evaluation of greedy best first search

A
  • not complete
  • time O(b^m)
  • space O(b^m)
  • not optimal
18
Q

Evaluation of A* search

A
  • complete (unless there are infinitely many nodes with f<= (G))
  • time exponential
  • space O(b^d)
  • optimal
19
Q

What is the idea of simulated annealing?

A

Escape local maxima by allowing some bad moves, but gradually decrease their likelihood. Ar the start of the search, you’re less likely to be at the global optimum. Towards the end there is a high probability that you found optimal solution.

20
Q

Who is mini and max in mini max search?

A

Max is traditionally the computer/player - picks moves with the best heuristic value.

Min is the opponent - picks moves that minimise our advantage.