Djikstras Algorithm Flashcards

1
Q

Djikstras algorithm

A

Answers shortest path for weighted graphs

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

Weight

A

A number associated with each edge on a graph

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

Weighted vs unweighted graphs

A

A weighted graph has…weights ; )

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

Cycle

A

Circles
When you can follow a node and end up at a previous node

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

Undirected graphs and cycles.

A

Undirected graphs are cycles because the nodes point to each other

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

Djikstras algorithm and cycles

A

It only works with no cycles or with positive weight cycles.

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

Bellman-ford algorithm

A

Works with negative weight edges

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