Academic Model Answers
Library for UK Postgraduates

Browse tutor-verified model answers across MBA, Law, Finance, Research Methods and more. Use as study references for your own work.

247 model answers 30+ subjects covered 50+ UK universities
Find your assignment

Search the Library

Filter by keyword, subject, or both. Updates live as new model answers are added to our portal.

Filtering by “Minimum Spanning Tree” Clear filters

Available Model Answers (2)

Real-time Database Sync
Computer Science / Algorithms / Parallel Computing / Clustering

Parallel Algorithms for Hierarchical Clustering: Single-Link, Minimum Spanning Trees and Parallel Architectures

This research paper investigates parallel algorithms for hierarchical clustering, a clustering technique in which individual data points initially form separate clusters and the closest clusters are repeatedly merged until a hierarchical tree structure, or dendrogram, is formed. The paper reviews important sequential clustering algorithms, surveys previous parallel approaches and proposes parallel methods for several commonly used inter-cluster distance metrics. Prims_algorithm_for_hierarchica… The paper distinguishes between graph-based metrics and geometric metrics. Graph metrics include single-link, average-link and complete-link clustering, while geometric metrics include centroid, median and minimum-variance methods. It also discusses the Lance–Williams updating formula, which provides a general framework for updating inter-cluster distances after agglomeration. Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… A major focus is the relationship between single-link hierarchical clustering and the Euclidean minimum spanning tree. The paper explains that the cluster hierarchy for single-link clustering can be obtained from a minimum spanning tree, making minimum-spanning-tree algorithms highly relevant to efficient hierarchical clustering. It presents practical single-link algorithms with O(n²) time complexity and discusses space requirements and nearest-neighbour update properties. Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… The paper also examines algorithms for metrics satisfying the reducibility property, where nearest-neighbour chains can be used to efficiently determine which clusters to merge. Minimum-variance and graph-based metrics satisfy this property, while centroid and median metrics do not necessarily do so. Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… For more general clustering metrics, the paper describes priority-queue-based algorithms with O(n² log n) sequential time complexity. It then reviews previous parallel work, including parallel implementations of SLINK, Ward’s method and Prim’s minimum spanning tree algorithm. The cited parallel Prim implementation achieves O(n log n) time when sufficient processors are available. Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… The core contribution is a set of parallel algorithms for hierarchical clustering on PRAM, butterfly and tree architectures. For single-link clustering, the paper shows how a parallel minimum-spanning-tree approach can be used and reports an O(n log n) running time using n/log n processors. Similar optimal results are described for centroid, median and minimum-variance clustering, while average-link and complete-link methods are more difficult to optimise on local-memory architectures. Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… Prims_algorithm_for_hierarchica… Overall, the paper demonstrates how hierarchical clustering can be accelerated through parallel computation while preserving the computational structure of different clustering metrics. Its main themes include minimum spanning trees, Prim’s algorithm, single-link clustering, nearest-neighbour methods, PRAM computation, parallel data structures and asymptotic complexity analysis. Prims_algorithm_for_hierarchica… Important: because this file is a journal research paper rather than a university assessment brief, fields such as module name, academic level, assignment type and formal word count do not genuinely apply.

Read Model Answer →
Computer Science / Algorithms and Optimisation

Genetic Algorithms for the Balanced Spanning Tree Problem

This technical research work investigates the Balanced Spanning Tree Problem, an optimisation problem that seeks to construct a spanning tree capable of balancing two competing network objectives: the low overall cost associated with a Minimum Spanning Tree and the short source-to-destination distances provided by a Shortest Path Tree. For an undirected, weighted and connected graph with a designated root vertex, a balanced spanning tree is defined using two parameters, α and β. The first limits the distance between the root and each vertex relative to the corresponding shortest path in the original graph, while the second limits the total tree weight relative to the Minimum Spanning Tree. Finding an optimal balanced spanning tree is computationally challenging because determining whether a graph contains an (α, β)-balanced spanning tree is an NP-complete problem. The research therefore proposes genetic algorithms as heuristic optimisation techniques for two variants of the problem: minimising β while α is fixed, and minimising α while β is fixed. The proposed genetic algorithm represents individual spanning trees as chromosomes composed of graph edges. An initial population of valid spanning trees is generated before evolutionary operations are repeatedly applied. The approach incorporates chromosome selection, crossover, mutation, fitness evaluation and stopping criteria. Four selection strategies are examined: Random Selection, Roulette Wheel Selection, Stochastic Universal Sampling and Tournament Selection. The fitness function is based on the relationship between the Minimum Spanning Tree weight and the total weight of the candidate chromosome. Experimental evaluation is performed using randomly generated weighted graphs containing 6, 10, 15 and 20 vertices. The experiments investigate different values of the balancing parameters, selection mechanisms and population sizes. The implementation uses a population size of 30, a maximum of 300 generations, crossover probability of 0.9 and mutation probability of 0.01 in the principal experiments. The reported results show that the genetic approach can generate high-quality balanced spanning trees and, for the tested instances, produced solutions matching the corresponding optimal balanced spanning trees. The study also examines how balancing parameters and population size influence execution time and convergence, demonstrating the practical use of evolutionary computation for complex graph-optimisation problems.

Read Model Answer →