Next Article in Journal
Multi-mJ Scaling of 5-Optical Cycle, 3 µm OPCPA
Previous Article in Journal
Generation of Switchable Chirp Waveforms in the Photonic Domain with Immunity to Dispersion-Induced Power Fading
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Optimization of Network Coding Resources Based on Improved Quantum Genetic Algorithm

School of Electronic Information Engineering, Beijing Jiaotong University, 100044 Beijing, China
*
Author to whom correspondence should be addressed.
Photonics 2021, 8(11), 502; https://doi.org/10.3390/photonics8110502
Submission received: 7 September 2021 / Revised: 26 October 2021 / Accepted: 4 November 2021 / Published: 8 November 2021
(This article belongs to the Section Optical Communication and Network)

Abstract

:
The problem of network coding resource optimization with a known topological structure is NP-hard. Traditional quantum genetic algorithms have the disadvantages of slow convergence and difficulty in finding the optimal solution when dealing with this problem. To overcome these disadvantages, this paper proposes an adaptive quantum genetic algorithm based on the cooperative mutation of gene number and fitness (GNF-QGA). This GNF-QGA adopts the rotation angle adaptive adjustment mechanism. To avoid excessive illegal individuals, an illegal solution adjustment mechanism is added to the GNF-QGA. A solid demonstration was provided that the proposed algorithm has a fast convergence speed and good optimization capability when solving network coding resource optimization problems.

1. Introduction

In recent years, it has become a research hotspot in the industry to complete the recovery of failures by combining the distributed recovery mechanism of the optical network with optical multicase technology [1,2]. Optical multicast technology is a kind of information transmission technology whereby an optical network transmits the sender’s information to multiple receivers at the same time. A large number of optical cross-connect devices are distributed in the optical transport network, which provides the possibility for the application of optical layer multicast technology. By converting point-to-point connections to point-to-multipoint connections, the logical structure of networks with a simple physical topology can become more compact and complex. The application of the optical tree connection in an optical transmission network can effectively enhance the broadcast ability of the network.
In addition, optical multicast technology also has many potential advantages: (a) although optical multicast requires a detailed understanding of the topology of the physical layer, it can also establish a more efficient multicast tree to allocate resources effectively and reasonably to improve utilization; (b) optical multicast cancels packet switching and network storage and forwarding, reducing traffic transmission time; (c) optical multicast can copy multicast packets through optical splitters; (d) optical multicast technology is transparent to the data bit rate and code format, which can effectively reduce the difficulty of node data processing and improve the transmission efficiency of the business. For business requests in the optical multicast network, it is also necessary to find the appropriate optical path in the optical network to transmit the business and allocate the corresponding network resources for this group of point-to-multipoint optical paths.
In order to achieve a good recovery function, the most basic work of optical transmission is to select network routing. An optical network is composed of multiple optical channels that transmit different information. The establishment of optical channels requires topology and resource information in optical networks, which means that routing selection is affected by multiple indicators such as the wavelength continuity of the optical network, different wavelengths of the optical network, the lower bound of network congestion, the network delay, the cost of routing establishment, and the average number of hops. Therefore, many factors must be taken into account when selecting routing for an optical channel to reduce the overhead of network resources and optimize the utilization of network resources.
When rerouting in optical networks, it is difficult to obtain the optimal solution because the distributed recovery mechanism only uses the local information of the network. The introduction of a shared protection link improves its performance to some extent. In the distributed recovery mechanism, all nodes do not store the link usage and reserved information; rather, each node can rely on the open shortest path routing protocol and traffic engineering technology to obtain the wavelength resource usage of the working path and the standby path. According to the information, the shared link satisfying the conditions is determined, and the resources are configured in advance. On the other hand, inspired by the coding and decoding idea of erasure codes, network coding technology can be introduced into optical transmission networks to solve the link failure recovery problem in the network [3,4]. When a limited link fails in the network, some services can be recovered by encoding and decoding at the network coding node. Network coding technology is particularly suitable for multicast networks. Through this coding multicast mode, not only can we use small network resources to construct an approximate real-time self-repair multicast communication network, but we can also obtain a high multicast transmission rate.
Network multicast allows information to be transmitted from a single point to multiple points. Compared with traditional unicast and broadcast methods, multicast greatly improves transmission efficiency. The traditional routing uses the method of “storage-forward” to transmit data, with which it is difficult to achieve the maximum network flow in theory, and this causes a waste of bandwidth resources. Ahlswede et al. [5] first proposed the basic principle of network coding in 2000. Network coding allows intermediate nodes to combine the received information during information transmission and then pass the result information to the next node. Network coding technology can effectively improve network throughput [6], enhance network robustness [7], and increase the utilization of wired and wireless networks [7,8,9], meaning that the multicast rate can reach the upper limit of the maximum flow minimum cut theory [10,11].
In the past decade, network coding technology has rapidly developed into an important research field in electrical engineering and computer science. It has a wide range of applications, such as wireless networks, distributed file storage, and network security, but the encoding operation also brings additional computational overhead [12,13]. Therefore, it is very important to reduce the number of codings in the process of network information transmission. The core purpose of network coding resource optimization is to minimize coding overhead [14] and achieve multicast rate requirements under a given topology.
Han et al. [15] first proposed the quantum genetic algorithm to solve optimization problems. The quantum genetic algorithm (QGA) combines quantum computation with the genetic algorithm. Compared with the traditional genetic algorithm, the quantum genetic algorithm uses qubit to encode, which can guarantee the diversity of populations with a small population. Therefore, the quantum genetic algorithm can be used to solve network coding resource optimization problems and has made great progress over the traditional genetic algorithm. However, when the number of nodes increases, the quantum genetic algorithm easily finds the optimal solution.
In this paper, on the basis of existing research, and considering the influence of gene number on population variation, an adaptive quantum genetic algorithm (GNF-QGA) based on gene number and fitness co-variation is proposed to solve the problem of network coding resource optimization. The rotation angle step adjustment mechanism based on the adaptive evolution mechanism is adopted, and the solution of excessive illegal solutions is proposed. The experimental data show that the proposed algorithm has a better optimization ability in solving the network coding resource optimization problem.

2. Network Coding Resource Optimization

In multicast, there are many different information transmission methods in the same topology when sending information from one source node to multiple destination nodes. Different information transmission methods consume different resources, and each additional encoding operation will increase the corresponding processing cost. The optimization problem of network coding resources aims to find a solution with the smallest number of codings under the premise of meeting the maximum flow transmission requirements; that is, finding a multicast tree with the fewest coding operations [16].
Seeing network communication as a single source node, each edge is a directed graph of unit capacity expressed as ( G , S , T , R ) , where G represents a directed graph, and S is the source node. T = { t 1 , t 2 , . . . , t n } is the destination node set and R is the multicast rate that the network communication can reach. It has been proved that linear network coding can meet the needs of the multicast networks [17,18], so this paper only studies simple linear network coding. Nodes with more than one input edge and at least one output edge may be coding points. When a node has more than one input edge and more than one output edge, the coding of each output edge may be different. Figure 1 shows the example of coding node [19]. Assuming that y 1 = x 1 + x 2 and y 2 = x 2 + x 3 , node v needs to be encoded twice. Therefore, the number of encoding edges rather than the number of nodes should be recorded when calculating the optimal encoding method.
For the convenience of this research, we decompose the nodes with multiple-input edges and multiple-output edges. Each input side is pointed to a single node (input node), and each output side is projected from a single node (output node), and then a side pointing to the output node is created sequentially from the input node. Figure 2 illustrates the decomposition results of nodes in Figure 1.
Figure 2 shows that after node v is decomposed, node v 4 and node v 5 may be the encoding points, and an encoding point will be encoded at most once (only one output edge), so the number of encodings can be calculated according to the number of encoding points. To use GNF-QGA to solve the network coding resource optimization problem, each side can be set as a binary number, and it can be assumed that 1 represents the side with data flow while 2 represents the side without data flow. Node v can be represented by a 6 bit binary number of gene coding in which the first three represent the three input edges of v 4 and the last three represent the three input edges of v 5 . Figure 3 shows that node v 4 encodes data from node v 1 and node v 2 , while node v 5 directly forwards the data from node v 3 without a coding operation.
Only nodes that may be coding points require gene coding, and the number of genes N g e n e is defined as (1), where I m m represents the number of input edges of the node while O m m represents the number of output edges of the node. When the gene is determined, the number of encodings can be calculated according to the expression pattern of the gene—namely a multicast tree structure.
N g e n e = I m m × O m m I m m 2 O m m 0 0 I m m < 2 O m m = 0

3. Algorithm Description

The adaptive quantum genetic algorithm based on gene number and fitness cooperative mutation includes the fitness evaluation mechanism, rotation angle adaptive adjustment mechanism, the cooperative mutation mechanism based on gene number and fitness, and illegal solution adjustment mechanism.

3.1. Fitness Cooperative Mutation Mechanism

In the fitness evaluation mechanism, the fitness function of chromosome C h i is shown as (2), where C i represents the number of coded edges in the multicast tree built on chromosome C h i , and C m a x represents the number of coding edges in the multicast tree constructed by chromosomes with all genes being 1. This represents the legal individual when f l a g = 1 and the illegal individual when f l a g = 0 . The maximum flow f l o w ( S , t i ) from the source node to every destination node is calculated based on the Dinic algorithm, and the edge of the maximum flow is marked. If two or more incident edges of node v i are marked, node v i is the encoding node. The number of encoding edges is added by one based on node decomposition. Assuming the network coding multicast rate requirement is M A X _ F L O W , if there is a destination node t i such that f l o w ( S , t i ) < M A X _ F L O W , chromosome C h i is an illegal solution.
F ( C h i ) = C m a x C i f l a g = 1 0 f l a g = 0
In the process of algorithm implementation, the topology map corresponding to chromosome X is generated first, and then the topology map is used as an input. Secondly, the Dinic algorithm is used to solve the maximum flow f l o w ( S , t ) of the source node S to all other target nodes t T . If any f l o w ( S , t ) is smaller than the multicast rate R, it indicates that the topology cannot meet this condition. For all target nodes t T , we use the Dijkstra algorithm to solve path set P ( s , t ) = { P 1 ( S , t ) , P 2 ( S , t ) , , P n ( S , t ) } . For each target node, the Dijkstra algorithm should be run R times, and it should be ensured that for each path in the path set P ( S , t ) , if i j , P i ( S , t ) P j ( S , t ) = . A marked array can be used to record the passing edges in each Dijkstra algorithm so that the repeated edges cannot be walked in the next iteration of the algorithm. Path set P is all edges of the network coding multicast tree. In this multicast tree, if all incident edges of a node are not less than 2, the corresponding output edge of the node is the coding edge. We can specifically define two sets for all potential encoding nodes in the Dijkstra algorithm, recording the edges emitted from that point and the edges that enter it.

3.2. Rotation Angle Adaptive Adjustment Mechanism

The quantum genetic algorithm is an improved intelligent heuristic search method combining quantum computing and the genetic algorithm. Its quantum-bit coding simulates the characteristics that quantum states can be superimposed on multiple states, which greatly increases the number of states represented by a single chromosome and greatly expands the search space of the algorithm.

3.2.1. Quantum Computing

Quantum computation is a concept proposed by Richard Feynman, a theoretical physicist, when he simulated the classical computer to realize quantum mechanical systems. Since then, Deutsch proposed that quantum computers should follow the law of quantum mechanics. The quantum state has the characteristics of interference, superposition, non-replication, entanglement, and parallelism, which means that quantum computation can greatly improve the operation efficiency of an algorithm; it is also the theoretical basis of the quantum algorithm.

3.2.2. Quantum Coding

The core of the quantum genetic algorithm is qubit coding, and the qubit is the basic information unit in quantum computing. A quantum bit represents the superposition of two quantum ground states, known as the superimposition state, and it is shown as (3).
| φ = α | 0 + β | 1
The quantum state has changed the traditional representation method of either zero or one, where the probability amplitude of the quantum state is expressed by complex numbers. | α | 2 represents the probability that the quantum state φ will collapse to 0 after observation while | β | 2 represents the probability that the quantum state φ will collapse to 1 after observation. α and β need to meet the normalization condition shown as (4)
| α | 2 + | β | 2 = 1

3.2.3. Quantum Rotation Gate

In the quantum genetic algorithm, the concept of the quantum rotation gate replaces the selection, mutation, and crossover operations in traditional genetic algorithms to complete the update operation of individuals in the population. The quantum state adjusts its mutation probability through the quantum rotation gate so that the probability of collapse to the global optimal solution in individual observation increases. It can be said that the operation of the quantum rotation gate is the key to the convergence of the entire quantum genetic algorithm. The quantum rotation gate is shown as (5).
U θ = cos θ sin θ sin θ cos θ
The renewal process of quantum state through quantum rotation gate is shown as (6).
α i β i = cos ( θ i ) sin ( θ i ) sin ( θ i ) cos ( θ i ) α i β i
In Equation (6), α i β i T represents the i-th quantum bit encoded by individual chromosome while α i β i T is the quantum bit that has been rotated and updated through a quantum revolving gate. Furthermore, θ i is the rotation angle, which is determined by the rotation angle table shown in Table 1. x i represents the observation state of i-th chromosome encoding of the individual. b i represents the i-th chromosome encoding of the optimal individual in the population. Δ θ i j represents the rotation angle. S ( α i j , β i j ) represents the directions of the rotation angles whose values are determined by the conditions in Table 1. The value of the rotation angle θ i is S ( α i j , β i j ) × Δ θ i j . This algorithm uses the rotation angle adaptive adjustment mechanism, by which the rotation angle is modified adaptively according to the individual fitness.
In Table 1, x j represents the j-th individual, and b i represents the i-th gene of the current optimal individual X b e s t t . f ( x ) represents the fitness of individual x. θ j represents the rotation angle step of the j-th individual, which is defined by Equation (7) [10].
θ j = f j f m i n f m a x f m i n ( K 2 K 1 ) + K 1 f m a x f m i n K 1 f m a x = f m i n
where K 1 represents the minimum rotation angle step, K 2 represents the maxmum rotation angle step and K 1 < K 2 .

3.3. Cooperative Mutation Mechanism Based on Gene Number and Fitness

The rotation angle adaptive adjustment mechanism can allocate a reasonable rotation angle step size according to the different fitness of individuals, reducing the optimization time, but it easily leads to the decline of population diversity in the later period, and the algorithm falls easily into a locally optimal solution. Based on self-adaptation, this paper proposes a cooperative mutation mechanism based on gene number and fitness, which increases the population diversity in the later stage of the algorithm and improves the optimization ability of the algorithm. The mutation operation is realized by exchanging the mutation bit probability amplitude according to mutation probability. For each individual, the mutation probability v j is determined by the results of the gene number and fitness calculation as shown in Equation (8)
v j = K 3 f m a x f j f m a x f m i n ( K 4 N g e n e ) f m a x f m i n K 3 ( K 4 N g e n e ) f m a x = f m i n
where K 3 , K 4 are coefficients of variation and K 4 > N g e n e .
It can be seen from Equation (8) that when the number of genes is constant, the individuals with higher fitness are assigned a lower mutation probability, which can protect their genes and improve the stability of the algorithm. On the contrary, individuals with a small fitness are assigned a higher mutation probability, which can prompt them to adjust their state more quickly and move closer to the optimal solution. When the number of genes is large, the mutation probability is low, which can ensure the stability of the algorithm and reduce the illegal individuals. Conversely, when the number of genes is small, the mutation probability is high, which can accelerate the convergence of the algorithm and improve the optimization speed.

3.4. Illegal Solution Adjustment Mechanism

In solving the optimization problem of network coding resources, excessive illegal individuals will reduce the optimization efficiency of the algorithm. In order to further improve the efficiency of the algorithm and reduce the number of illegal individuals, this paper proposes the illegal solution adjustment mechanism. For the illegal solution, the probability C P is equal to the optimal solution, as shown in Equation (9), where K 5 is a normal number less than 1.
C P = 0 f l a g = 1 K 5 f l a g = 0

3.5. Algorithm Procedure

The flow of adaptive quantum genetic algorithm based on the cooperative mutation mechanism of gene number and fitness is shown in Figure 4, where M A X G E N is the maximum evolutional generation set by the algorithm.

4. Experimental Analysis

In order to verify the effectiveness of GNF-QGA, this paper compares it with the traditional quantum genetic algorithm (QGA) and the quantum genetic algorithm based on the rotation angle adaptive adjustment mechanism (AM-QGA). The rotation angle step of the AM-QGA is shown in Table 1 and the mutation probability is 0.1.
The hardware and software environment used in this experiment is an Intel(R) Core(TM) i5-7300 HQ CPU with 4 cores and running with 2.50 GHz, 8 G RAM, Windows 10, CodeBlaocks 13.12, GCC 4.8.1. Each algorithm has a population size of 50 in the experiment. The maximum number of iterations is set to 1000. The relevant parameter settings for GNF-QGA are shown in Table 2.
The three test functions selected for the performance test of the algorithm in this paper are as follows:
1.
Unary function (shown in Equation (10)): This function is a simple, one-dimensional multi-peak function. The range of independent variables in this paper is a, and the maximum value of the function is around 3.805. The plot of this function is shown in Figure 5.
F 1 = x s i n ( 10 π x ) + 2.0
2.
Schaffer’s F6 function (shown in Equation (11)): This function has infinite local maxima, of which only one ( 0 , 0 ) is the global maximum and the maximum is 1. In this paper, the range of independent variables is 10 < 2 , y < 10 . There is a circular valley around the maximum peak of this function, and its value is 0.990283. It is easy to stop at this local maximum point. The plot of this function is shown in Figure 6.
F 2 = 0.5 s i n 2 x 2 + y 2 0.5 ( 1 + 0.001 ( x 2 + y 2 ) ) 2
3.
De Jong function (Shekel’s foxholes, shown in Equation (12)): The range of independent variables is 65.536 < x i < 65.536 . The function has multiple local maximum points, and it can be considered convergent when its function value is greater than 1. The plot of this function is shown in Figure 7
F 3 = 0.02 + j = 1 25 1 j + i = 1 2 x i a i j
where:
( a i j ) 2 × 25 = 32 16 0 16 32 32 16 0 16 32 32 32 32 32 32 16 16 32 32 32
The parameters of the algorithm and function in the test are set as follows: the coding accuracy for three test functions is 0.000001 ; the population size for the three algorithms’ solving function F 1 is 40 and the number of iterations is 100; the population size for the three algorithms’ solving function F 2 and F 3 is 100 and the number of iterations is 400. In AM-QGA, K 1 = 0.001 π , K 2 = 0.05 π , and the initial mutation probability p = 0.2 . The comparison results of QGA, AM-QGA, and GNF-QGA are shown in Table 3, in which the mean value means the mean value of the optimal solution obtained by three algorithms running 1000 times independently. When solving F 1 , AM-QGA and GNF-QGA run 1000 times independently can search the optimal solution, but QGA can not search the optimal solution each time. When solving F 2 , the mean value obtained by GNF-QGA is the highest, but the calculation time of GQA is the least. When solving F 3 , the calculation time of AM-QGA is less than that of GNF-QGA, but the mean value obtained by AM-QGA is the lowest, and the optimization effect of QGA is the worst. It can be seen that GNF-QGA has the best optimization effect on the above three continuous functions, but the high computational complexity leads to a long operation time.
For the optimization problem of network coding resources, this paper selects five networks with known topological structures. One of them is shown in Figure 8, in which S represents the source node and t represents the destination node. Its code number is 1 based on the exhaustive method. The remaining four networks are from [20], known as 3-copy, 7-copy, 15-copy, and 31-copy networks. Figure 9 explains the structure of the n-copy network. Figure 9a is the initial network and Figure 9b is the three-copy network made up of three initial networks. For the n-copy network, the source node is at the top and the destination node is at the bottom. The network coding multicast rate requirement selected in this paper is 2.
The parameters of four n-copy networks are shown in Table 4 including the number of nodes, number of sides, number of destination nodes, number of potential coding nodes, number of individual chromosome bits, maximum number of coding operations, and number of all the possible coding operations.
Table 5 shows the experimental results of the network coding problem. The mean number of iterations (MNI) is the average number of evolutionary generations finding the optimal solutions running 10 times. The MNIs of those that cannot find the optimal solutions are calculated by the maximum number of iterations. The occurrence number (ON) is the occurrence number of the optimal solutions in 10 runs, and the optimal solution is the optimal solution found by the algorithm—not necessarily the theoretically optimal solution.
As can be seen from Table 5, the proposed GNF-QGA has the best performance, with a faster convergence speed in solving simple networks. With the increase of network complexity, the advantages of GNF-QGA are gradually highlighted. In the 15-copy network, the search success rate of QGA and AM-QGA decreased, and GNF-QGA still maintained a success rate of 100%. In the 31-copy network, QGA did not find the optimal solution, AM-QGA found the optimal solution only once, and GNF-QGA found it 8 times. It can be seen that GNF-QGA has a strong optimization ability. The GNF-QGA mutation mechanism based on gene number and fitness can provide a more appropriate mutation probability for the population and avoid the premature convergence of the algorithm into a locally optimal solution. The illegal adjustment mechanism can reduce the proportion of illegal individuals and accelerate the convergence speed of the algorithm. Therefore, it can quickly find the optimal solution in the whole optimization process.
Figure 10 shows the relationship between the coding number and evolution generations in different algorithms solving 7-copy, 15-copy and 31-copy networks, from which we can see that the coding number of GNF-QGA is less than those of two other algorithms. Additionally, the coding number of GNF-QGA decreases the fastest, which indicates that its convergence speed is better than others. In Figure 10b, the search speed of QGA decreases significantly, and in Figure 10c, it is difficult for QGA and AM-QGA to find the optimal solution after 600 generations, indicating that it easily falls into a local optimal solution. The unique algorithm mechanism of GNF-QGA enables it to prevent premature convergence and maintain good optimization ability.
From the above experimental results, it can be found that GNF-QGA has the fastest convergence rate, especially in the early stage of the algorithm, and has the best global search ability and anti-early maturity ability. The convergence performance of AM-QGA is second only to GNF-QGA. The convergence performance and anti-local searchability of the QGA algorithm are the worst. Because of the adaptive adjustment mechanism and multi-operator co-evolution mechanism adopted by GNF-QGA, the search efficiency of the algorithm is greatly improved, the algorithm does not easily fall into a local optimum, and the performance is the best among the three algorithms. Because AM-QGA uses quantum bit coding, the population diversity is better than the genetic algorithm, so its algorithm performance is better than the QGA algorithm. In addition, from Figure 10, it can be found that QGA and AM-QGA algorithms cannot find the optimal solution after 500 generations when calculating graphs with a large amount of data, indicating that the quantum genetic algorithm very easily falls into the local optimum although it has a fast convergence speed. The GNF-QGA algorithm has a strong global search ability in solving the resource allocation network coding problem and can maintain the population diversity well in the later stage of the algorithm, easily jumping out of the local optimal solution. It can be concluded that the GNF-QGA algorithm with a multi-operator co-evolution mechanism has better stability and better global convergence performance after fully considering the distribution of population individuals and adjusting the mutation probability.

5. Conclusions

This paper proposes an adaptive quantum genetic algorithm based on the cooperative mutation of gene number and fitness (GNF-QGA) and applies it to the optimization of network coding resources. The fitness evaluation mechanism, rotation angle adaptive adjustment mechanism, the cooperative mutation mechanism based on gene number and fitness, and illegal solution adjustment mechanism are introduced in detail. The fitness evaluation mechanism can provide individual fitness for the algorithm. The rotation angle adaptive adjustment mechanism can dynamically allocate the rotation step length according to the individual fitness. The cooperative mutation mechanism based on gene number and fitness can provide a reasonable mutation probability and maintain population diversity. The illegal solution adjustment mechanism can avoid excessive illegal individuals and accelerate the convergence speed of the algorithm. Finally, GA, AM-QGA, and GNF-QGA are experimentally compared and analyzed. The experimental results show that the convergence speed and optimization ability of GNF-QGA proposed in this paper are higher than those of the other two algorithms in solving the optimization problem of network coding resources, showing strong comprehensive performance.

Author Contributions

Conceptualization, T.L. and H.Z.; methodology, Q.S.; validation, Q.W.; formal analysis, T.L.; investigation, T.L.; writing—original draft preparation, T.L.; writing—review and editing, H.Z.; visualization, Q.S.; supervision, Q.S.; project administration, H.Z.; funding acquisition, H.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by National Natural Science Foundation of China (No. U1534201).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Zhang, F.; Zhong, W.D. Performance Evaluation of Optical Multicast Protection Approaches for Combined Node and Link Failure Recovery. J. Light. Technol. 2009, 27, 4017–4025. [Google Scholar] [CrossRef]
  2. Rahman, M.S.; Parvin, N.; Ahmed, M.T.; Reza, M.S.; Homyara, H.; Enam, F. Detection of multiple failures in wavelength division multiplexed optical network using graph based light path restoration method. Int. J. Eng. Res. Appl. 2021, 1, 1398–1406. [Google Scholar]
  3. Hai, D.T. On optimal designs of transparent WDM networks with 1 + 1 protection leveraged by all-optical XOR network coding schemes. Opt. Fiber Technol. 2018, 40, 93–100. [Google Scholar]
  4. Mohandespour, K.M. Network coding-based protection. Opt. Switch. Netw. 2014, 11, 189–201. [Google Scholar]
  5. Ahlswede, R.; Cai, N.; Li, S.Y.; Yeung, R.W. Network information flow. IEEE Trans. Inf. Theory 2000, 46, 1204–1216. [Google Scholar] [CrossRef]
  6. Hong, Y.; Chen, L.K.; Zhao, J. Channel-Aware Adaptive Physical-Layer Network Coding Over Relay-Assisted OFDM-VLC Networks. J. Light. Technol. 2020, 38, 1168–1177. [Google Scholar] [CrossRef]
  7. Savva, G.; Manousakis, K.; Ellinas, G. Network Coding-based Routing and Spectrum Allocation in Elastic Optical Networks for Enhanced Physical Layer Security. Photonic Netw. Commun. 2020, 40, 160–174. [Google Scholar] [CrossRef]
  8. Hai, D.T. Network coding for improving throughput in WDM optical networks with dedicated protection. Opt. Quantum Electron. 2019, 515, 1–15. [Google Scholar] [CrossRef]
  9. Hai, D.T. Spectrum and network coding assignment problem for transparent flex-grid optical networks with dedicated protection. Comput. Commun. 2019, 147, 198–208. [Google Scholar] [CrossRef]
  10. Li, Z.; Li, B.; Lau, L.C. On achieving maximum multicast throughput in undirected networks. IEEE Trans. Inf. Theory 2006, 52, 2467–2485. [Google Scholar]
  11. Wang, G.; Guo, D.; Liu, A.; Zhang, B. High-throughput selective cooperation with complex field network coding in multiuser networks. IEEJ Trans. Electr. Electron. Eng. 2015, 9, 187–210. [Google Scholar] [CrossRef]
  12. Xing, H.; Song, F.; Yan, L.; Pan, W. On Multicast Routing With Network Coding: A Multiobjective Artificial Bee Colony Algorithm. China Communications. China Commun. 2019, 16, 160–176. [Google Scholar]
  13. Xing, H.; Song, F.; Yan, L.; Pan, W. A Modified Artificial Bee Colony Algorithm for Load Balancing in Network Coding Based Multicast. Soft Computing. Soft Comput. 2019, 23, 6287–6305. [Google Scholar] [CrossRef]
  14. Wang, Z.; Xing, H.; Li, T.; Yang, Y.; Qu, R.; Pan, Y. A Modified Ant Colony Optimization Algorithm for Network Coding Resource Minimization. IEEE Transactions on Evolutionary Computation. IEEE Trans. Evol. Comput. 2016, 20, 325–342. [Google Scholar] [CrossRef] [Green Version]
  15. Han, K.H.; Kim, J.H. Quantum-inspired evolutionary algorithm for a class of combinatorial optimization. IEEE Trans. Evol. Comput. 2002, 6, 580–593. [Google Scholar] [CrossRef] [Green Version]
  16. Ghasvari, H.; Raayatpanah, M.A.; Pardalos, P.M. A robust optimization approach for multicast network coding under uncertain link costs. Optim. Lett. 2016, 11, 1–16. [Google Scholar] [CrossRef]
  17. Ho, T.; Médard, M.; Koetter, R.; Karger, D.R.; Effros, M.; Shi, J.; Leong, B. A Random Linear Network Coding Approach to Multicast. IEEE Trans. Inf. Theory 2006, 52, 4413–4430. [Google Scholar] [CrossRef] [Green Version]
  18. Sehat, H.; Pahlevani, P. An Analytical Model for the Partial Intercept Probability in Sparse Linear Network Coding. IEEE Commun. Lett. 2020, 99, 1. [Google Scholar] [CrossRef]
  19. Xing, H.; Ji, Y.; Bai, L.; Sun, Y. An improved quantum-inspired evolutionary algorithm for coding resource optimization based network coding multicast scheme. Int. J. Electron. Commun. 2010, 64, 1105–1113. [Google Scholar] [CrossRef]
  20. Qu, Z.; Liu, X.; Zhang, X.; Xie, Y.; Li, C. Hamming-distance-based adaptive quantum-inspired evolutionary algorithm for network coding resources optimization. J. China Univ. Posts Telecommun. 2015, 22, 92–99. [Google Scholar]
Figure 1. Example of coding node.
Figure 1. Example of coding node.
Photonics 08 00502 g001
Figure 2. Decomposition of nodes.
Figure 2. Decomposition of nodes.
Photonics 08 00502 g002
Figure 3. Gene interpretation.
Figure 3. Gene interpretation.
Photonics 08 00502 g003
Figure 4. Algorithm precedure.
Figure 4. Algorithm precedure.
Photonics 08 00502 g004
Figure 5. Plot of test function F 1 .
Figure 5. Plot of test function F 1 .
Photonics 08 00502 g005
Figure 6. Plot of test function F 2 .
Figure 6. Plot of test function F 2 .
Photonics 08 00502 g006
Figure 7. Plot of test function F 3 .
Figure 7. Plot of test function F 3 .
Photonics 08 00502 g007
Figure 8. Plot of test function F 2 .
Figure 8. Plot of test function F 2 .
Photonics 08 00502 g008
Figure 9. Explanation of n-copy networks. (a) Initial network; (b) 3-copy network.
Figure 9. Explanation of n-copy networks. (a) Initial network; (b) 3-copy network.
Photonics 08 00502 g009
Figure 10. Comparison of evolution generations and coding numbers for different algorithms. (a) 7-copy network; (b) 15-copy network; (c) 31-copy network.
Figure 10. Comparison of evolution generations and coding numbers for different algorithms. (a) 7-copy network; (b) 15-copy network; (c) 31-copy network.
Photonics 08 00502 g010
Table 1. Rotation angle look-up table.
Table 1. Rotation angle look-up table.
x i j b i f ( x j ) f ( X best t ) Δ θ i j S ( α i j , β i j )
α i j , β i j > 0 α i j , β i j > 0 α i j = 0 β i j = 0
00 f a l s e θ 1 j = 0 ----
00 t r u e θ 2 j = 0 ----
01 f a l s e θ 3 j = θ j + 1 1 0 ± 1
01 t r u e θ 4 j = θ j 1 + 1 ± 1 0
10 f a l s e θ 5 j = θ j 1 + 1 ± 1 0
10 t r u e θ 6 j = θ j + 1 1 0 ± 1
11 f a l s e θ 7 j = 0 ----
11 t r u e θ 8 j = 0 ----
Table 2. Parameter settings for GNF-QGA.
Table 2. Parameter settings for GNF-QGA.
ParametersSettings
Minimum rotation angle step K 1 0.01 π
Maximum rotation angle step K 2 0.05 π
Mutation coefficient K 3 0.0016
Mutation coefficient K 4 200
Illegal solution adjustment constant K 5 0.1
Table 3. Test results and comparison of typical functions.
Table 3. Test results and comparison of typical functions.
FunctionsAlgorithmMean Computation TimeOptimum ValueMean Value
F 1 QGA3.10943.85033.8491
AM-QGA10.29693.85033.8503
GNF-QGA11.78133.85033.8503
F 2 QGA2.11331.00000.9913
AM-QGA8.02821.00000.9927
GNF-QGA9.13751.00000.9987
F 3 QGA5.46281.02000.9121
AM-QGA20.89141.02000.9362
GNF-QGA22.76561.02000.9857
Table 4. Parameters of networks.
Table 4. Parameters of networks.
Network3-Copy7-Copy15-Copy31-Copy
Number of nodes194391187
Number of sides3070150310
Number of
destination nodes
481632
Number of potential
coding nodes
7194391
Number of individual
chromosome bits
3498226482
Maximum number of
coding operations
154399211
Number of all possible
coding operations
32,7688.79 × 10 12 6.33 × 10 29 3.29 × 10 63
Table 5. Experiment results.
Table 5. Experiment results.
NetworksAlgorithmMNIONOptimal Solution
Figure 8QGA8.4100
AM-QGA6.3100
GNF-QGA4100
3-copyQGA57.9100
AM-QGA38.2100
GNF-QGA28.3100
7-copyQGA301.4100
AM-QGA6181.7100
GNF-QGA147100
15-copyQGA807.550
AM-QGA449.090
GNF-QGA303.0100
31-copyQGANG03
AM-QGA952.110
GNF-QGA563.180
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liu, T.; Sun, Q.; Zhou, H.; Wei, Q. Optimization of Network Coding Resources Based on Improved Quantum Genetic Algorithm. Photonics 2021, 8, 502. https://doi.org/10.3390/photonics8110502

AMA Style

Liu T, Sun Q, Zhou H, Wei Q. Optimization of Network Coding Resources Based on Improved Quantum Genetic Algorithm. Photonics. 2021; 8(11):502. https://doi.org/10.3390/photonics8110502

Chicago/Turabian Style

Liu, Tianyang, Qiang Sun, Huachun Zhou, and Qi Wei. 2021. "Optimization of Network Coding Resources Based on Improved Quantum Genetic Algorithm" Photonics 8, no. 11: 502. https://doi.org/10.3390/photonics8110502

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop