Professional Documents
Culture Documents
Decision Math - Kruskal Algorithm
Decision Math - Kruskal Algorithm
Decision Math - Kruskal Algorithm
Networks
Kruskals Algorithm
Networks
Wiltshire
Networks
Wiltshire
Wiltshire
Basically you need to travel to every node using the least total
length.
Consider 4 houses in a Network shown in the diagram below. The
weight on each arc represents the distance between each house.
An Electricity company
to D.
So 4 + 3 + 3 = 10, there is no shorter way of supplying every house .
Algorithms
Wiltshire
Kruskal`s Algorithm
Wiltshire
Step 3
network.
Select the shortest arc from those
which are remaining. Ensure that
you do not create a cycle. If you do
ignore and move on to the next
shortest arc.
If all the vertices are connected then stop.
If not return to step 2.
Example
Consider the Network
below.
Wiltshire
in increasing order.
Wiltshire
smallest, which is
DE.
Wiltshire
Wiltshire
Wiltshire
Wiltshire
Wiltshire
Adding CD will again create a loop so the last arc to add is AF.
Question Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q1
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire
Solution Ex 3a pg 66 q4
Wiltshire