2.3.5 Path Finding algorithms Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Similarities between Dijkstra algorithm and A* algorithm

A

Both are pathfinding algorithms

Both aim to find the shortest route

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

Differences between Dijkstra algorithm and A* algorithm

A

A* is considered more efficient than Dijkstra (which is slower)

A* makes use of heuristic (expected) values to find solutions faster.

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

What is a heuristic value?

A

a problem-solving strategy or method that is not guaranteed to find the optimal solution, but is designed to find a satisfactory solution in a reasonable amount of time.

or

a mental shortcut commonly used to simplify problems and avoid cognitive overload

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

What does the Dijkstra algorithm use to achieve finding the shortest route?

A

A priority queue, which orders the magnitude of distance to each vertex from shortest to longest.

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

What is a pathfinding algorithm?

A

An algorithm designed to find the shortest path between two nodes on a network

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

What is performance modelling?

A

A method to model these scenarios in a computer simulation so the full performance test does not need to happen.

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

Why is performance modelling used?

A
  • To simulate/model behaviour of the system (before it is) used under load
  • Because it would be too expensive/unsafe/time critical to test the real system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How can a heuristic be calculated

A
  • Euclidean theory
  • The Manhattan approach
How well did you know this?
1
Not at all
2
3
4
5
Perfectly