Abstract

Vehicular ad hoc networks (VANETs) using reliable protocols of routing have become crucial in identifying the changes to topology on a continuous basis for a large collection of vehicles. For this purpose, it becomes important to identify an optimal configuration of these protocols. There are several possible configurations that have been preventing the configuration of efficient protocols that do not make use of automatic and intelligent design tools. It can further motivate using the techniques of metaheuristics like the tools, which are well-suited to be able to solve these problems. The glowworm swarm optimization (GSO), simulated annealing (SA), and slow heat-based SA-GSO algorithms have been proposed in this work. The SA is a method of optimization, which imitates the manner in which the thermal system has been frozen down to its lowest state of energy. In the GSO, there is guidance to the rules of feasibility, where the swarm converges to its feasible regions very fast. Additionally, for overcoming any premature convergence, there is a local search strategy that is based on the SA and is used for making a search that is near to its true optimum solutions. Finally, this sluggish temperature-based SA-GSO algorithm will be employed to solve routing problems and problems of heat transfer. There is a hybrid slow heat SA-GSO algorithm with a faster speed of convergence and higher precision of computation that is more effective in solving problems of constrained engineering.

1. Introduction

The vehicular ad hoc networks (VANETs) refer to the self-configuring networks that contain a large collection of vehicles or elements in the roadside infrastructure and are connected to one another without the need to have the underlying infrastructure. Recently, technologies based on WiFi (IEEE 802.11-based) were employed to deploy these networks. The limitations of coverage occur as the network topology changes due to the elevated mobility of the vehicles. For the same reasons, without the need for an entity such as a central manager, the task of routing can be very challenging. Thus, the provision of an efficient strategy for routing is important in deploying the VANETs for increasing the quality of service (QoS) to the extent possible [1].

The VANET includes vehicles travelling in wider areas at speeds that are high enough to cause a rapid change in topology that can present a challenge to the reliable and efficient dissemination of messages. There are some more special features of the VANET: the nonuniform distribution of nodes, the lack of an administrative entity that is centralized, the topology of a fragile link, the dynamic changes to node density, the large-scale real-time delay, which is stringent, and the impact of the behaviour of drivers on the topology of the network. These features can make it very challenging to give suitable QoS service to the VANET, which is a key routing technology [2].

The VANET has three primary components: the On_Board_Units (OBU) installed in vehicles, the Road_Side_Units (RSU) installed on the roads, and wired (inter-RSU) or wireless (the OBUs to the RSU) channels. These vehicles will correspond with one another through the OBU for the exchange of traffic and information on infotainment through broadcasting their messages [3]. The routing architecture in the VANET is primarily similar to the routing architecture in networks that are connectionless. In the same way, there is a conceptual terminology for the VANET that has been elaborated vastly compared to its peers that are roughly equivalent. The routing architecture of the VANET will employ hop-by-hop connectionless open routing systems in [4]:(i)A new set of protocols of routing that permit the end systems and the intermediate systems in order to gather and further distribute information for determining routes.(ii)A base for routing information will also include information from which the routes that are between all end systems are computed based on the directory information or the routing information, which is a concept and will not exist as one single entity. The routing information base is considered as a combined (or distributed) information of the whole subsystem that is connected to routing and its relevant connectivity, which is found between the subsystem and its components.(iii)This routing algorithm employs the information contained within routing information based for getting routes among the end systems.

In the case of wired networks, the QoS will be defined using two different terms: the delay and the throughput. In the case of the VANETs, the QoS is challenging to define and can be satisfied owing to several features, like the changing VANET network topology, the scalability, the deployment of heterogeneous environments, the high density, the mobility of nodes, and the broadcasting that is delay constrained. In the VANET network, data transmitted can be real-time data like traffic messages and the streaming of both audio and video like meteorological information and e-maps. This imposes several needs for performance and maintaining the QoS for the developers of the VANETs [5]. There can be packet delay, collision, or congestion on the increase owing to the exploding of several vehicles that compete for a common allocation of the wireless medium. Both transmitting and receiving vital data within a fixed time are very critical for this network [6].

Owing to its perspective of a high level, the mobile ad hoc networks (MANET) may not always be well-suited for the VANETs. There are various other methods for tuning the parameters of routing that were introduced in order to make sure there was a high-performance level that met the specific traits of the VANETs. There are many other methods that tune the parameters of routing introduced for ensuring a high performance in its dynamic network. Most of these are considered to be the QoS to be a major need for enhancing the efficiency of routing and overcoming various problems like node density that is unpredictable. Furthermore, in order to address the traits of these dynamic scenarios, the investigation may be extended further by various areas of research, like the optimization-based multiple objectives that enhance delivery through device-to-device (D2D) communications. Most of such recent investigations were taken to be the QoS for optimizing routing and its efficiency by means of introducing the concept of optimization with techniques of particle swarm optimization (PSO) to bring down the road constraints on the performance of routing [7].

Several applications of the VANET are dependent on the protocols of routing. So, there are some more strategies for optimal routing to ensure better resource utilization for the purpose of finding configurations or parameters of the current protocols of the MANET that will be able to improve performance, which makes a difference between the network and whether or not it works. This means networks work with a high level of routing suffering from congestion to make sure there is a dependable message delivery [8]. For the purpose of this proposed work methodology, a hybrid slow heat SA-GSO is used for the VANET routing. The respite of the paper is ordered as follows: Section 2 has discussed a few works in the literature. The various techniques used and the proposed method are detailed in Section 3. The results of the experiments were discussed in Section 4 and Section 5 concludes the work.

Pagadala and Saravana Kumar [9] proposed a narrative setting up algorithm used for reliable routing. This structure and classification were able to distribute the workload on alternative routes to avoid congestion and bring down the cost of travel. This will further ensure any reliable routing with a bandwidth need that was low and manages the packets of large size thus dividing them into sections and transmitting them through alternative paths. Thus, the algorithm for routing was obtained, and this was subject to several constraints of the QoS used for secure VANET communication.

In order to maximize the capacity of transmission and keep the QoS at an application level in terms of safety, there was a scheme of optimization that was introduced by Shaikh and Hingoliwala [10] to adjust the parameters of transmission, and these are employed in the real test beds.

Zhao et al. [11] proposed the bees life algorithm (BLA) based on the bee colony optimization (BCO) algorithm, which was utilized in solving the problems of QoS-multicast routing (QoS-MRP) in the VANETs, which was an NP-Complete problem having multiple constraints. It further followed two different behaviours in their nature, and the BLA was thus applied to solving the QoS-MRP using four different objectives: cost, jitter, delay, and bandwidth. This had further been submitted under three different constraints: the maximum permissible delay, the maximum allowed jitter, and the minimum requested bandwidth.

Bitam and Mellouk [12] proposed a Cat_Swarm_Optimization (CSO)-based Geographic_Routing (GR) procedure called the CSO_GR. There was yet another fitness function, which was used for optimizing the effect of parameters on the choice of the subsequent forwarding vehicle. There was some significant improvement observed in the performance of this protocol, which was assessed through simulation. There was a significant level of improvement that was observed in the performance in connection to the normalized load of routing and the packet delivery ratio.

Kasana and Kumar [13] introduced another QoS_Aware_Routing in VANETs (QARV) where the packets had reached a destination at the time of satisfying their QoS. This was a new concept known as the terminal intersection and was used for reducing congestion and the time taken for route exploration. For the purpose of this work, the ACO and the BCO were employed to achieve results. The work further provided a comparative analysis of the parameters of the performance of the algorithms.

Kaur et al. [14] proposed another improved jumbled Frog_Leaping Algorithm_Based QoS-controlled multicast routing (ISFLABMR) to estimate an optimal multicast tree in VANETs. The proposed method minimized the transmission cost to 22%, and this was done by decreasing the multicast cluster formation at the time of multicasting by using both limited and universal optimizations. The mock-up of the proposed method showed a major rate of about 24% and 21% of middling packet latency, along with the consumption of energy that was incurred during multicast routing.

Malathi and [15] made an evaluation of the Optimized_Link_State_Routing Protocol (OLSR) in order to improve performance. The OLSR protocol performed well in networks with frequent changes in node topology. This was done by means of defining the problem of optimization wherein hybridization of the metaheuristics had been defined. This work further contributed to the idea of a combination of both the GA and the SA (hybrid GA-SA) for enhancing the recital of the technique of individual search for the predicament of optimization [16]. Simulation results showed that the tuned configurations of the OLSR and their results were comparatively consistent because of their better efficiency in QoS and communication compared to the standard, which makes them fit to be utilized in the configurations of the VANET. The comparison of GA, ACO, PSO, and GSO algorithms in terms of their benefits and drawbacks is provided in Table 1.

3. Methodology

The VANETs have major challenges to face, like fast changes to topology, a link lifetime that is low, or a large number of vehicles participating at a given time. The first two issues encouraged researchers to be able to propose the protocols of geographical routing for the VANETs making routing decisions on local information without the necessity for the construction of construct end-to-end routes [18].

The protocols of geographical routing have evolved from taking into consideration the geographical distance among nodes based on their forwarding criteria, which included some additional metrics such as direction and speed. The routing judgment for the next upcoming hop will be dependent on the subsequent forwarding hop, which was the best based on a particular parameter or metric. The option of the preeminent node can maintain its predominance in the criterion of routing among the other protocols of geographical routing. At the same time, there can be a hop-by-hop strategy of forwarding for the VANETs through the application of a family heuristic known as the “local search algorithms.” For the purpose of this work, this hybrid SA-GSO with the hybrid slow heat SA-GSO algorithm had been designed for improving results obtained using algorithms of local search in the discrete problems of optimization.

3.1. Simulated Annealing (SA)

The adaptation of SA to the protocols of VANET routing attempts to provide randomness to the process. This helps decrease the time a packet is able to approach its destination. The SA employs equation (1) for this purpose. In the event that there are neighbours that are closely related based on their contemporary node (the forwarding phase), the equation gives the probability of choosing any random node to be the forwarding hop. If not, at the time of recovery, when there is no closer node, equation (1) will be the probability of choosing a node, which is farther away compared to the current node. The primary idea was to choose a worse node compared to the current one based on the distance to avoid buffering and to take into consideration forwarding nodes [19].

These metrics for computing probability p in equation (1) are as follows:(i)The tangible distance is from the progress node to the objective node ds. When the data is transmitted, it approaches the destination, and the ds will thus decrease. This can bring down probability p.(ii) denotes the absolute value for the distances and their differences on their best forwarding contestant duly to its destination (called ) and also its current node to the destination ds. In case the is found to be high, it contributes to the reduction of probability p. The primary idea of such a numerator was to ensure that the subsequent position of the packet was by neatly choosing the one which was the closest and not very far-flung from its in progress point (i.e., the contestant that is the best will improve in distance), and this may be a good option to make a random choice and attempt other paths that were not explored [19,20] otherwise owing to the benefit of its greedy selection that denotes the selection of its best candidate (Figure 1).(iii) denotes the parameter of tuning to balance the behaviour of randomness. In case it is near zero, p will be one. Conversely, if , then .

The root equation for finding the nearest neighbours is as follows:

3.2. Glowworm Swarm Optimization (GWO) Algorithm

In GSO, the methodology will be as follows: every glowworm tends to allocate space to its objective function. They carry their luciferin and are within their respective scope of vision within their range of local decisions. The intense brightness of the glowworms is found in the location of their objective function and utility value. The position is better if the glow is brighter [17]. The glowworms will search in their neighbour set for a new local range of decisions. Furthermore, the size of its local-decision range can be influenced by the number of neighbours. The radius is decided by the density of the glowworms in the neighbourhood; if the density is less, the radius is increased; otherwise, it is reduced [16].

Every glowworm i will encode its objective function value, which is and this will be stayed at its present position within a new luciferin value Li, which will be broadcasted in its neighbourhood. There is a group of neighbours of glowworm i that contains glowworms with a higher luciferin value in the neighbourhood, and this is updated based on the formula (7) for every iteration.

The update of a local-decision radius is as follows (3):

The denotes the glowworm i’s range of local-decision, which is t + 1 iteration; rs denotes node range; nt denotes the threshold of the neighbourhood; and finally, parameter β will affect the actual rate of change in the range of neighbourhood. The actual number of glow found in a local-decision range is as follows (4):

denotes the position of the glowworm i, wherein the position is at t iteration. denotes glowworm i ‘s luciferin at iteration t. Every glowworm i will choose a new neighbour j having probability pij (t) and will duly move towards it. The movements have been based on the local information that enables the glowworms to divide into certain disjoint subgroups exhibiting a taxis-behaviour towards the colocation at the optima of the objective function [21].

There is a probability distribution for selecting the neighbour as follows (4):

The movement update is as follows (6):

The luciferin update is as follows (7):

The denotes a luciferin value for the glowworm i at iteration t, and ρ ∈(0,1) will result in showing the cumulative effectiveness for the path that is followed by glowworms within their present luciferin values, parameter γ will scale the values of fitness functions and denotes the test function value.

Every glowworm i chooses a neighbour j with probability and moves towards it. The moves are duly based on their local information and this can allow the glowworms to divide themselves into disjoint smaller group exhibiting a taxis-behaviour towards and this will ultimately colocate its multiple optima for the objective function given.

3.3. Hybrid SA-GSO Algorithm

The SA [22] is a proven algorithm of global optimization owing to its advantage, which are described as follows: (1) the suitability of the problem in a wider area; (2) not having any restriction in the form of any cost function; (3) having a high probability of finding global optimization; and (4) using programming for easy functional implementation. The S_A is not a universal one and its efficient performance is dependent on four of the “enough;” (1) a high enough initial temperature, (2) a slow enough cooling of temperature, (3) an often enough sampling of parameter, space and (4) a low enough stop temperature. All these needs will make it converge in a slow manner.

This work further proposed a new optimization algorithm that followed the GSO and the SA with the traits of the SA and the GSO. Both algorithms were mixed and iterated within the calculation. By using the criterion of Metropolis in the SA, there were some glowworms that reached a particular level in terms of similarity. There was another new solution that was generated by the random disturbance of the SA for reaching a new location that can increase the glowworm and its diversity to steer clear of the triumph spellbound in local best possible. For the SA-GSO, GSO of fast convergence and a global convergence for the SA algorithms, there was a “premature” convergence of the GSO that was overcome and convergence speed improved by a combination of this two-algorithm search [23].

A hybrid SA-GSO is its basic framework, and this will update an optimum population position by employing the strategy based on the rules of feasibility found in the process of search [24]. It also adopts a strategy of local search using SA for finding the optimal position for every generation [24]. Additionally, initial warmth is computed with the pragmatic formula (8):where both fmax and fmin denote the maximum and the minimum objective values for solutions in their initial swarms [25]. Aside from this, there is exponential annealing, which is T (k + 1) = T (k), and the rate of annealing will satisfy 0 <  < 1. This procedure of the hybrid SA-GSO is as follows:(1)There is a random initialization of the positions of the N individuals within the search space, and the initial temperature T (k) is calculated in accordance with equation (8). Now initialize an optimal position with an optimal value f () for the population based on the rules of feasibility.(2)The whole population will be divided into two random swarms: a glowworm swarm and a simulated annealing swarm.(3)The GSO is implemented for glowworm swarm, and in accordance with the rules of feasibility, determine its current optimal position, which is of glowworm swam1, and apply a strategy of local search, which is based on the SA to the and finally get its new position [26].(4)Now implement the SA swarm, and based on the rules of feasibility, determine its current optimal position, which is of its SA swam2, and apply a strategy of local search that is based on the SA to and obtain a new position .(5)Based on the rules of feasibility, if the is found to be better than the , then will update , and if not, will update . Additionally, based on the rules of feasibility, the optimal position X∗ is updated, and the optimal value f () for the whole population is obtained.(6)In case maximum iterations are arrived at, then stop with the optimal output position and an optimal value f () for the whole population; if not, let T (K + 1) = T (k), k = k + 1, and move back to Step 3.

3.4. Proposed Hybrid Slow Heat-SA-GSO Algorithm

Figure 2 shows the flow chart slow heat-based hybrid SA-GSO algorithm. Employing the SA in connection to the construction design, which is used for a geometrical optimization of the cavities, is not duly investigated, but it represents novel and important work. After this, there is an investigation of a suitable annealing and cooling schedule, which is a very important subject [27]. Applying the algorithm without any adjusted configurations may result in errors in obtaining the global optimal shapes and the influence of every parameter (degree of freedom (DOF)) that is over the performance of its thermal performance. Generally, it may not be easy to compare them with the ones achieving an exhaustive search (ES). This way, the work has the intention of reaching a commendation on the most excellent schedules of cooling up for a dependable optimization along with the SA metaheuristic employed for the optimization of the multifarious cavities within the construct framework of design [28].

It is assumed that a Y-shaped cavity can act to remove heat that is generated using a solid domain (the grey region). This will seek the most favourable geometry for the hollow space that is given by the variation of degrees of free will, which are: the H/L, t1/t0, L1/L0, and α. The temperature field, which is within a solid domain, has been solved for each of the study cases and its maximum temperature. An ideal thermal performance for this system was obtained at the time the maximum temperature, which was within the solid domain, was brought down.

The primary objective was to play down all dimensionless and highest overindulgence warmth (θmax) found within the unyielding sphere of influence by a following dimensionless equation (9):

Based on Section 3.3, the hybrid SA-GSO is used for the slow heat process, and the fast annealing method is used for the cooling schedule [21] with a decrease that is faster (9):

This can decrease sharper than the . But it will have to match the temperature decrease compared to the solution of the neighbourhood and its process of generation. Saravana Kumar et al. [29] divided the heat values from [0, T0] into K interval gaps by finding the Tempk, k = 1,…, K. This fast method of simulated reannealing had been presented by Ingber in the year 1989 by Ingber. It has a cooling schedule which is as follows (10):where c denotes the dimension factor. Ingber [30] had also second-hand another slower programme of (9) that is shown in (11):

Even though there are several cooling schedules mentioned, there is a scheme of geometric cooling as in equation (13) that was anticipated by [31].where α ∈ (0, 1) denotes a constant and is used widely as a popular cooling schedule since it compromises the CPU time and is quality [3234].

4. Results and Discussion

The proposed SA-GSO and slow heat-SA-GSO methods are evaluated. The experiments are carried out using a ratio of 2 to 10 packet rates and everything in between. The proposed methods are evaluated for metrics like average delay, packet delivery ratio, and a middling number of hops. Table 2 and Figure 3 depict the results achieved for packet delivery ratio.

It can be observed from Table 2 and Figure 3 that the slow heat-SA-GSO has a higher PDR in the range of 2.11% to 2.89% than SA-GSO. Table 3 and Figure 4 show the results for the average delay seen for SA-GSO and slow heat-SA-GSO.

It is observed from Table 3 and Figure 4 that the proposed slow heat-SA-GSO has a lower average delay in the range of 2.05% to 3.99% when compared with SA-GSO. The average delay was computed in seconds. Table 4 and Figure 5 depict the average number of hops for slow heat-SA-GSO.

From Table 4 and Figure 5, it is observed that the proposed slow heat-SA-GSO has a higher average number of hops when compared with SA-GSO [35, 36].

5. Conclusion

For the VANETs, there are limitations in terms of capacity and coverage of channel of the WiFi technologies, aside from the high node mobility and various factors that lead to packet losses, changes in topology, and fragmentation of the network. In the case of an optimal strategy of routing to utilize the resources, there is a possibility to deploy an efficient VANET. The routing data packets in the VANETs can be a demanding task as there is no other central administrator entity that is in incriminate of identifying the available routes of routing surrounded by these nodes. So, there may be a great deal of such efforts that are dedicated to designing some of these efficient protocols of routing. For the purpose of this work, a hybrid slow heat-based SA-GSO algorithm was proposed. Every GSO iteration contained a phase of luciferin update, which was followed by the progress phase that was based on a rule of transition. This was a metaheuristic that was used widely in both optimization and combinatorial problems. The algorithm also has a constraint on the cooling schedule (the drop-off of its warmth) that is defined for every problem in an empirical manner. For the purpose of this work, the aim was to identify the most outstanding cooling schedule (s) in geometric optimization for a problem of heat transfer. The GSO was integrated using slow heat, aside from the technology of constriction dispensation, which is based on the rules of feasibility that were used for updating an optimum population position. In order to escape a local optimum, the strategy of local search that was based on the SA was applied to its best solution for every generation. The results proved the slow heat-SA-GSO to have a higher rate of PDR by about 2.72% for the 2 data packet rate, by about 2.57% for the 4 data packet rate, by about 2.43% for the 6 data packet rate, by about 2.11% for the 8 data packet rate, and finally by about 2.89% for the 10 data packet rate on being compared to the SA-GSO, respectively.

Data Availability

The data used to support the findings of this study are included within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest.