Number and Algebra
Functions
Geometry and Trigonometry
Statistics and Probability
Calculus
Given the complete graph K4K_4K4 with vertices 1,2,3,41,2,3,41,2,3,4 and edge weights: 12=112=112=1, 13=213=213=2, 14=314=314=3, 23=423=423=4, 24=524=524=5, 34=634=634=6, find the minimum spanning tree and its weight.
Given the weighted graph with vertices A,B,C,D,EA,B,C,D,EA,B,C,D,E and edges with weights: AB=2AB=2AB=2, AC=3AC=3AC=3, AD=6AD=6AD=6, BC=5BC=5BC=5, BD=4BD=4BD=4, CD=1CD=1CD=1, use Kruskal’s algorithm to find a minimum spanning tree and its total weight.
In a project to connect remote outposts W,X,Y,ZW,X,Y,ZW,X,Y,Z, the following possible connections and costs (extunits ext{units}extunits) exist: WX=10WX=10WX=10, WY=6WY=6WY=6, WZ=5WZ=5WZ=5, XY=4XY=4XY=4, XZ=15XZ=15XZ=15, YZ=2YZ=2YZ=2. Use Prim’s algorithm starting at WWW to find the minimum spanning tree and its total cost.
A network of six sensors forms a weighted graph: edges and distances (in metres) are AB=3AB=3AB=3, AC=1AC=1AC=1, AD=4AD=4AD=4, BC=2BC=2BC=2, BD=5BD=5BD=5, CE=6CE=6CE=6, DE=7DE=7DE=7, DF=8DF=8DF=8, EF=9EF=9EF=9. Find the minimum spanning tree using Kruskal’s algorithm and compute its total length.
A utility company plans to connect four substations A,B,C,DA,B,C,DA,B,C,D with cables. The cost of connecting each pair is given: AB=4AB=4AB=4, AC=1AC=1AC=1, AD=3AD=3AD=3, BC=2BC=2BC=2, BD=5BD=5BD=5, CD=6CD=6CD=6. Illustrate the graph and determine the minimum spanning tree using Prim’s algorithm, starting at AAA.
Use Prim’s algorithm starting at vertex 111 on the graph with adjacency matrix:
to find a minimum spanning tree and its total weight.
In designing a countryside electrical grid, five farms P,Q,R,S,TP,Q,R,S,TP,Q,R,S,T must be connected with minimal wiring cost. The terrain dictates the following possible connections: PQ=11PQ=11PQ=11, PR=7PR=7PR=7, PS=9PS=9PS=9, QT=5QT=5QT=5, RT=4RT=4RT=4, ST=8ST=8ST=8. Use Kruskal’s algorithm to find the minimum wiring cost.
A telecommunications company must connect five relay stations P,Q,R,S,TP,Q,R,S,TP,Q,R,S,T. The cost (in thousands) of laying cable between each pair is given: PQ=4PQ=4PQ=4, PR=8PR=8PR=8, PS=5PS=5PS=5, QT=7QT=7QT=7, RS=6RS=6RS=6, RT=3RT=3RT=3, ST=2ST=2ST=2. Model this as a graph and determine the minimum cost to connect all stations using Kruskal’s algorithm.
A road planner has five towns A,B,C,D,EA,B,C,D,EA,B,C,D,E with possible roads and construction costs: AB=10AB=10AB=10, AC=6AC=6AC=6, AD=5AD=5AD=5, BC=15BC=15BC=15, BD=4BD=4BD=4, CD=12CD=12CD=12, CE=8CE=8CE=8, DE=7DE=7DE=7. Use Prim’s algorithm starting at EEE to find a minimum spanning tree and the total cost.
A rail network must connect five cities A,B,C,D,EA,B,C,D,EA,B,C,D,E. Possible link costs are: AB=14AB=14AB=14, AC=9AC=9AC=9, AD=22AD=22AD=22, BC=18BC=18BC=18, BD=3BD=3BD=3, CE=16CE=16CE=16, DE=7DE=7DE=7. Determine the minimum spanning tree and total cost using Kruskal’s method.
A company needs to lay fibre between seven offices, labelled 111 through 777. The connection costs are given by the weighted edges:
Use Kruskal’s algorithm to find the minimum spanning tree and its total cost.
Previous
No previous topic
Next
Question Type 2: Finding minimum spanning trees by applying Kruskal's algorithm