Searching Algorithms Flashcards

1
Q

Name every type of search algorithm

A

-generic search algorithm
-BFS
-DFS
-Limited DFS
-Iterative deepening search
-A* Algorithm
-Greedy Search

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

How the generic Search algorithm work

A

Checks every value randomly

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

Describe the Breadth-First Search Algorithm

A

Complete ,Optimal, deterministic

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

Describe the Depth-First Algorithm

A

InComplete, inoptimal, nonDeterministic

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

Describe the Depth First Search Algorithm

A

InComplete, nonOptimal, nondeterministic

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

Describe the Limited Depth Search Algorithm

A

Incomplete, nonoptimal

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

Iterative Depth First Search

A

Complete, optimal

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

Uniform Cost Search Algorithm

A

if the cost of all the nodes is the same then this is just depth-first search
-all costs must be positive,
- complete, optimal, determinastic

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

what is a heuristic value

A

an estimate of the cost from any node to the goal node, this might not be accurate to the true value

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

how does the greedy search algorithm work

A

the greedy algorithm always takes the lowest heuristic value without taking into consideration the actual cost value of each node

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

describe the greedy search algorithm

A

compete, nonoptimal, nondeterministic

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

how does the A* algorithm work

A

the algorithm always checks the value where total cost + heuristic is lowest

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

describe the A* algorithm

A

Complete, nonoptimal, Deterministic

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

what is minimax algorithm

A

A game Algorithm where alternate turns is taken between Min and Max where Min is minimising the utility value and Max is trying to Maximise the utility value
so min always takes the lowest value possible and max always takes the highest value possible

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