Abstract
Graph domination is one of the NP-Complete problems that cannot be solved exactly in polynomial time. Hence, we propose a stochastic approach to tackle the minimum dominating set problem (MDS). The main aim of MDS is to find the minimum number of nodes that covers all other nodes in a graph. Thus, we present the problem in binary sequence to activate a node to be a dominator by setting it to the value of 1, or deactivate it by assigning its value to 0. In this paper, the stochastic search represented by hybrid swarm intelligence algorithm to find the smallest set of nodes that dominate the graph. This method uses population-based approach called bat algorithm (BA) which explore a wide area of the search space, thus it is capable in the diversification procedure. However, population-based algorithms are not good in exploiting the search space in comparison to single-solution based methods, therefore we included simulated annealing (SA) algorithm to balance between exploitation and exploration in order to reach a best possible solution. Our proposed method was experimented on benchmark datasets, which yielded results comparable to the state-of-the-art MDS methods. It can be concluded that the proposed method is an effective solution for MDS problem.
Introduction
Optimization procedures work on finding the best possible solution(s) for a given problem, with respect to the objective of the problem, i.e., maximizing or minimizing the given cost function [36]. There are several fields that encounter optimization problems, such as scheduling, planning, engineering, computer science, and medicine. Generally, there are two categories of optimization problems, namely, static and dynamic [35]. In static optimization problems, the main aim is to find the global optima. While, dynamic optimization problems aim to find out the global optima and monitoring the changes that commonly occur during the optimization process of these type of problems. Our proposed study falls in the category of static optimization, and thus it focuses on finding the global optima hopefully the global best solution.
The dominating set (DS) problems are a general class of the optimization problems that are broadly used in wireless networking [6, 33]. DS refers to those nodes in a particular graph that all other nodes in the same graph are connecting to it. In wireless network, finding the dominating set of the network topology graph is a common approach for clustering the networks [7, 41]. The DS with minimum number of nodes is denoted as minimum dominating set (MDS). The MDS problem is hard combinatorial problem, classified as NP-Completeness [12], and in general cannot be solved exactly in polynomial time.
In the early 1990s of the last century, computational intelligence (CI) tools and their applications have grown rapidly since its inception at that period [1]. CI tools were firstly limited to neural networks, fuzzy logic and evolutionary computing as well as their hybrid methods [37]. However, in recent year swarm intelligence (SI) which is one of CI classes is broadly used for many domains. SI is the collective behaviour of decentralized and self-organized systems. A classic SI system consists of a population of simple agents which can communicate with each other by acting on their local environments. Though the agents in a swarm follow very simple rules, the interactions between such agents can lead to the emergence of very complicated global behaviour, far beyond the capability of single individual agent [10, 20]. Just to name a few instances in natural systems of SI, it includes, ant foraging, bird flocking, and fish schooling.
The most respected and popular SIAs are particle swarm optimization (PSO) which is inspired by the social behaviour of bird flocking or fish schooling [9], and ant colony optimization (ACO) which mimics the foraging behaviour of ant colony [8]. PSO is commonly used for real-parameter optimization whereas ACO has been effectively applied to solve combinatorial optimization problems. Recently, inspired by echolocation of micro-bats to attack a prey, a novel SIA, called bat algorithm (BA) was proposed in 2010 for efficiently solving complex optimization problems and had received extensive attention [5, 42].
In this study, we tackle the problem of MDS by proposing SIA called BA that exploit a local search algorithm which is simulated annealing (SA) for the purpose of getting effective search in term of exploration and exploitation.
This paper is organized into six sections, including the current Section which introduced the proposed method and the tackled problem. Section 2 describes the formulation of MDS and the solution representation for the problem. While, Section 3 presents a review on the works done on MDS problem. Thereafter, the proposed model is explained in details in Section 4. Penultimately, we presented and discussed the experimental results in Section 5. Finally, Section 6 concludes the proposed model.
Problem description
The formulation of minimum dominating set (MDS) problem in this study is based on the graph theory. The general notation of a graph is G = (V, E) where V is the set of vertices (nodes) and E is the set of edges (links). Two nodes v and u are considered as neighbors if there is an edge between them, i.e., (v, u) ∈ E. A dominating set D is the set of nodes that belong to V and all the other nodes in V have link to D. In the other words, V - D = N are the set of nodes which have a connection to nodes in D, i.e., (D, N) ∈ E. In conclusion, every node not existed in D must be an element of N, and thus, N∩ D = ∅.
In practical, MDS is the problem of figuring out a minimum number of nodes in graph that dominates the others. The dominating set has connections to all graph nodes. In the problem instances of MDS, two nodes are considered connected if and only if they reside in the range of each other. Our study tackles MDS in connected graph (no node isolated) as shown in Fig. 1.

Connected graph.
In this study, the solution represented as a binary string that has length equals the number of nodes in the targeted graph as shown in Table 1. The bit that has a value of 1 means that node is one of the dominating set elements. Whilst, the node of value 0 means that node is not in the set D, but it belongs to N. Consequently, the solution that carries a minimum value represents the final solution of the problem. The optimal solution for the graph shown in Fig. 1 is represented by activating the nodes B and C as shown below.
Binary representation for MDS of Fig. 1
To evaluate the solution according to the aforementioned MDS properties, we used the fitness function shown in Equation 1.
Finding the minimum number of nodes in graph is a hard combinatorial problem, classified as NP-Complete problem [12]. Many studies have been devoted to find MDS in minimum time complexity, which triggered by the work of finding the MDS in a tournament [26]. This work was followed by dedicated researches that proposed various approaches attempting to reduce the complexity [3, 39]. Recently, MDS solved with minimum complexity based on membrane computing approach [25]. However, considering MDS with high dimensionality pose a combinatorial problem that cannot be solved in deterministic polynomial time. Consequently, a lot of research studies trended to solve MDS based on stochastic and approximation approaches. Recently, MDS has been solved based on stochastic search techniques, such as genetic algorithm [16], simulated annealing [2], and ant colony algorithm [17].
To achieve high degree of exploration in ant colony optimization (ACO) for MDS, Ho et al. proposed to use a technique borrowed from genetic algorithm called tournament selection [17]. Instead of always following the standard mechanism of selecting the next solution component, an ant would make its decision based on the outcome of a tournament among randomly selected allowable components. The frequency of the tournament selection is controlled by a probability measure. The use of tournament selection is coupled with an iteration-best pheromone update. Consequently, this method produces new solutions based on the intensive pheromone paths and the tournament selection mechanism according to a defined probability. They found the enhanced ant colony optimization could yield better solutions than genetic algorithm using fewer numbers of iterations. Yet, constructing a new solution for MDS based on the search history only such as in the case of ACO will exploit long time to find the best possible solution, due to the MDS is a binary problem.
In the context of stochastic algorithms, a hybrid genetic algorithm based on new fitness function proposed to tackle MDS, which is named HGA-MDS [16]. The search process in HGA-MDS invokes an accurate intensification schemes beside the GA search methodology in order to achieve high quality solutions. The intensification process in HGA-MDS goes through three different stages. In the first stage, they used a local search that works on adding or deleting nodes from the best solution found so far in order to improve its quality. Thereafter, a filtering procedure is used to refine the best solution by eliminating unnecessary nodes. In consequence, it reduces the dominating set in the best solution without losing the coverage. In the final stage of the intensification, they performed a procedure called elite dominating sets inspiration. This one works on saving the visited dominating sets (DS), and then, a trial solutions x core is defined as the intersection of the best dominating sets in DS. If the number of nodes involved in x core is less than that in x best by at least two, then the zero position in x core which gives the highest node-degree is updated to be one. This mechanism is continued until the number of nodes involved in x core becomes less than that in x best by one. The proposed HGA-MDS yielded promising results over 18 graph instances.
Recently, genetic algorithm implemented in parallel scheme to address the MDS problem [14]. This study was concerned about two essential objectives. Firstly, an investigation about the performance of the parallel genetic algorithm for the MDS is studied, which has been proved to produce desired solution. While, the second objective focused on formulating the genetic operators to fit the parallel scheme. These operators include selection, crossover, and mutation. Selecting solutions in the proposed genetic algorithm was based on two techniques which are tournament and roulette-wheel selections. Thereafter, a crossover of two types which are uniform and one-point has been applied to produce new solutions. Finally, a standard mutation process is performed to avoid losing good genes in the processed chromosome.
In addition, the study of Giap and Ha [14] proposed a new fitness function that takes in account the dominator and the dominated vertices as shown below:
The main feature that characterizes the parallel genetic algorithm from the conventional one is the population migration. In the study of Giap and Ha, three different types of population migration have been used, namely, master-slave, single distributed population, and multi-deme population. However, they concluded that single distributed population is perform better than the others for all the tackled graph instances which vary from 100 to 2150 vertices.
The problem of finding MDS is tackled effectively using population-based algorithms as mentioned earlier in the case of ACO and GA algorithms. However, further studies on MDS have been conducted based on local search algorithms [2]. This method works in two phases, firstly, a stochastic local search (SLS) method is built to find local solutions next to given solutions. Then, a simulated annealing (SA) algorithm is invoked to enhance the solution of SLS with the ability of escaping from local optima. This method attempts to create effective solutions form the given one using three different procedures, i.e., Node-reduction, Node-addition, and Node-swapping. The accuracy of this method evaluated based on two test cases adopted from two independent studies [4, 34]. The authors found their proposed local search able to perform better than HGA-MDS, due to the effective manner that used to create neighbor solutions in the local search algorithm.
Generally, there are three different variants of dominating set in graph theory that have been solved via stochastic algorithms, which are minimum weight dominating set (MWDS) [19, 31], minimum connected dominating set (MCDS) [18], and MDS [2, 17]. Tackling MDS might aid to solve MWDS as the later looking for the dominating set that carries minimum weight, therefore, finding MDS constitute the first step of solving MWDS. Similarly, figuring out the MDS in a graph and then finding the nodes that connect the existed MDS will lead to produce MCDS. In consequence, targeting MDS to best possible solution will aid to solve the other variants effectively, and thus we aim to solve the MDS rather than the other two variants.
Practically, all meta-heuristic algorithms that use population of solutions are capable to explore the problem space efficiently. Recently, Yang proposed an algorithm called bat algorithm (BA) based on the echolocation features of microbats [42]. BA uses a frequency-tuning technique to increase the diversity of the solutions in the population, while at the same time it uses the automatic zooming to try to balance exploration and exploitation during the search process by mimicking the variations of pulse emission rates and loudness of bats when searching for prey. In practical, BA uses random walks to avoid trapping local optima, which has been proven in the continuous domain. However, dealing with binary problem as MDS requires an intensive local search to achieve best possible solution [2]. Hence, in the current study we hybridized BA with SA to achieve an intensive search alongside the diversity feature of BA.
This section presents the experimental design based on the analysis obtained from the theoretical study in the literature review, where MDS-methods have been reviewed. This study achieves the research objectives through developing a hybridized method based on swarm intelligence behavior represented by bat algorithm. The proposed model solves the MDS problem as shown in Fig. 2.

The proposed hybrid Bat Algorithm.
In 2010, Yang developed a bio-inspired algorithm called bat algorithm (BA) based on the echolocation behavior of bats [42]. The echolocation capability of the micro-bats is fascinating as these bats can find their prey and discriminate different types of insects even in complete darkness. The BA mimics the micro-bats behavior which is drawn in the following three rules: All bats use echolocation to sense distance, and they also know the difference between food/prey and background barriers. Each bat flies randomly at position x
i
and velocity v
i
with a frequency f
min
, varying wavelength λ and loudness A0 to search for prey. They can automatically adjust the wavelength (or frequency) of their emitted pulses and adjust the rate of pulse emission r ∈ [0, 1], depending on the proximity of their target. Although the loudness can vary in many ways, BA assumes that the loudness varies from a large (positive) A0 to a minimum constant value A
min
.
Based on the aforementioned rules, BA uses three parameters that control the search process, which are the frequency, pulse rate, and loudness. In practice, the frequency reside in specific range [f min , f max ] which corresponds to a wavelength range [λ min , λ max ]. In this study, we followed the original setting of the BA which proposed to set the frequency in the range [0, f max ], where f max =100. The pulse rate varies from zero where no pulses at all to one as a maximum rate of pulses.
In BA, the pulse rate and the loudness are dynamic variables which must be updated iteratively as shown in Equations 3 and 4. Once a bat finds its prey, the pulse rate is increased while the loudness is decreased. The loudness can be set at any value that suits the problem.
Practically, in a d-dimensional search each bat is associated with a velocity
Generally, BA resembles the global search of the particle swarm algorithm and the local search of the simulated annealing. Where, BA performs local search step using random walk as follows:
The proposed method attempts to establish an integral model that has effective ability in the search process. Due to the fact that population based algorithms which BA one of them are incompetent in exploiting the search space excellently as the single-based algorithms do, this study uses a local search algorithm. Though BA perform random walk as local search, it is not adequate to exploit the local neighborhood of the MDS problem. Thus, it incorporates local search algorithm named simulated annealing (SA) [21] to complement the search process as shown in Algorithm 1. SA has been selected in this work due to its excellent search ability in various domains. Simulated Annealing mimics the physical process of heating a material and then gradually dropping the temperature to decrease defects, thus minimizing the system energy. This algorithm avoids sticking in local optima by accepting worse solutions sometimes. Thus, SA is a general case of Hill Climbing Algorithm (HCA). Where, the latter accepts best solutions only, while SA accepts best moves always as well as accepts worse moves with respect to following criterion:
Simulated annealing is a single-based meta heuristic method that start the search by an initial solution then updates it iteratively. In each iteration, SA create new solution which is neighbor to the current one. The process of creating new solution is performed using specific procedure called neighborhood structure (NS) as shown in Algorithm 2.
The cooling scheduler of SA works on decreasing the temperature till reaching the frozen status, where the annealing process stops. In this study, we implement the popular scheduler “geometric cooling”, which is set to be performed after number of iterations. The geometric cooling consists of multiplying the previous temperature by a predefined cooling factor T * α as shown in line 17 of Algorithm 2. The values of the SA parameters in our study are given in Table 2.
Simulated annealing parameters
The first parameter n in the table represent the epoch length of decreasing the temperature. The next one T is the starting temperature of the annealing process. While, α is the decremental factor which is applied periodically each n iteration. Finally, the stop parameter is the temperature level of stopping the annealing process.
In the context of local search process, our proposed method performs it within specific probability called local search rate (lr) which has been set experimentally to 20%. Limiting the local search procedure to lower ratio would not give enough space to exploit the problem space. On the other hand, allowing a lot of local search would lead to premature convergence to some local optima. Hence, the experiment shows that 20% is suitable ratio of performing the local search procedure for the MDS problem.
The proposed model in this study has been implemented on some instances of MDS problem. Each instance is given in the form of graph that has specific number of vertices and edges. The MDS raises in the area of network clustering, where the MDS corresponds to cluster heads in network clustering. Hence, the connection between each two nodes depend on the transmission range of the nodes. Hence, the euclidean distance between two nodes v and u must be less than the transmission range to be connected.
In this study, we created the graph instances of MDS that used in the literature. In specific, we created eight network graphs which are shown in Table 3.
Graph instances
Graph instances
Based on the directions of Bettstetters [4], we used random uniform distribution to generate the graph instances. In each graph instance, all the nodes have the same transmission range. For the purpose of experimenting the algorithm stability, we run each graph instance for ten times then we reported the statistics of the overall executions as shown in Table 4.
Performance comparison of HBA and SAMDS
The experiment has been executed using Dell machine of 8 Gb of the RAM and an intel core i7 CPU of 2.1 GHz. The operating system is Windows and the programming language used in this experiment is Matlab 2013.
The results reported in the Table 4 are based on three metrics which are minimum cost (Min cost), average cost (Avg cost), and standard deviation (Std). The minimum cost reports the quality of the best solution that gained through the runs. While, the average cost shows the median quality of the solutions gained during the experimental runs. Finally, the standard deviation shows the amount of variation among the yielded solutions. The values in the minimum cost field shows the size of the dominating set of the tackled graph. Obviously, the size of the dominating set is getting less at higher ranges as the connectivity of the nodes is increased. Fig. 3 shows the impact of the range on the solution quality.

The range impact on the solution quality for the eight graph instances.
For the purpose of proving the performance of our algorithm, we compared with a hybrid meta-heuristic method and simulated annealing algorithm which are reported in the literature review [2, 16]. We show the experimental performance of our algorithm in comparison to hybrid genetic algorithm that invokes three intensification procedures which are local search, filtering, and elite dominating sets inspiration, as shown in Table 5. In addition, Fig. 4 provides a comparison with another hybrid genetic algorithm and ant colony algorithm from the study of Potluri and Singh [30]. Also, we compared our experimental results to the simulated annealing that invokes a stochastic local search as shown in Table 4.
Performance comparison of HBA and HGA-MDS

Performance comparison of HBA, HGA, and ACO. (a) Node range of 150 units. (b) Node range of 200 units. (c) Node range of 250 units.
In Table 4, HBA stand for hybrid bat algorithm which is used in this study for MDS problem. While, SAMDS is the simulated annealing that used for MDS in the study of Hedar and Ismail [2]. The HBA reveals smaller dominating set for the whole graphs tackled in this study. Moreover, it shows less variation overall the experimental runs.
In Fig. 4, the comparison is based on the average of 10 runs on unit disk graphs instances. These graphs consist of three instances of 50, 100, and 250 nodes placed in an area of size 1000 × 1000 units. For the comparison purposes, we selected the same range values of [30], which are 150, 200, and 250 as shown in Figs. 4 a, b, and c respectively. This comparison shows variable performance of the compared algorithm, where HBA outperforms the other for graphs of 50, and 100 nodes at the range value 200. Also, HBA produced smaller MDS than ACO in the graph of 250 nodes at range of 150. While, ACO and HGA obtained smaller MDS than HBA for the other graph instances.
In the context of performance comparison, we compare our algorithm with a hybrid genetic algorithm which is abbreviated as HGA-MDS [16] as shown in Table 5.
Table 5 shows the results of HBA and HGA-MDS for three graph instances as the latter addressed them only. Obviously, the HBA is more stable than HGA as it reveals less values for the standard deviation. However, the HGA shows smaller dominating sets for the eighth graph instance, where the number of nodes is less than 100. While, the HBA could outperform the HGA in the other graph instances, where smaller dominating sets have been produced.
Overall, the hybrid swarm intelligence proposed in this study revealed less number of dominator nodes roughly for the all tackled instances. A comparison with other studies in terms of solutions quality has been done to show the difference of our output than the others. In comparison to the hybrid genetic algorithm, our method is inferior in some ranges of the eighth graph instance only. However, our algorithm shows more stability over all the experimental runs.
Graph domination is one of the NP-Complete problems that cannot be solved exactly in polynomial time. Hence, we tackled this type of problems using a stochastic approach. This type of approaches can be categorized into two groups, i.e., population based and solo-based methods. Each of these types characterize by an effective search feature. The solo-based methods have effectiveness ability in exploiting the search space, while the population based methods are better in exploring the search space. Hence, we hybridized these techniques for the purpose of producing robust search method. The proposed algorithm tested on benchmark data set and yielded a better result in comparison to the literature methods. Thus, we conclude that the proposed method is an effective solution for MDS problem.
