<?xml version="1.0" encoding="UTF-8"?>
<article xmlns:xlink="http://www.w3.org/1999/xlink">
<front><article-meta>
<title-group><article-title>Metaversalize</article-title></title-group>
</article-meta></front>
<body>
<sec><title>AI ² in</title><p>Shikhar Srivastava * School of Computer Science Engineering, KIIT University, Bhubaneshwar, India; 2229160@kiit.ac.in . Received: 29 June 2023 Srivastava , S h . ( 2025 ). AI ? Revised: 25 November 2023 . Metaversalize , 1 ( 1 ), 36 - 44 . Accepted: 05 January 2024</p>
</sec>
<sec><title>Abstract</title><p>As urban areas expand, the need for secure, efficient, and eco - friendly urban solutions becomes more pressing. Smart cities tackle these issues by utilizing the Internet of Things (IoT) to link physical infrastructure with advanced digital systems. This sy nergy improves the management of urban resources and greatly enhances the quality of life for residents. A key element in this advancement is the function of Artificial Intelligence (AI) in refining routing methods within IoT networks, allowing cities to a dapt effectively to changing conditions. This paper examines the crucial elements involved in designing smart cities, stressing the significance of AI - driven routing techniques in IoT networks.</p>
<p>We introduce a novel AI - IoT framework that prioritizes real - ti me monitoring and traffic management. By implementing IoT sensors throughout urban environments ³ on highways, bridges, and energy systems ³ the framework collects and analyzes real - time data to enhance vehicle routing. This optimization alleviates congestion, reduces fuel usage, and lessens emissions, supporting broader urban sustainability efforts. Our thorough simulations and case studies across various urban contexts reveal notable enhancements in traffic flow and environmental effects.</p>
<p>Furthermore, we expl ore the role of Unmanned Aerial Vehicles (UAVs) within smart city infrastructure. We create a multi - objective routing strategy that produces efficient, non - dominated solutions by optimizing drone trajectories in IoT networks while addressing obstacles and restricted zones. These UAV routes are evaluated using advanced visualization tools, which assist in reconciling competing goals and ensuring smooth integration into urban environments. This study offers valuable perspectives for policymakers, urban planne rs, and transportation officials. It underscores the scalability and cost - effectiveness of AI - enhanced routing solutions that can improve connectivity and sustainability in smart cities.</p>
</sec>
<sec><title>Keywords:</title><p>Smart cities, Artificial intelligence, Internet of things, Routing mechanisms, Unmanned aerial vehicles .</p>
</sec>
<sec><title>1 Introduction</title><p>Cities today are complex systems characterized by vast numbers of interconnected citizens, transportation networks, communication systems, and various services and businesses aimed at improving urban lifestyles. The ongoing influx of people into urban area s places significant pressure on city governments to provide  Corresponding Author: 2229160@kiit.ac.in https://doi.org/10.22105/metaverse.v1i1.59 Licensee System Analytics . This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0).</p>
<p> Srivastava | Metaverse . 1 ( 1 ) ( 2024 ) 36 - 4 4 essential services for daily life. This excess population and rapid urbanization present numerous challenges, including socio - economic, technical, and organizational issues and risks to urban areas&apos; environmental and economic sustainability. Many modern ci ties grappling with rapid urbanization have inadvertently generated pollution, traffic congestion, and socio - economic inequality, further complicating the urban landscape.</p>
<p>In recent years, many individuals have migrated to urban areas. Projections indicate that by 2030, 60% of the global population will reside in urban settings. This escalating urbanization has prompted the introduction of various smart applications designed to enhance urban living, thereby contributing to the development of [1 ² 4] . The smart city concept entails the intelligent management of vital components such as transportation systems, medical services, utility services, residential areas, agriculture, and environmental sustainability. By leveraging advanced technologies, smart cities aim to create efficient, livable, and sustainable urban environments that cater to the needs of their residents.</p>
<p>To achieve these goals, smart cities require diverse telecommunication and wireless infrastructures to deliver services effectively and connect millions of devices. Machine - to - Machine (M2M) communication, network virtualization, wireless sensor networks, and gateways are essential for fostering this connectivity. Furthermore, integrating Artificial Intelligence (AI) and the Internet of Things (IoT) is pivotal in optimizing urban managem ent [5 ² 7] . These technologies facilitate real - time monitoring and data - driven decision - making, shifting the paradigm from traditional, labor - intensive infrastructure management methods to intelligent, automated solutions.</p>
<p>AI, in particular, has emerged as a significant force in transportation engineering, especially in predicting and managing traffic congestion. Traffic congestion not only diminishes the efficiency of urban mobility but also exacerbates pollution levels and hampers economic productivity. AI&apos;s capacity to process vast amounts of real - time data positions it as a powerful tool for enhancing transportation efficiency and optimizing vehicle routing in urban settings. By harnessing AI&apos;s potential, urban transporta tion systems can adapt dynamically to changing conditions, minimizing travel times and mitigating congestion - related issues.</p>
<p>Moreover, Unmanned Aerial Vehicles (UAVs) have gained traction as an innovative solution in urban logistics [8 ] , [ 9] . While UAVs were initially associated with recreational and commercial uses, their application has expanded to include freight transport and delivery services. E - commerce growth has further fueled interest in UAVs, allowing for the efficient movement of g oods, especially in congested or remote areas.</p>
<p>This introduction lays the groundwork for a comprehensive examination of how AI - mechanisms can enhance IoT networks in smart cities. By integrating AI, IoT, and UAV technologies, urban planners can develop smarter, more resilient urban envi ronments that effectively address the challenges posed by rapid urbanization and enhance residents&apos; overall quality of life.</p>
</sec>
<sec><title>2 Literature Review</title><p>Integrating AI with the IoT has become pivotal in advancing smart city initiatives. Recent studies have highlighted the effectiveness of AI - driven routing algorithms in optimizing traffic management and enhancing urban mobility. For instance, Tao et al. demonstrated [10] that machine learning algorithms can analyze real - time traffic data to predict congestion and dynamically adjust routes, reducing travel times by up to 30%.</p>
<p>Similarly, Kong et al. explored [11] the application of deep reinforcement learning in vehicle routing, showing significant improvements in energy efficiency and reduced emissions. Furthermore, Alahi et al. [12] work emphasizes the role of AI in integrating various IoT devices within smart city infrastructure. Their research suggests that AI - powered systems can seamlessly manage data from multiple sources ³ such as sensors and cameras ³ to create a holistic view of ur ban transportation networks.</p>
<p>This capability not only aids in optimizing traffic flow but also contributes to the overall sustainability of urban environments. Despite these advancements, challenges remain, particularly in data privacy and security concerns associated with IoT networks. Future research must address these issues to fully realize AI&apos;s potential to enhance smart AI ²  city functionalities. Overall, the intersection of AI and IoT presents promising opportunities for developing efficient routing mechanisms that can significantly improve the quality of urban life.</p>
</sec>
<sec><title>2.1 Route Optimization Algorithms</title><p>2.1.1 |A* alg orithm The A* algorithm is a popular heuristic pathfinding and graph traversal search method. Combining elements of Dijkstra&apos;s algorithm (for finding the shortest path) with a heuristic estimate (like straight - line distance to the target), A* efficiently navigate s complex networks [13] . The algorithm keeps track of the nodes it has visited, estimating the total cost to reach the goal from each node. Because it evaluates actual movement cost and an optimistic &quot;guess&quot; at future cost, A* is effective in applications where quick, efficient p aths are needed ³ such as in IoT networks that adapt to dynamic urban traffic.</p>
<p>Algorithm 1. A* function reconstruct_path(cameFrom, current) total _path := { current } while current in cameFrom.Keys: current := cameFrom[current] total_path.prepend(current) return total_path function A_Star( start, goal, h) openSet := {start} cameFrom := an empty map gScore := map with default value of Infinity gScore[start] := 0 fScore := map with default value of Infinity fScore[start] := h(start)</p>
<p>while openSet is not empty current := the node in openSet having the lowest fScore[] value if current = goal return reconstruct_path(cameFrom, current) openSet.Remove(current) for each neighbor of current tentative_gScore := gScore[current] + d(current, neighbor) if tentative_gScore &lt; gScore[neighbor] cameFrom[neighbor] := current gScore[neighbor] := tentative_gScore fScore[neighbor] := tentative_gScore + h(neighbor)</p>
<p>if neighbor not in openSet openSet.add(neighbor)  Srivastava | Metaverse . 1 ( 1 ) ( 2024 ) 36 - 4 4 return failure 2.1.2|Dijkstra&apos;s algorithm Dijkstra&apos;s algorithm finds the shortest path between nodes in a graph by systematically exploring nodes starting from an initial source [14] By incrementally calculating the minimum distance to each node and updating routes to reflect this, Dijkstra&apos;s algorithm is particularly suited for finding reliable paths in networks with fixed routes and predictable traffic. While computationally intensi ve in larger networks, it&apos;s a robust choice for scenarios where real - time data is unnecessary. However, accurate, efficient routing is essential ³ like in municipal utility management or preplanned delivery routes.</p>
<p>Algorithm 2. Dijkstra&apos;s algorithm 1. Initialize the distance to the starting node as 0 and all other nodes as infinity. 2. Create a set to track visited nodes. 3. Set the current node to the starting node. 4. While there are unvisited nodes: a) For each unvisited neighbor of the current node: i) Calculate the tentative distance. ii) If the tentative distance is less than the known distance, update the distance.</p>
<p>b) Mark the current node as visited. c) Select the unvisited node with the smallest distance and make it the current node. 5. Repeat until all nodes are visited or the smallest distance is infinity. Fig. 1. Dijkstra&apos;s algorithm flowchart . 2.1.3|Genetic algorithms *HQHWLFDOJRULWKPVGUDZLQVSLUDWLRQIURPELRORJLFDOHYROXWLRQWRILQGRSWLPL]HGVROXWLRQVE\´HYROYLQJµD SRSXODWLRQ RI SRVVLEOH VROXWLRQV 7KH SURFHVV LQYROYHV VHOHFWLRQ FURVVRYHU DQG PXWDWLRQ RI ´JHQRPHVµ FDQGLGDWH VROXWLRQV  EDVHG RQ WKHLU ´ILWQHVVµ (quality of the solution). Over successive generations, the algorithm converges on high - quality solutions for route optimization problems. GAs are particularly useful AI ²  for large, complex networks with numerous variables, such as IoT - based delivery networks, where traditional deterministic approaches are less practical.</p>
<p>Algorithm 3. Genetic algorithms 1. Initialize a random population of routes (chromosomes). 2. Evaluate the fitness of each route. 3. While the termination condition is not met: a) Select individuals for mating based on fitness. b) Perform crossover to create new offspring. c) Mutate the offspring. d) Evaluate the fitness of the new generation. e) Replace the old population with the new generation.</p>
<p>4. Return the best solution found. Fig. 2. Flowchart of genetic algorithms . Genetic Algorithms are particularly effective in solving optimization problems that involve a large search space, where traditional methods might struggle. In the context of smart cities, GAs can help optimize routes for delivery vehicles, public transport , and emergency services by balancing various factors such as distance, traffic congestion, and time constraints. By iteratively refining routes based on the principles of natural selection, cities can improve transportation efficiency and reduce operation al costs.</p>
<p>2.1.4|Particle swarm optimization Particle Swarm Optimization (PSO) is a metaheuristic approach inspired by the collective movement of flocks of birds or fish [15] ,Q362LQGLYLGXDO´SDUWLFOHVµPRYHDURXQGWKHVHDUFKVSDFHLQIOXHQFHGE\WKHLURZQ best positions and the best - NQRZQSRVLWLRQVRIRWKHUSDUWLFOHV7KLV´VZDUPLQJµEHKDYLRUHQDEOHV362WR converge on optimal routes, especially when parameters fluctuate quickly. PSO is well - suited for IoT networks where data points like traffic volume and congestion constantly shift, such as in smart city transportation systems.</p>
<p>Algorithm 4. Particle swarm optimization 1. Initialize a swarm of particles with random positions and velocities.  Srivastava | Metaverse . 1 ( 1 ) ( 2024 ) 36 - 4 4 2. Evaluate the fitness of each particle. 3. While the termination condition is not met: a) Update personal best and global best for each particle. b) Update the velocity and position of each particle using the equations. c) Evaluate the fitness of the new positions.</p>
<p>4. Return the best solution found. Fig . 3. Flow chart of particle swarm algorithm . 2.1.5|Reinforcement learning Reinforcement Learning involves training an agent to make decisions by rewarding desirable actions and penalizing undesirable ones [15] . Over time, the agent learns to maximize its cumulative reward by choosing routes that minimize travel time, fuel consumption, or other costs. RL is highly adaptive, making it ideal for environments where conditions vary continuously, as seen in IoT - enabl ed traffic systems. By constantly updating its routing strategy based on real - time data, RL can respond dynamically to unexpected roadblocks, congestion, or accidents, offering a practical solution for complex urban mobility.</p>
<p>Algorithm 5. Reinforcement learning 1. Initialize the Q - table for states and actions. 2. For each episode: a) Reset the environment to a random state. b) While the episode is not done: L &amp;KRRVHDQDFWLRQEDVHGRQWKHFXUUHQWSROLF\ HJ? - greedy). ii) Take action and observe the new state and reward. iii) Update the Q - value using the learning rule: 4 VD ?4 VD ?&gt;U? PD[4 V D  - Q(s, a)] .</p>
<p>AI ²  iv) Update the current state to the new state. 3. Return the learned policy. Fig. 4. Reinforcement learning flowchart .</p>
</sec>
<sec><title>3 Challenges Associated with Route</title><p>Addressing the challenges requires innovations in data processing, energy - efficient algorithm design, and cybersecurity measures, making route optimization in smart cities an evolving area of research and application. The various challenges are mentioned b elow</p>
</sec>
<sec><title>3.1 Dynamic Traffic Conditions</title><p>Traffic congestion, accidents, and sudden road closures can significantly impact route optimization. Real - time updates are essential, but accounting for constant fluctuations in traffic flow remains challenging. Smart city IoT networks aim to provide real - time traffic data; however, integrating and processing this massive amount of information in real - time for optimal decision - making remains complex.</p>
</sec>
<sec><title>3.2 Scalability with High Traffic Volumes</title><p>As urban populations grow, the number of vehicles and users in a city&apos;s transportation network increases, resulting in scalability challenges for route optimization algorithms. Traditional algorithms may become inefficient, leading to delays in routing dec isions. AI - based algorithms often require significant computational resources, which may limit scalability, especially in IoT networks with multiple connected devices and sensors.</p>
<p> Srivastava | Metaverse . 1 ( 1 ) ( 2024 ) 36 - 4 4</p>
</sec>
<sec><title>3.3 Data Accuracy and Completeness</title><p>Route optimization relies heavily on data accuracy from GPS systems, traffic sensors, and other data sources. Inaccuracies or data gaps (e.g., due to sensor malfunctions or network issues) can lead to suboptimal routing decisions. Ensuring real - time and re liable data availability in IoT networks is challenging, as intermittent connectivity issues can affect the continuous flow of information needed for optimization.</p>
</sec>
<sec><title>3.4 Energy and Resource Constraints</title><p>IoT devices used in route optimization often operate under power constraints, especially if they are battery - powered (e.g., sensors on vehicles or infrastructure). Constantly relaying data and performing complex computations can quickly drain these resourc es. Route optimization techniques need to balance the energy demands with the quality of service, which is especially critical in IoT - based smart city implementations where resource efficiency is prioritized.</p>
</sec>
<sec><title>4 Conclusion</title><p>As cities become more populated and urban demands intensify, the need for intelligent, adaptable solutions has grown substantially. This paper examined how AI - powered route optimization techniques enhance urban mobility, reduce congestion, and promote sust ainable infrastructure in smart cities. With the integration of IoT networks, smart cities can now rely on real - time data from millions of interconnected devices to make precise and efficient routing decisions. Techniques such as A*, Dijkstra&apos;s algorithm, genetic algorithms, PSO , and reinforcement learning are pioneering methods in computational efficiency and vital tools in building responsive and resilient urban transport systems.</p>
<p>Each algorithm explored in this study offers unique advantages, from heuristic simplicity to the adaptive strength of machine learning approaches, meeting urban infrastructure&apos;s diverse and dynamic requirements. Challenges remain, particularly around scala bility, computational load, and adaptability to changing environments. However, as AI and IoT technologies advance, these obstacles will likely be addressed through enhanced algorithms and new data - handling capabilities.</p>
<p>In conclusion, leveraging AI - driven routing mechanisms in IoT - enabled smart cities optimizes transportation and contributes to overall urban sustainability. These technologies mark a significant step forward in modern urban planning by alleviating congesti on, reducing energy consumption, and enabling faster, more reliable movement within cities. Future research should focus on refining these techniques, addressing current limitations, and exploring innovative applications to align with the vision of sustain able, intelligent, and citizen - centered smart cities.</p>
</sec>
<sec><title>Funding</title><p>This research received no external funding.</p>
</sec>
<sec><title>Data Availability</title><p>The data used and analyzed during the current study are available from the corresponding author upon reasonable request.</p>
</sec>
<sec><title>References</title><p>[1] Javed, A. R., Shahzad, F., ur Rehman, S., Zikria, Y. Bin, Razzak, I., Jalil, Z., &amp; Xu, G. (2022). Future smart cities: Requirements , emerging technologies, applications, challenges, and future aspects. Cities , 129 , 103794. https://doi.org/10.1016/j.cities.2022.103794 [2] Rehan, H. (2023). Internet of th ings (IoT) in smart cities: Enhancing urban living through technology. Journal of engineering and techn ology , 5 (1), 1 - 16 .</p>
<p>https://B2n.ir/nt9397 AI ²  [3] Mohapatra, H. (2021). Smart city with wireless sensor network .  Independently published . https://www.amazon.com/Smart - City - Wireless - Sensor - Network/dp/B09P47J4XB [4] Mohapatra, H., Rath, A. K., Balajee, R. M., &amp; Devi, H. S. (2022). Comparative case study on smart city versus digital city. In Handbook of research of internet of things and cyber - physical systems (pp. 51 ?</p>
<p>78). Apple Academic Press. https://b2n.ir/sq3735 [5] Van Hoang, T. (2024). Impact of integrated artificial intelligence and internet of things technologies on smart city transformation. Journal of technical education science , 19 (Special Issue 01), 64 - 73 . https://doi.org/10.54644/jte.2024.1532 [6] Anjum, K. N., Raju, M. A. H., Saikat, M. H., Avi, S. P., Islam, K. T., Hoque, R., &amp; Imam, T. (2024). Exploring th e multifaceted impact of artificial intelligence and the internet of things on smart city ma nagement.</p>
<p>Journal of computer science and technology studies , 6 (1), 241 ? 248. https://doi.org/10.32996/jcsts.2024.6.1.28 [7] Wang, K., Zhao, Y., Gangadhari, R. K., &amp; Li, Z. (2021). Analyzing the adoption challenges of the internet of things ( I o T ) and artificial intelligence ( AI ) for smart cities in china. Sustainability , 13 (19), 10983. https://doi.org/10.3390/su131910983 [8] Dinh, Q. M. (2024). Utilizing unmanned aerial vehicles in commerce and managing supply chains - a literature review . https://www.theseus.fi/handle/10024/863437 [9] Dai, M., Huang, N., Wu, Y., Gao, J., &amp; Su, Z. (2022). Unmanned - aerial - vehicle - assisted wireless networks: Advancements, challenges, and solutions.</p>
<p>IEEE internet of things journal , 10 (5), 4117 ? 4147. https://doi.org/10.1109/JIOT.2022.3230786 [10] Tao, X., Cheng, L., Zhang, R., Chan, W. K., Chao, H., &amp; Qin, J. (2023). Towards green innovation in smart cities: Leveraging traffic flow prediction with machine learning algorithms for sustainable transportation systems. Sustainability , 16 (1), 1 ? 22. https://doi.org/10.3390/su16010251 [11] Kong, X., Duan, G., Hou, M., Shen, G., Wang, H., Yan, X., &amp; Collotta, M. (2022). Deep reinforcement learning - based energy - efficient edge computing for internet of vehicles.</p>
<p>IEEE transactions on industrial informatics , 18 (9), 6308 ? 6316. https://doi.org/10.1109/TII.2022.3155162 [12] Alahi, M. E. E., Sukkuea, A., Tina, F. W., Nag, A., Kurdthongmee, W., Suwannarat, K., &amp; Mukhopadhyay, S. C. (2023). Integration of IoT - enabled technologies and artificial intelligence (AI) for smart city scenario: Recent advancements and future trends. Sensors , 23 (11), 1 ? 36. https://doi.org/10.3390/s23115206 [13] Schoener, E. R. (2024).</p>
<p>A comprehensive review and practical applications of pathfinding algorithms . https://louis.uah .edu/cgi/viewcontent.cgi?article=1913&amp;context=honors - capstones [14] Zhu, D. D., &amp; Sun, J. Q. (2021). A new algorithm based on Dijkstra for vehicle path planning considering intersection attribute. IEEE access , 9 , 19761 ? 19775. https://doi.org/10.1109/ACCESS.2021.3053169 [15] Abualigah, L., Sheikhan, A., M. Ikotun, A., Zitar, R. A., Alsoud, A. R., Al - ?? ?????</p>
<p>&amp; Jia, H. (2024). Particle swarm optimization algorithm: Review and applications. Metaheuristic optimization algorithms: optimizers, analysis, and applications , 1 ? 14. https://doi.org/10.1016/B978 - 0 - 443 - 13925 - 3.00019 - 4</p>
</sec>
<sec><title>Figures</title>
<fig id="fig1"><label>Figure 1</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/59/fig-1-d9b4bf0ae34b.png"/></fig>
<fig id="fig2"><label>Figure 2</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/59/fig-2-75a7d1c4b4cd.png"/></fig>
<fig id="fig3"><label>Figure 3</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/59/fig-3-fa95710e4043.jpg"/></fig>
<fig id="fig4"><label>Figure 4</label><caption><p>Automatically extracted from the source PDF file; the original caption text could not be recovered.</p></caption><graphic xlink:href="https://meta.reapress.com/public/journals/1/jats-figures/59/fig-4-506f2d4e5087.png"/></fig>
</sec>
</body>
</article>