A novel approach for constructing a minimum spanning tree

Authors

  • Haribhau R. Bhapkar
    Department of Mathematics, Central University of Kashmir, India
  • Rezwan Ul Shaban
    Centre for Distance and Online Education, University of Kashmir, Srinagar, India
  • Shabir Ahmad Mir
    Department of Mathematics, Central University of Kashmir, India
  • Junaid Nisar
    Symbiosis Institute of Technology, Pune Campus, Symbiosis International (Deemed University), Pune 412115, India

Keywords:

Weighted graph, Minimum spanning tree, Maximal independent set, Algorithm, Graph algorithms

Abstract

The spanning tree of a graph is obtained when all vertices of a graph are connected in such a way that no cycle is formed. This work proposes a new algorithm that, at each round, selects a maximal independent set of vertices (an inclusion-maximal, not necessarily maximum-cardinality, set of pairwise non-adjacent vertices) and attaches to every vertex of that set its cheapest cycle-safe incident edge to find a minimum spanning tree of any weighted graph. The procedure organizes safe-edge selections into batches indexed by maximal independent sets; its number of such batching rounds depends on the maximal independent sets selected, and this notion of a round is not directly comparable to a single iteration of Prim's or Kruskal's algorithm without further definition. Using the classical cut property, we prove that the procedure always produces a minimum spanning tree of a connected graph. If r denotes the number of independent-set rounds, a straightforward sequential implementation has worst-case running time O(r(n+m)+m log m). We do not claim, and this paper does not prove, that the number of rounds is minimized over all possible choices of maximal independent sets, nor that the resulting sequential running time improves on the classical O(m log n) bounds. This work may be useful for large weighted networks such as communication networks, wiring connections, and transportation networks.

Dimensions

[1] M. Xiao, S. Huang & X. Chen, ``Maximum weighted independent set: Effective reductions and fast algorithms on sparse graphs'', Algorithmica 86 (2024) 1293. https://doi.org/10.1007/s00453-023-01197-x.

[2] J. Nešetřil, E. Milková & H. Nešetřilová, ``Otakar Borůvka on minimum spanning tree problem: Translation of both the 1926 papers, comments, history'', Discrete Mathematics 233 (2001) 3. https://doi.org/10.1016/S0012-365X(00)00224-7.

[3] R. C. Prim, ``Shortest connection networks and some generalizations'', Bell System Technical Journal 36 (1957) 1389. https://doi.org/10.1002/j.1538-7305.1957.tb01515.x.

[4] A. Grama, A. Gupta, G. Karypis & V. Kumar, Introduction to parallel computing, 2nd ed., Addison-Wesley, Harlow, England, 2003. https://www.cs.purdue.edu/homes/ayg/book/index.html.

[5] K. H. Rosen, Discrete mathematics and its applications, 4th ed., WCB/McGraw-Hill, Boston, USA, 1999. https://search.worldcat.org/title/39905655.

[6] J. B. Kruskal, ``On the shortest spanning subtree of a graph and the traveling salesman problem'', Proceedings of the American Mathematical Society 7 (1956) 48. https://doi.org/10.1090/S0002-9939-1956-0078686-7.

[7] J. Kleinberg & É. Tardos, Algorithm design, Addison-Wesley, Boston, USA, 2006. https://books.google.com/books?id=OiGhQgAACAAJ.

[8] T. H. Cormen, C. E. Leiserson, R. L. Rivest & C. Stein, Introduction to algorithms, 3rd ed., MIT Press, Cambridge, MA, USA, 2009. https://mitpress.mit.edu/9780262033848/introduction-to-algorithms/.

[9] O. T. Arogundade, B. Sobowale & A. T. Akinwale, ``Prim algorithm approach to improving local access network in rural areas'', International Journal of Computer Theory and Engineering 3 (2011) 413. https://doi.org/10.7763/IJCTE.2011.V3.340.

[10] E. O. Effanga & U. E. Edeke, ``Minimum spanning tree of city to city road network in Nigeria'', IOSR Journal of Mathematics 12 (2016) 41. https://doi.org/10.9790/5728-1204054145.

[11] R. L. Graham & P. Hell, ``On the history of the minimum spanning tree problem'', IEEE Annals of the History of Computing 7 (1985) 43. https://doi.org/10.1109/MAHC.1985.10011.

[12] B. Bollobás, Graph theory: An introductory course, 1st ed., Springer, New York, USA, 1979. https://doi.org/10.1007/978-1-4612-9967-7.

[13] M. C. Golumbic & I. Ben-Arroyo Hartman (Eds.), Graph theory, combinatorics and algorithms: Interdisciplinary applications, Springer, New York, USA, 2005. https://doi.org/10.1007/b106672.

[14] R. Diestel, Graph theory, 1st ed., Springer, New York, USA, 1997. https://books.google.com/books?id=bu_uAAAAMAAJ.

[15] L. R. Foulds, Graph theory applications, Springer, New York, USA, 1992. https://doi.org/10.1007/978-1-4612-0933-1.

[16] H. N. Gabow, ``Two algorithms for generating weighted spanning trees in order'', SIAM Journal on Computing 6 (1977) 139. https://doi.org/10.1137/0206011.

[17] S. Kapoor & H. Ramesh, ``Algorithms for enumerating all spanning trees of undirected and weighted graphs'', SIAM Journal on Computing 24 (1995) 247. https://doi.org/10.1137/S009753979225030X.

[18] T. Matsui, ``A flexible algorithm for generating all the spanning trees in undirected graphs'', Algorithmica 18 (1997) 530. https://doi.org/10.1007/PL00009171.

[19] K. Sörensen & G. K. Janssens, ``An algorithm to generate all spanning trees of a graph in order of increasing cost'', Pesquisa Operacional 25 (2005) 219. https://doi.org/10.1590/S0101-74382005000200004.

[20] T. Yamada, S. Kataoka & K. Watanabe, ``Listing all the minimum spanning trees in an undirected graph'', International Journal of Computer Mathematics 87 (2010) 3175. https://doi.org/10.1080/00207160903329699.

[21] D. A. Bader & G. Cong, ``Fast shared-memory algorithms for computing the minimum spanning forest of sparse graphs'', Journal of Parallel and Distributed Computing 66 (2006) 1366. https://doi.org/10.1016/j.jpdc.2006.06.001.

[22] I. Bansal, J. Cheriyan, L. Grout & S. Ibrahimpur, ``Improved approximation algorithms by generalizing the primal-dual method beyond uncrossable functions'', Algorithmica 86 (2024) 2575. https://doi.org/10.1007/s00453-024-01235-2.

[23] L. Huang, W. Yu & Z. Liu, ``Approximation algorithms for the min--max mixed rural postmen cover problem and its variants'', Algorithmica 86 (2024) 1135. https://doi.org/10.1007/s00453-023-01187-z.

fig 1

Published

2026-08-26

How to Cite

A novel approach for constructing a minimum spanning tree. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3739. https://doi.org/10.46481/jnsps.2026.3739

Issue

Section

Mathematics & Statistics

How to Cite

A novel approach for constructing a minimum spanning tree. (2026). Journal of the Nigerian Society of Physical Sciences, 8(4), 3739. https://doi.org/10.46481/jnsps.2026.3739

Similar Articles

1-10 of 139

You may also start an advanced similarity search for this article.