{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,7,5]],"date-time":"2025-07-05T04:04:46Z","timestamp":1751688286568,"version":"3.41.0"},"reference-count":21,"publisher":"Oxford University Press (OUP)","issue":"4","license":[{"start":{"date-parts":[[2025,6,26]],"date-time":"2025-06-26T00:00:00Z","timestamp":1750896000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/academic.oup.com\/pages\/standard-publication-reuse-rights"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":[],"published-print":{"date-parts":[[2025,6,26]]},"abstract":"<jats:title>Abstract<\/jats:title>\n               <jats:p>The minimum spanning tree (MST) is a widely used method in the study of networks. There have been substantial contributions to derive algorithms to find the MST from a set of pairwise distances. The MST may not be unique for a given data set because of the presence of ties in the distances. There seems to be no efficient implementation able to enumerate or list all MSTs compatible with a given data set. This contribution attempts to fill this gap. The approach adopted here makes use of the Laplacian minors of the distance matrix combined with some efficient code to compute matrix determinants. Two algorithms are presented: the first one builds a network that contains all MSTs compatible with the distances given as input; the second one counts the number of alternative MSTs during the aggregation process of the first one. Analyses of the TSPLIB benchmark data made of 111 sets sizes (with up to $ n\\,=\\,85,900 $ nodes) showed that running times practically scaled with $ n^{1.96} $. This is very close to the expected time complexity of the well-known Kruskal algorithm ($ \\approx n^{2} $) showing that the proposed algorithms are expected to run in polynomial time. Computer code is provided in a public repository to implement the algorithms.<\/jats:p>","DOI":"10.1093\/comnet\/cnaf004","type":"journal-article","created":{"date-parts":[[2025,7,4]],"date-time":"2025-07-04T05:38:07Z","timestamp":1751607487000},"source":"Crossref","is-referenced-by-count":0,"title":["An efficient algorithm to find all minimum spanning trees"],"prefix":"10.1093","volume":"13","author":[{"ORCID":"https:\/\/orcid.org\/0000-0003-3092-2199","authenticated-orcid":false,"given":"Emmanuel","family":"Paradis","sequence":"first","affiliation":[{"name":"ISEM, CNRS, IRD, University of Montpellier , Montpellier,","place":["France"]},{"name":"ISEM, Universit\u00e9 de Montpellier , Place Eug\u00e8ne Bataillon , F-34095 Montpellier,","place":["France"]}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"286","published-online":{"date-parts":[[2025,7,4]]},"reference":[{"key":"2025070401380176300_cnaf004-B1","doi-asserted-by":"crossref","first-page":"450","DOI":"10.1137\/0403039","article-title":"The random walk construction of uniform spanning trees and uniform labelled trees","volume":"3","author":"Aldous","year":"1990","journal-title":"SIAM J Discrete Math"},{"key":"2025070401380176300_cnaf004-B2","doi-asserted-by":"crossref","first-page":"343","DOI":"10.1016\/j.endm.2016.05.029","article-title":"An algorithm for $ k^{th} $ minimum spanning tree","volume":"53","author":"Amal","year":"2016","journal-title":"Electron Notes Discrete Math"},{"key":"2025070401380176300_cnaf004-B3","doi-asserted-by":"crossref","first-page":"513","DOI":"10.1016\/j.procs.2016.07.376","article-title":"An efficient greedy minimum spanning tree algorithm based on vertex associative cycle detection method","volume":"92","author":"Biswas","year":"2016","journal-title":"Procedia Comput Sci"},{"key":"2025070401380176300_cnaf004-B4","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-349-03521-2","volume-title":"Graph Theory with Applications","author":"Bondy","year":"1976"},{"key":"2025070401380176300_cnaf004-B5","doi-asserted-by":"crossref","first-page":"265","DOI":"10.1007\/s40747-018-0079-7","article-title":"Algorithms for generating all possible spanning trees of a simple undirected connected graph: an extensive review","volume":"5","author":"Chakraborty","year":"2019","journal-title":"Complex Intell Syst"},{"key":"2025070401380176300_cnaf004-B6","author":"Eppstein","year":"1995"},{"key":"2025070401380176300_cnaf004-B7","doi-asserted-by":"crossref","first-page":"321","DOI":"10.1145\/201019.201022","article-title":"A randomized linear-time algorithm to find minimum spanning trees","volume":"42","author":"Karger","year":"1995","journal-title":"J ACM"},{"key":"2025070401380176300_cnaf004-B8","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1090\/S0002-9939-1956-0078686-7","article-title":"On the shortest spanning subtree of a graph and the traveling salesman problem","volume":"7","author":"Kruskal","year":"1956","journal-title":"Proc Am Math Soc"},{"key":"2025070401380176300_cnaf004-B9","doi-asserted-by":"crossref","first-page":"165","DOI":"10.1016\/j.cosrev.2008.10.002","article-title":"The saga of minimum spanning trees","volume":"2","author":"Mare\u0161","year":"2008","journal-title":"Comput Sci Rev"},{"key":"2025070401380176300_cnaf004-B10","author":"Meyer","year":"2001"},{"key":"2025070401380176300_cnaf004-B11","doi-asserted-by":"crossref","first-page":"685","DOI":"10.1046\/j.1365-294X.2003.01752.x","article-title":"Mitochondrial phylogeography of the woodmouse (Apodemus sylvaticus) in the Western Palearctic region","volume":"12","author":"Michaux","year":"2003","journal-title":"Mol Ecol"},{"key":"2025070401380176300_cnaf004-B12","doi-asserted-by":"crossref","first-page":"419","DOI":"10.1093\/bioinformatics\/btp696","article-title":"pegas: an R package for population genetics with an integrated\u2013modular approach","volume":"26","author":"Paradis","year":"2010","journal-title":"Bioinformatics"},{"key":"2025070401380176300_cnaf004-B13","doi-asserted-by":"crossref","first-page":"1308","DOI":"10.1111\/2041-210X.12969","article-title":"Analysis of haplotype networks: the randomized minimum spanning tree method","volume":"9","author":"Paradis","year":"2018","journal-title":"Meth Ecol Evol"},{"key":"2025070401380176300_cnaf004-B14","doi-asserted-by":"crossref","DOI":"10.1201\/9780429466700","volume-title":"Population Genomics With R","author":"Paradis","year":"2020"},{"key":"2025070401380176300_cnaf004-B15","doi-asserted-by":"crossref","first-page":"16","DOI":"10.1145\/505241.505243","article-title":"An optimal minimum spanning tree algorithm","volume":"49","author":"Pettie","year":"2002","journal-title":"J ACM"},{"key":"2025070401380176300_cnaf004-B16","year":"2024"},{"key":"2025070401380176300_cnaf004-B17","doi-asserted-by":"crossref","first-page":"17","DOI":"10.7250\/itms-2023-0003","article-title":"Building minimum spanning trees under maximum edge length constraint","volume":"26","author":"Romanuke","year":"2023","journal-title":"Information Technology and Management Science"},{"key":"2025070401380176300_cnaf004-B18","doi-asserted-by":"crossref","first-page":"219","DOI":"10.1590\/S0101-74382005000200004","article-title":"An algorithm to generate all spanning trees of a graph in order of increasing cost","volume":"25","author":"S\u00f6rensen","year":"2005","journal-title":"Pesquisa Operacional"},{"key":"2025070401380176300_cnaf004-B19","first-page":"65","article-title":"Counting and constructing minimal spanning trees","volume":"21","author":"Wright","year":"1997","journal-title":"Bull Inst Combin Appl"},{"key":"2025070401380176300_cnaf004-B20","doi-asserted-by":"crossref","first-page":"21","DOI":"10.1080\/0025570X.2000.11996794","article-title":"On minimum spanning trees and determinants","volume":"73","author":"Wright","year":"2000","journal-title":"Math Mag"},{"key":"2025070401380176300_cnaf004-B21","doi-asserted-by":"crossref","first-page":"3175","DOI":"10.1080\/00207160903329699","article-title":"Listing all the minimum spanning trees in an undirected graph","volume":"87","author":"Yamada","year":"2010","journal-title":"Int J Comput Math"}],"container-title":["Journal of Complex Networks"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/academic.oup.com\/comnet\/article-pdf\/13\/4\/cnaf004\/63662863\/cnaf004.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"syndication"},{"URL":"https:\/\/academic.oup.com\/comnet\/article-pdf\/13\/4\/cnaf004\/63662863\/cnaf004.pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,7,4]],"date-time":"2025-07-04T05:38:09Z","timestamp":1751607489000},"score":1,"resource":{"primary":{"URL":"https:\/\/academic.oup.com\/comnet\/article\/doi\/10.1093\/comnet\/cnaf004\/8185635"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,6,26]]},"references-count":21,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2025,6,26]]}},"URL":"https:\/\/doi.org\/10.1093\/comnet\/cnaf004","relation":{},"ISSN":["2051-1329"],"issn-type":[{"value":"2051-1329","type":"electronic"}],"subject":[],"published-other":{"date-parts":[[2025,8]]},"published":{"date-parts":[[2025,6,26]]}}}