The SkewedKruskal algorithm is an implementation of Kruskal algorithm where the edge list is recursively sorted on demand, mimicking the well-known QuickSort algorithm. We investigate the issue of improving the time performance of SkewedKruskal by guessing the position of the largest edge of a minimum cost spanning tree (MST), in order to avoid sorting unnecessary edges. For this purpose, a statistical analysis is performed on the distribution of the edge weights in some classes of randomly generated weighted graphs, so that the position of the largest MST edge can be guessed by sampling a relatively small number of edge weights. Experimental results are reported to evaluate the effectiveness of the techniques proposed.

Automatic Tuning of the SkewedKruskal Algorithm / M. Lecchi, G. Righini (SPRINGER OPTIMIZATION AND ITS APPLICATIONS). - In: Theory, Algorithms, and Experiments in Applied Optimization / [a cura di] B. Goldengorin. - Cham : Springer, 2025. - ISBN 9783031913563. - pp. 171-198 [10.1007/978-3-031-91357-0_9]

Automatic Tuning of the SkewedKruskal Algorithm

G. Righini
Ultimo
2025

Abstract

The SkewedKruskal algorithm is an implementation of Kruskal algorithm where the edge list is recursively sorted on demand, mimicking the well-known QuickSort algorithm. We investigate the issue of improving the time performance of SkewedKruskal by guessing the position of the largest edge of a minimum cost spanning tree (MST), in order to avoid sorting unnecessary edges. For this purpose, a statistical analysis is performed on the distribution of the edge weights in some classes of randomly generated weighted graphs, so that the position of the largest MST edge can be guessed by sampling a relatively small number of edge weights. Experimental results are reported to evaluate the effectiveness of the techniques proposed.
Kruskal algorithm; Minimum cost spanning tree; QuickSort
Settore MATH-06/A - Ricerca operativa
2025
Book Part (author)
File in questo prodotto:
File Dimensione Formato  
2025 Lecchi Righini_compressed.pdf

accesso riservato

Tipologia: Publisher's version/PDF
Licenza: Nessuna licenza
Dimensione 764.63 kB
Formato Adobe PDF
764.63 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2434/1229981
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 0
  • ???jsp.display-item.citation.isi??? ND
  • OpenAlex 0
social impact