networks Flashcards

1
Q

what do you do for kruskal’s algorithm?

A

select smallest length
keep on selecting smallest length left
NO LOOPS
number of lines = vertices - 1

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

what do you do for prim’s algorithm?

A

choose a starting vertex
connect to nearest small length
repeat until all lines connected
NO LOOPS

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

what do you do for prim’s algorithm in a table?

A

start at A
look down A column and pick smallest
cross off the two letters rows
look at both vertices and pick smallest
repeat

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

what do you do for dijkstra’s algorithm?

A

start at A
write down all temporary values for edges
pick smallest and make permanent
repeat
at end follow back to find shortest path

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