Graph Search Methods Flashcards

1
Q

How are costs reduced during graph searches?

A

-Nodes are not revisited
-search trees find optimal paths for the environment

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

Functionality of the breadth-first search

A

Begins at the start node and explores local nodes
-from neighbouring nodes, explore unexplored nodes
-repeats until goal nodes are found

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

Functionality of depth-first search

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

Comparison of the Breadth-first and depth-first

A

-both used often for path searches
-both are simple to implement but might be inefficient
DFS:
-has lower memory footprint than BFS
-mainly used to completely explore a graph
BFS:
-faster computation

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

Why would the star algorithms be used instead of BFS/DFS

A

BFS and DFS do not consider when the edges have weights
-Star algorithm can calculate the shortest path with the lowest cost

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

Give the pros/cons of Dijkstra’s

A

PROs:
-considers weights of each node
-calculates shortest path and cost
-easy to implement

CONs:
-attention required on priortity queue
-not possible to determine if solution exists untul it reaches it

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

Define A* algorithim

A

Dijkstra’s algorithm + heurisitc
-a heuristic function provides an optimistic estimate of how close the goal is
-improves efficiency of the Dijkstra algorithm

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

Compare Dijkstra and A*

A

-A* is an extension of Dijkstras algorithm

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

Define D* algorithm

A

-A variation of A* which resuses previous search effort for iterations
-it only tackles state effected by change

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

Define RRTs

A

-Rapidly exploring random trees
-grow a graph online only requiring an obstacle map
-begins with an inital tree and succesively adds nodes closest to random points on graph

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

Give the cons of RRTs

A

Lack optimality but the solution is eventually found as number of ndoes grows towards infinity

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