A Hybrid Approach for Optimal Cluster Head Selection in VANETs with Various Topologies Using Fuzzy Logic, Moth Flame Optimization, and Machine Learning | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article A Hybrid Approach for Optimal Cluster Head Selection in VANETs with Various Topologies Using Fuzzy Logic, Moth Flame Optimization, and Machine Learning Mosayeb Soleymaninasab, Ehsan Kharati, Sara Taghipour, Mona sharifnezhad This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7852002/v1 This work is licensed under a CC BY 4.0 License Status: Posted Version 1 posted You are reading this latest preprint version Abstract Nowadays, the Vehicular Ad hoc Network (VANET) technology is used to improve the quality of the transportation systems and road safety between Vehicles (Vs). The main routing challenges in VANETs include their dynamic and unstable structure, energy limitations of the Vs, and the use of intermediate Vs. Clustering is used to balance the overhead, increase lifetime, and enhance data collection in VANETs. Finding the optimal Cluster Head (CH) is an NP-hard problem, and heuristic and metaheuristic methods are often employed to solve it. In this paper, we propose a method for routing and optimal CH selection among all. In each cycle and across all VANETs with different topologies, various Vs features are first collected, and then using a heuristic method, the Fuzzy Inference System (FIS), the Optimization Fitness Function ( OFF ) value of all Vs is calculated to determine the optimal CHs. Additionally, the metaheuristic Moth Flame Optimization (MFO) algorithm is used to tune and set the coefficients and rules of the FIS. Finally, to train and test VANET behavior patterns across various topologies, Decision Trees (DTs) based on the Random Forest (RF) ensemble Machine Learning (ML) method are utilized. Simulation results show that the proposed method outperforms clustering-based routing protocols such as LEACH, AODV, DSRC, CBRP, and GPSR in VANETs in terms of the number of alive and dead Vs, average network lifetime, routing overhead, end-to-end delay, throughput, packet delivery rate, and execution time. VANETs Clustering CH FIS MFO RF ML OFF DT Full Text Additional Declarations No competing interests reported. Cite Share Download PDF Status: Posted Version 1 posted You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7852002","acceptedTermsAndConditions":true,"allowDirectSubmit":true,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":545613193,"identity":"ae93a85c-cf1f-440f-bbab-6e912a0b6d63","order_by":0,"name":"Mosayeb Soleymaninasab","email":"","orcid":"","institution":"Islamic Azad University, Arak","correspondingAuthor":false,"prefix":"","firstName":"Mosayeb","middleName":"","lastName":"Soleymaninasab","suffix":""},{"id":545613194,"identity":"e0bd766a-561c-49e5-a386-bbb65cbc6642","order_by":1,"name":"Ehsan Kharati","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAAA3ElEQVRIie3SMQrCMBSA4Rce1CWla0TBK1RcLb1KSi4gCE4OhUK6VF0zeIgeIRJwdHYSwdVBF8FBsdbNoambQ/4pBD7yIA/A5frHGCDWB0StP1ckbUcoevxXAjRsN1fQS3E0mR8GcYde9V3CIEhRXppId61RqO10WKBfbhYShkqTTDWRcM/RUI+TN9G+BFICyRoHi2vy5HGB9Lh5SIitJGQchS95UhEw1SuJlbB9ko38JReF8ULT3zGhjIUESpgevfEoX5nT9TwbR6s8PzWS749j1RpYgMvlcrnsvQARwkEFUUkBbgAAAABJRU5ErkJggg==","orcid":"","institution":"Islamic Azad University, Arak","correspondingAuthor":true,"prefix":"","firstName":"Ehsan","middleName":"","lastName":"Kharati","suffix":""},{"id":545613195,"identity":"11ae5b7f-2343-47fa-821f-1d53fc0bcba6","order_by":2,"name":"Sara Taghipour","email":"","orcid":"","institution":"Islamic Azad University, Arak","correspondingAuthor":false,"prefix":"","firstName":"Sara","middleName":"","lastName":"Taghipour","suffix":""},{"id":545613196,"identity":"78340901-ba5c-4b62-b5af-073f68aca91b","order_by":3,"name":"Mona sharifnezhad","email":"","orcid":"","institution":"Islamic Azad University","correspondingAuthor":false,"prefix":"","firstName":"Mona","middleName":"","lastName":"sharifnezhad","suffix":""}],"badges":[],"createdAt":"2025-10-13 19:38:22","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7852002/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7852002/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":96041140,"identity":"454a0764-0f98-4cea-b117-710769e0eb4f","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":3649914,"visible":true,"origin":"","legend":"","description":"","filename":"enn.docx","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/f99e89a5b826d274ff14a804.docx"},{"id":96041137,"identity":"2f225523-65d8-44b5-9d94-a311a1e9a2fa","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":6502,"visible":true,"origin":"","legend":"","description":"","filename":"31717de710824f3ca7d29072e55cad5a.json","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/54231f1a2b283346dcf1a1da.json"},{"id":96041139,"identity":"aca01d43-bc4a-4964-ba7e-c88ede44bd46","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":155284,"visible":true,"origin":"","legend":"","description":"","filename":"31717de710824f3ca7d29072e55cad5a1enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/6a381e45aebf887f0a0325a3.xml"},{"id":96041141,"identity":"ec4ff1cf-a510-412b-b3e0-0144af02c268","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":401796,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage1.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/d91760249c822d4cf75ee835.emf"},{"id":96041142,"identity":"9e90ba97-656e-46fb-8bd3-a77329e22e90","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"jpeg","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":449118,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage10.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/a0584b73377b51cdc2d37d3e.jpeg"},{"id":96041138,"identity":"ba1f98b8-3100-4aea-aaa3-d55160422efb","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":27164,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage11.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/01bc530a4314c412be830559.emf"},{"id":96245438,"identity":"ac94193e-10bf-4afb-b53b-9925c7f378d3","added_by":"auto","created_at":"2025-11-19 07:20:38","extension":"emf","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":93112,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage12.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/c8ff10009587964a48f2930d.emf"},{"id":96041144,"identity":"c80a504c-644a-474a-9662-cc90339fa29e","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":34396,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage13.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/7667ba3aaa7e8d503de636ef.emf"},{"id":96041148,"identity":"d122b49a-b904-494e-b8c7-352d6dca3571","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":166392,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage14.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/21224c807477649f834ce5bc.emf"},{"id":96041143,"identity":"b362f9e3-fa0a-4261-935e-0f45ad92cf85","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":73188,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage15.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/4cb14e3dcddb0a762e10e429.emf"},{"id":96041160,"identity":"86668e02-fcc2-4c69-b5d1-26c60b5b8d0f","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"emf","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":440836,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage16.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/44486065991e61f26e4dc546.emf"},{"id":96041146,"identity":"79b7fbf2-32f9-460b-876e-88b8a937a293","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"jpeg","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1225592,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage2.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/c1e14c633b2c2135e957fb5f.jpeg"},{"id":96247479,"identity":"d35bc58e-1e2a-467b-9ba4-596051c73117","added_by":"auto","created_at":"2025-11-19 07:27:30","extension":"jpeg","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":625698,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/040143cbefbb6082d36eaac7.jpeg"},{"id":96041169,"identity":"f078e99b-11be-4e21-bb1b-32a79cb33912","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"jpeg","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":210257,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage4.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/b017346c3d0c8e9dca51da84.jpeg"},{"id":96247399,"identity":"347c4146-3b44-4d7d-8b95-ccb60a39051d","added_by":"auto","created_at":"2025-11-19 07:27:27","extension":"emf","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":191628,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage5.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/279e3a65d4d7a7807c823596.emf"},{"id":96246541,"identity":"bbca6c58-1644-461a-8197-9f74aaa5f408","added_by":"auto","created_at":"2025-11-19 07:26:12","extension":"emf","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":203840,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage6.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/c5577546575bbde4df3d32c0.emf"},{"id":96246346,"identity":"1123dc69-b878-49e5-b190-2734de2a5767","added_by":"auto","created_at":"2025-11-19 07:25:28","extension":"emf","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":174908,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage7.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/1f7fce46a71a712f085f9be7.emf"},{"id":96245502,"identity":"d21ff9fe-c6f3-43f8-96d5-7b0dc3ba5813","added_by":"auto","created_at":"2025-11-19 07:20:46","extension":"emf","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":246552,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage8.emf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/18ea0f8f37aaf4d8d8984c58.emf"},{"id":96041147,"identity":"d8418904-ea82-4e20-9f36-72f6a984204e","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"jpeg","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":438408,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage9.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/b61c0c8b14a32647b65a6a02.jpeg"},{"id":96245885,"identity":"a39998b1-061c-4305-b2dd-6b9257f30f37","added_by":"auto","created_at":"2025-11-19 07:23:24","extension":"png","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":53872,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/0033a643f36df7bbd8d95e1a.png"},{"id":96041150,"identity":"7aaab4cf-b57a-4a71-8c5b-ad162a8815e7","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":49589,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage10.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/ecd26846b93eaa7a3ccb1fa7.png"},{"id":96041161,"identity":"5b82ba1e-44f1-4cfc-8bcc-ec5d88c72c7f","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":45125,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage11.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/eb6cc6424364a886d16c62da.png"},{"id":96041152,"identity":"815c2176-124b-457c-b9bd-dba9b97c2309","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":76362,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage12.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/e1a142ccb2a3073aed95d649.png"},{"id":96041171,"identity":"9b288d43-8f3d-4e5e-860c-055869b3d148","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"png","order_by":23,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":37803,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage13.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/ae68728b82aee1e4a6df9eae.png"},{"id":96041173,"identity":"341e9e86-90b2-4235-9f35-f93db908e6ff","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"png","order_by":24,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":97295,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage14.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/ac1f65aab28992becb2938fc.png"},{"id":96041158,"identity":"2000a5ef-91b3-42d1-98c9-1cd499c09a03","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":25,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":40760,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage15.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/f465a4af69b7dcb6d4543c78.png"},{"id":96246382,"identity":"c93a9719-c803-43de-9647-3178df0f5ed3","added_by":"auto","created_at":"2025-11-19 07:25:49","extension":"png","order_by":26,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":132766,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage16.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/3ad6340481da0bfb193f49f9.png"},{"id":96041162,"identity":"7b3092e5-23ab-4610-913e-4cff727aa364","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":27,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":238125,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/c12ffaf46131f7cce1193691.png"},{"id":96041170,"identity":"20256bf0-c8a5-458f-b2ec-0054b0e876a4","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"png","order_by":28,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":93886,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/ee80d87a7ea82a36bd112848.png"},{"id":96041165,"identity":"c62f83af-7c91-447a-b0be-8a9ee60fd293","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"png","order_by":29,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":36204,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/6a110a9c1ea62c83a5e6f811.png"},{"id":96041153,"identity":"ffc834e1-7d6a-4324-9124-f63635a0e86a","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":30,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":81370,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/5723561e8d1b43be64d3fa1b.png"},{"id":96041157,"identity":"2ceec950-786d-4a0a-841e-4f42a03dc75a","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":31,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":113229,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/4cd2a7f77b3489b1ae91f861.png"},{"id":96041155,"identity":"d112bb8f-d2a1-457c-a5ad-bfbd94253f18","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":32,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":102517,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage7.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/a716401e0f83d67cbbf4a132.png"},{"id":96041164,"identity":"b590829a-ae09-4793-bb19-7c997e280e4e","added_by":"auto","created_at":"2025-11-17 04:21:21","extension":"png","order_by":33,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":119355,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage8.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/74bbd71cdf96a2e32ebd63e9.png"},{"id":96041167,"identity":"873fc4db-5252-4908-9575-28857e0958aa","added_by":"auto","created_at":"2025-11-17 04:21:22","extension":"png","order_by":34,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":50630,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage9.png","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/de4685f403621ad9acbee74a.png"},{"id":96245879,"identity":"c8606d8d-9b41-4f15-a3fd-761a0da48ec4","added_by":"auto","created_at":"2025-11-19 07:23:24","extension":"xml","order_by":35,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":153427,"visible":true,"origin":"","legend":"","description":"","filename":"31717de710824f3ca7d29072e55cad5a1structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/2d1a9cbe9a6d5b40ce03cdc6.xml"},{"id":96246117,"identity":"49733bb5-e787-44d3-83c8-3c82cba09869","added_by":"auto","created_at":"2025-11-19 07:24:43","extension":"html","order_by":36,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":170689,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1/bc8acf7c4f9f24bcf98d3ab1.html"},{"id":98421889,"identity":"69ae4924-6daa-420f-97b5-9fba49b49786","added_by":"auto","created_at":"2025-12-17 16:29:53","extension":"pdf","order_by":1,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":2676867,"visible":true,"origin":"","legend":"","description":"","filename":"enn.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7852002/v1_covered_92f4057d-9da2-45f4-930b-be0871077cea.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"A Hybrid Approach for Optimal Cluster Head Selection in VANETs with Various Topologies Using Fuzzy Logic, Moth Flame Optimization, and Machine Learning","fulltext":[],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":false,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":true,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":true,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":true,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true},"keywords":"VANETs, Clustering, CH, FIS, MFO, RF, ML, OFF, DT","lastPublishedDoi":"10.21203/rs.3.rs-7852002/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7852002/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eNowadays, the Vehicular Ad hoc Network (VANET) technology is used to improve the quality of the transportation systems and road safety between Vehicles (Vs). The main routing challenges in VANETs include their dynamic and unstable structure, energy limitations of the Vs, and the use of intermediate Vs. Clustering is used to balance the overhead, increase lifetime, and enhance data collection in VANETs. Finding the optimal Cluster Head (CH) is an NP-hard problem, and heuristic and metaheuristic methods are often employed to solve it. In this paper, we propose a method for routing and optimal CH selection among all. In each cycle and across all VANETs with different topologies, various Vs features are first collected, and then using a heuristic method, the Fuzzy Inference System (FIS), the Optimization Fitness Function (\u003cem\u003eOFF\u003c/em\u003e) value of all Vs is calculated to determine the optimal CHs. Additionally, the metaheuristic Moth Flame Optimization (MFO) algorithm is used to tune and set the coefficients and rules of the FIS. Finally, to train and test VANET behavior patterns across various topologies, Decision Trees (DTs) based on the Random Forest (RF) ensemble Machine Learning (ML) method are utilized. Simulation results show that the proposed method outperforms clustering-based routing protocols such as LEACH, AODV, DSRC, CBRP, and GPSR in VANETs in terms of the number of alive and dead Vs, average network lifetime, routing overhead, end-to-end delay, throughput, packet delivery rate, and execution time.\u003c/p\u003e","manuscriptTitle":"A Hybrid Approach for Optimal Cluster Head Selection in VANETs with Various Topologies Using Fuzzy Logic, Moth Flame Optimization, and Machine Learning","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-11-17 04:21:16","doi":"10.21203/rs.3.rs-7852002/v1","editorialEvents":[{"type":"communityComments","content":0}],"status":"published","journal":{"display":true,"email":"
[email protected]","identity":"researchsquare","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":true,"externalIdentity":"","sideBox":"","snPcode":"","submissionUrl":"/submission","title":"Research Square","twitterHandle":"researchsquare","acdcEnabled":true,"dfaEnabled":false,"editorialSystem":"","reportingPortfolio":"","inReviewEnabled":false,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"63bf10d4-af7c-4e0b-8511-30993e430b19","owner":[],"postedDate":"November 17th, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"posted","subjectAreas":[],"tags":[],"updatedAt":"2025-12-10T19:38:38+00:00","versionOfRecord":[],"versionCreatedAt":"2025-11-17 04:21:16","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7852002","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7852002","identity":"rs-7852002","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.