Network Algorithms Flashcards

1
Q

Kruskal’s algorithm

A
  • write all edges in order of size
  • go through and select those which don’t create a cycle
  • quadratic complexity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Prims algorithm

A
  • start at a point, and keep selected shortest routes out of nodes in range
  • quadratic complexity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Dijkstra’s algorithm

A

Quadratic complexity, with labels

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

Prims incidence matrix

A

Start in one column, circle smallest, cross out row and label that row’s corresponding letter up north and repeat.

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