{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,31]],"date-time":"2026-10-31T22:40:39Z","timestamp":1793486439202,"version":"4.5.0"},"reference-count":43,"publisher":"MDPI AG","issue":"6","license":[{"start":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T00:00:00Z","timestamp":1781827200000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Computers"],"abstract":"<jats:p>The work described in this paper continues basic research aimed at improving clustering algorithms such as K-Means and Random Swap through careful seeding and genetic concepts. This paper, in particular, develops a variation in the Hartigan\u2013Wong (HW) algorithm, which, although computationally more expensive, is recognized as a better solution than K-Means. The new algorithm is named Recombinator Hartigan\u2013Wong (Rec-HW). Rec-HW first builds a population of candidate solutions, each tailored to the minimization of the Sum-of-Squared-Errors (SSE) objective function cost. Candidate solutions are then systematically recombined by exploiting the standard behaviour of HW, which performs crossover and mutation operations. Recombinations, as experimentally confirmed, reduce the number of iterations required by basic HW and tend to favour the emergence of a solution close to the optimal one. The paper describes the design of Rec-HW, whose current implementation depends on parallel Java. Good clustering performance is demonstrated by using both benchmark and real-world datasets.<\/jats:p>","DOI":"10.3390\/computers15060394","type":"journal-article","created":{"date-parts":[[2026,6,19]],"date-time":"2026-06-19T13:04:04Z","timestamp":1781874244000},"page":"394","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":2,"title":["Clustering Performance of a Recombinator Hartigan\u2013Wong Algorithm"],"prefix":"10.3390","volume":"15","author":[{"ORCID":"https:\/\/orcid.org\/0000-0001-6577-4777","authenticated-orcid":false,"given":"Libero","family":"Nigro","sequence":"first","affiliation":[{"name":"Department of Computer Engineering, Modeling, Electronic and System Engineering (DIMES), University of Calabria, 87036 Rende, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6138-5739","authenticated-orcid":false,"given":"Franco","family":"Cicirelli","sequence":"additional","affiliation":[{"name":"Institute for High Performance Computing and Networking (ICAR), CNR\u2014National Research Council of Italy, 87036 Rende, Italy"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,6,19]]},"reference":[{"key":"ref_1","unstructured":"Aggarwal, C.C., and Reddy, C.K. (2014). Data Clustering\u2014Algorithms and Applications, Taylor and Francis Group."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Wang, R. (2025). Introduction to Machine Learning: From Math to Code, Cambridge University Press.","DOI":"10.1017\/9781009023870"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Nielsen, F. (2016). Partition-based clustering with k-means. Introduction to HPC with MPI for Data Science, Springer International Publishing.","DOI":"10.1007\/978-3-319-21903-5_7"},{"key":"ref_4","unstructured":"Aurenhammer, F., and Klein, R. (1996). Voronoi Diagrams, Fernuniv., Fachbereich Informatik."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Koivistoinen, H., Ruuska, M., and Elomaa, T. (2006). A Voronoi diagram approach to autonomous clustering. International Conference on Discovery Science, Springer.","DOI":"10.1007\/11893318_17"},{"key":"ref_6","unstructured":"MacQueen, J. (1967). Some methods for classification and analysis of multivariate observations. Proceedings of the 5th Berkeley Symposium on Mathematical Statistics and Probability, University of California."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"129","DOI":"10.1109\/TIT.1982.1056489","article-title":"Least squares quantization in PCM","volume":"28","author":"Lloyd","year":"1982","journal-title":"IEEE Trans. Inf. Theory"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"651","DOI":"10.1016\/j.patrec.2009.09.011","article-title":"Data clustering: 50 years beyond k-means","volume":"31","author":"Jain","year":"2010","journal-title":"Pattern Recognit. Lett."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"200","DOI":"10.1016\/j.eswa.2012.07.021","article-title":"A comparative study of efficient initialization methods for the k-means clustering algorithm","volume":"40","author":"Celebi","year":"2013","journal-title":"Expert Syst. Appl."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"4743","DOI":"10.1007\/s10489-018-1238-7","article-title":"K-means properties on six clustering benchmark datasets","volume":"48","author":"Sieranoja","year":"2018","journal-title":"Appl. Intell."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"95","DOI":"10.1016\/j.patcog.2019.04.014","article-title":"How much can k-means be improved by using better initialization and repeats?","volume":"93","author":"Sieranoja","year":"2019","journal-title":"Pattern Recognit."},{"key":"ref_12","first-page":"1","article-title":"Efficiency of random swap algorithm","volume":"5","year":"2018","journal-title":"J. Big Data"},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"102712","DOI":"10.1016\/j.simpat.2022.102712","article-title":"Parallel Random Swap: An efficient and reliable clustering algorithm in Java","volume":"124","author":"Nigro","year":"2023","journal-title":"Simul. Model. Pract. Theory"},{"key":"ref_14","unstructured":"Hartigan, J.A. (1975). Clustering Algorithms, John Wiley & Sons, Inc."},{"key":"ref_15","first-page":"100","article-title":"Algorithm AS 136: A K-Means clustering algorithm","volume":"28","author":"Hartigan","year":"1979","journal-title":"J. R. Stat. Soc. Ser. C (Appl. Stat.)"},{"key":"ref_16","unstructured":"Telgarsky, M., and Vattani, A. Hartigan\u2019s method: K-Means clustering without voronoi. Proceedings of the 13th International Conference on Artificial Intelligence and Statistics, Sardinia, Italy, 13\u201315 May 2010, PMLR. JMLR Workshop and Conference Proceedings."},{"key":"ref_17","unstructured":"Slonim, N., Aharoni, E., and Crammer, K. (2013, January 3\u20139). Hartigan\u2019s K-means vs. Lloyd\u2019s K means\u2014Is it time for a change?. Proceedings of the 23rd International Joint Conference on Artificial Intelligence (IJCAI), Beijing, China."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"1975","DOI":"10.1007\/s10994-021-06021-7","article-title":"An empirical comparison between stochastic and deterministic centroid initialization for K-Means variations","volume":"110","author":"Vouros","year":"2021","journal-title":"Mach. Learn."},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Nigro, L. (2022). Parallel K-Means algorithms in Java. Algorithms, 15.","DOI":"10.3390\/a15040117"},{"key":"ref_20","doi-asserted-by":"crossref","first-page":"991","DOI":"10.1109\/TEVC.2022.3144134","article-title":"Recombinator-k-means: An evolutionary algorithm that exploits k-means++ for recombination","volume":"26","author":"Baldassi","year":"2022","journal-title":"IEEE Trans. Evol. Comput."},{"key":"ref_21","unstructured":"Baldassi, C. (2022). Systematically and efficiently improving K-Means initialization by pairwise-nearest-neighbor smoothing. arXiv."},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Nigro, L., and Cicirelli, F. (2023). Improving clustering accuracy of K-Means and Random Swap by an evolutionary technique based on careful seeding. Algorithms, 16.","DOI":"10.3390\/a16120572"},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Nigro, L., Cicirelli, F., and Pupo, F. (2026). Genetic Elitist Approach and Density Peaks to Improve K-Means Clustering. Algorithms, 19.","DOI":"10.3390\/a19020131"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"61","DOI":"10.1016\/S0167-8655(99)00133-6","article-title":"Genetic algorithm with deterministic crossover for vector quantization","volume":"21","year":"2000","journal-title":"Pattern Recognit. Lett."},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Nigro, L., and Cicirelli, F. (2024). Fast clustering convergence by genetic algorithm. International Conference on WorldS4, Springer Nature.","DOI":"10.1007\/978-981-97-9324-2_27"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"1492","DOI":"10.1126\/science.1242072","article-title":"Clustering by fast search and find of density peaks","volume":"344","author":"Rodriguez","year":"2014","journal-title":"Science"},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"551","DOI":"10.1016\/j.patrec.2019.10.019","article-title":"Fast and general density peaks clustering","volume":"128","author":"Sieranoja","year":"2019","journal-title":"Pattern Recognit. Lett."},{"key":"ref_28","doi-asserted-by":"crossref","unstructured":"Nigro, L., and Cicirelli, F. (2025). ParDP: A parallel density peaks-based clustering algorithm. Mathematics, 13.","DOI":"10.3390\/math13081285"},{"key":"ref_29","unstructured":"Nigro, L., and Cicirelli, F. (2026). Evolutionary Hartigan-Wong clustering algorithm. Proceedings of the 10th International Conference WorldS4, London, UK, 28\u201330 July 2026, Springer."},{"key":"ref_30","unstructured":"Urma, R.G., Fusco, M., and Mycroft, A. (2019). Modern Java in Action, Simon Schuster."},{"key":"ref_31","unstructured":"Subramaniam, V. (2023). Functional Programming in Java: Harness the Power of Streams and Lambda Expressions, The Pragmatic Programmers LLC."},{"key":"ref_32","unstructured":"Arthur, D., and Vassilvitskii, S. (2007). k-means++: The advantages of careful seeding. Proceedings of the 18th Annual ACM-SIAM Symposium on Discrete Algorithms, Society for Industrial and Applied Mathematics."},{"key":"ref_33","unstructured":"Bradley, P.S., and Fayyad, U.M. (1998, January 24\u201327). Refining initial points for k-means clustering. Proceedings of the Fifteenth International Conference on Machine Learning, Madison, WI, USA."},{"key":"ref_34","first-page":"104","article-title":"Fast implementation of the optimal PNN method","volume":"Volume 3","author":"Kaukoranta","year":"1998","journal-title":"Proceedings of the 1998 International Conference on Image Processing. ICIP98 (Cat. No. 98CB36269)"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"2173","DOI":"10.1109\/TKDE.2016.2551240","article-title":"Set matching measures for external cluster validity","volume":"28","author":"Rezaei","year":"2016","journal-title":"IEEE Trans. Know. Data Eng."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"3034","DOI":"10.1016\/j.patcog.2014.03.017","article-title":"Centroid index: Cluster level similarity measure","volume":"47","author":"Rezaei","year":"2014","journal-title":"Pattern Recognit."},{"key":"ref_37","first-page":"285","article-title":"Generalized centroid index to different clustering models","volume":"Volume 10029","author":"Rezaei","year":"2016","journal-title":"Proceedings of the Joint IAPR International Workshop on Structural, Syntactic, and Statistical Pattern Recognition (S+SSPR 2016)"},{"key":"ref_38","doi-asserted-by":"crossref","first-page":"24","DOI":"10.3934\/aci.2024003","article-title":"Clustering accuracy","volume":"4","author":"Franti","year":"2024","journal-title":"Appl. Comput. Intell."},{"key":"ref_39","doi-asserted-by":"crossref","unstructured":"Nigro, L., and Fr\u00e4nti, P. (2023). Two medoid-based algorithms for clustering Sets. Algorithms, 16.","DOI":"10.3390\/a16070349"},{"key":"ref_40","unstructured":"Fr\u00e4nti, P. (2026, May 01). Benchmark Datasets Repository. Available online: http:\/\/cs.uef.fi\/sipu\/datasets\/."},{"key":"ref_41","doi-asserted-by":"crossref","first-page":"3433","DOI":"10.1109\/TKDE.2022.3155450","article-title":"An effective and efficient algorithm for K-means clustering with new formulation","volume":"35","author":"Nie","year":"2023","journal-title":"IEEE Trans. Knowl. Data Eng."},{"key":"ref_42","unstructured":"(2026, May 01). UCI Machine Learning Repository. Available online: http:\/\/archive.ics.uci.edu\/ml."},{"key":"ref_43","first-page":"1","article-title":"A dendrite method for cluster analysis","volume":"3","author":"Harabasz","year":"1974","journal-title":"Commun. Stat."}],"container-title":["Computers"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/6\/394\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,26]],"date-time":"2026-06-26T05:32:50Z","timestamp":1782451970000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2073-431X\/15\/6\/394"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,19]]},"references-count":43,"journal-issue":{"issue":"6","published-online":{"date-parts":[[2026,6]]}},"alternative-id":["computers15060394"],"URL":"https:\/\/doi.org\/10.3390\/computers15060394","relation":{},"ISSN":["2073-431X"],"issn-type":[{"value":"2073-431X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,19]]}}}