Networks and Decision Flashcards

1
Q

What is a spanning tree?

A

Tree that has all vertices connected

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

What is a tree?

A

No loops, multiple edges, or cycles, and woll always have one less edge than vertices

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

19km (A-E-G-B-C-H-F-D)

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

A- Get Up (1 Minute)
B- Have a shower (5 minutes)Must get up first
C- Get dressed (2 minutes)Must have shower first
D- Boil the kettle(2 minutes) Must get up first
E- Make coffee (1 minute)
F- Enjoy Coffee (5 minutes)Must get dressed and make coffee first
G- Prepare and eat breakfast (10 minutes) Must have coffee first

Make a prerequisite table or an activity chart for the information above;

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

Determine the value of the cuts made on the following diagram (A is source, F is sink):

A

Cut 1 = 40+50+70=160
Cut 2 = 70+60+40+70=240
Cut 3 = 70+60+80= 210

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

Recall the hungarian algorithm

A
  1. Subtract lowest value in each row from every value in that row
  2. If the minimum number of lines to cover all zeroes is equal to allocations, go 6
  3. If a column does not contain a zero, subtract lowest value from every value in column
  4. If minimum number of lines to cover all zeroes is equal to allocations, go 6

5a. Add the smallest uncovered value to any value covered by two lines, subtract the smallest uncovered from all uncovered values

5b. repeat from step 4

  1. Draw a directed bi-partite graph with an edge for every zero value
  2. Make allocation and calculate minimum cost
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Bi-partite graph?

A

Two groups of vertices that are connected to one or more vertices in the other group

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

What is prims algorithm?

A
  1. Choose random vertex and connect to closest vertex
  2. Choose an unconnected vertex that is closes to any connected
  3. Repeat step 2 until all vertices are connected to tree
How well did you know this?
1
Not at all
2
3
4
5
Perfectly