scieee AI-readable full text Open interactive document viewer

Robustness optimization via link additions

Sánchez Martínez, Mari Carmen

Abstract

Robustness is the ability of networks to avoid malfunction. Networks could be subject to failures, viruses, removals of links and other attacks. There are several researches about how to measure or improve the network robustness in large networks by doing small modifications such as adding new links or nodes. A small network modification is required because setting up links in real-world networks is expensive. Different metrics can be used in order to measure robustness. This project focuses on the algebraic connectivity as the way of measuring connectivity. The main statement is that the larger the algebraic connectivity is, the more difficult to disconnect the network is. The goal of this project is to design strategies to add a number (or a certain percentage) of links to a network such that the algebraic connectivity can be increased the most. Insights may come from results in mathematics, or the strategies for adding one link. In summary, the idea consists of optimizing a network in terms of algebraic connectivity by means of link additions. Finally, different strategies will be evaluated on different types of networks such as the Barabasi-Albert power law graphs or Erdös-Rényi random graphs.

Full text

. Robustness optimization via link additions Mari Carmen Sánchez Martínez Student number 1558579 DIRECTOR: Piet Van Mieghem- Fernando Kuipers SUPERVISOR: Huijuan Wang – Javier Martín DATE: 13-07-2009 Copyright ©2009 by M.C.Sánchez Martínez All rights reserved. No part of the material protected by this copyright may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying, recording or by any information storage and retrieval system, without the permission from the author and Delft University of Technology. TITLE: Robustness optimization via link additions AUTHOR: Mari Carmen Sánchez Martínez DIRECTOR: Piet Van Mieghem SUPERVISOR: Huijuan Wang – Javier Martín DATE: 13-07-2009 Overview Robustness is the ability of networks to avoid malfunction. Networks could be subject to failures, viruses, removals of links and other attacks. There are several researches about how to measure or improve the network robustness in large networks by doing small modifications such as adding new links or nodes. A small network modification is required because setting up links in real-world networks is expensive. Different metrics can be used in order to measure robustness. This project focuses on the algebraic connectivity as the way of measuring connectivity. The main statement is that the larger the algebraic connectivity is, the more difficult to disconnect the network is. The goal of this project is to design strategies to add a number (or a certain percentage) of links to a network such that the algebraic connectivity can be increased the most. Insights may come from results in mathematics, or the strategies for adding one link. In summary, the idea consists of optimizing a network in terms of algebraic connectivity by means of link additions. Finally, different strategies will be evaluated on different types of networks such as the Barabasi-Albert power law graphs or Erdös-Rényi random graphs. ÍNDEX INTRODUCTION ................................................................................................9 CHAPTER 1. NETWORK ROBUSTNESS.......................................................10 1.1. Complex Networks...........................................................................................................10 1.2. Algebraic connectivity.....................................................................................................11 CHAPTER 2. COMPLEX NETWORK MODELS..............................................15 2.1. Models...............................................................................................................................15 2.1.1. Erdös- Rényi (ER) random graph .........................................................................15 2.1.2. The Barabasi-Albert (BA) power law graph ..........................................................16 2.1.3. Comparison between models ...............................................................................17 CHAPTER 3. BACKGROUND INFORMATION...............................................18 3.1 Link addition strategies...................................................................................................18 3.2 Previous research............................................................................................................19 3.3 Used software ..................................................................................................................20 CHAPTER 4. SIMULATIONS DEFINITION .....................................................21 4.1 Parameters of simulations..............................................................................................21 4.2 Implementation ................................................................................................................22 4.3 Strategies..........................................................................................................................23 4.3.1 Strategy 1: random addition..................................................................................24 4.3.2 Strategy 2: minimum degree node........................................................................24 4.3.3 Strategy 3: eigenvector.........................................................................................25 4.3.4 Strategy 4: 20 minimum degree nodes.................................................................26 4.3.5 Strategy 5: maximum degree node.......................................................................27 4.3.6 Strategy 6: Link by link addition ............................................................................28 CHAPTER 5. SIMULATION RESULTS ...........................................................29 5.1 Barabasi-Albert Results ..................................................................................................31 5.1.1 Results of strategies 1, 2 and 3 ............................................................................31 5.1.2 Results of strategy 4 .............................................................................................32 5.1.3 Results of strategy 5 .............................................................................................33 5.1.4 Results of strategies 1, 2 and 3 with lower m .......................................................35 5.1.5 Average values .....................................................................................................35 5.2 Erdös-Rényi Results........................................................................................................38 5.2.1 Results of strategies 1, 2 and 3 ............................................................................38 5.2.2 Results of strategy 4 .............................................................................................39 5.2.3 Results of strategy 5 .............................................................................................40 5.2.4 Results of strategies 1, 2 and 3 with lower p ........................................................41 5.2.5 Average values .....................................................................................................42 5.3 Comparison of results between models........................................................................43 5.4 Link addition one by one.................................................................................................46 5.4.1 Barabasi-Albert .....................................................................................................46 5.4.2 Erdös-Rényi ..........................................................................................................48 5.5 Other simulations ............................................................................................................50 CHAPTER 6. CONCLUSIONS.........................................................................52 CHAPTER 7. FUTURE RESEARCH................................................................54 CHAPTER 8. ACKNOWLEDGEMENTS..........................................................55 CHAPTER 9. BIBLIOGRAPHY........................................................................56 APPENDIX A.HISTOGRAM GENERATION....................................................59 APPENDIX B. A(G) IMPROVEMENT (NUMERICAL RESULTS)....................61 Introduction 7 ÍNDEX OF FIGURES, TABLES AND EQUATIONS Figure 1 Network with N=8 nodes and L=13 links Page 11 Figure 2 Obtention of the 2 nd smallest eigenvalue from the Laplacian matrix Page 13 Figure 3 Comparison between random and power law network distributions Page 17 Figure 4 Output’s file structure Page 22 Figure 5 Strategy 1 implementation in ER and BA model Page 24 Figure 6 Strategy 2 implementation in ER and BA model Page 25 Figure 7 Strategy 3 implementation in ER and BA model Page 26 Figure 8 Strategy 4 implementation in ER and BA model Page 26 Figure 9 Strategy 5 implementation in ER and BA model Page 27 Figure 10 Strategy 6 implementation in ER and BA model Page 28 Figure 11 Commands to compile and launch the program usedlinks.c in the cluster Idefix Page 29 Figure 12 IGOR por interface and results Page 30 Figure 13 Algebraic connectivity in BA model after adding 10, 20, 30 and 50 links with m=3 using strategies 1, 2 and 3 Page 32 Figure 14 Algebraic connectivity in BA model after adding 10 and 50 links with m=3 using strategies 1, 3 and 4 Page 33 Figure 15 Algebraic connectivity in BA model after adding 10 and 50 links with m=3 using strategies 1, 3 and 5 Page 33 Figure 16 Five strategies comparison after adding 10 and 50 links. In a network with 100 nodes and m equal to 3 Page 34 Figure 17 Algebraic connectivity in BA model after adding 10 and 50 links with m=1 using strategies 1, 2 and 3 Page 35 Figure 18 Improvements in a(G) after adding 10 and 50 links with all the strategies and with reference to the original network Page 36 Figure 19 Acquisition of the waves’ average value to corroborate the results Page 37 Figure 20 Average of the algebraic connectivity after the addition of links using different strategies (BA model) Page 37 Figure 21 Algebraic connectivity in ER model after adding 10, 20, 30 and 50 links with p=0.6 using strategies 1, 2 and 3 Page 39 Figure 22 Algebraic connectivity in BA model after adding 10 and 50 links with p=0.6 using strategies 1, 3 and 4 Page 39 Figure 23 Algebraic connectivity in BA model after adding 10 and 50 links with m=3 using strategies 1, 3 and 5 Page 40 Figure 24 Comparison of the algebraic connectivity in ER model with p equal to 0.6 and between the addition of 10 and 50 links using all the strategies Page 41 Figure 25 Algebraic connectivity in ER model after adding 10, 20, 30 and 50 links with p=0.06 using strategies 1, 2 and 3 Page 41 Figure 26 Improvement in a(G) after adding 10 and 50 links with all the strategies and with reference to the original network Page 42 Figure 27 Average of the algebraic connectivity after the addition of links using different strategies (ER model) Page 43 Figure 28 Comparison between the results of BA and ER models after the addition of 10 links with strategies 1 2 and 3 Page 44 Figure 29 Comparison between the results of BA and ER models, after the addition of 50 links with strategies 1, 2 and 3 Page 44 8 Chapter 1. Network Robustness Figure 30 Average comparison of the algebraic connectivity after the addition of links using different strategies Page 45 Figure 31 Algebraic connectivity in BA model after the addition of 10 and 50 links using strategies 3 and 6 Page 46 Figure 32 Algebraic connectivity in BA model after the addition of 10 links using strategies 1, 2 and 6 Page 47 Figure 33 Algebraic connectivity in BA model after the addition of 10 and 50 links using strategies 3 and 6 Page 48 Figure 34 Algebraic connectivity in BA model after the addition of 10 and 50 links using strategies 1, 2 and 6 Page 49 Figure 35 Evaluation of algebraic connectivity between maximum and minimum degree nodes (ER with N=100 and p=0.4) Page 50 Figure 36 Evaluation of algebraic connectivity between maximum and minimum degree nodes (BA with N=100 and m=3) Page 51 Table 1 Average algebraic connectivity using different strategies (BA) Page 47 Table 2 Average increase in algebraic connectivity using different strategies (BA) Page 48 Table 3 Average algebraic connectivity using different strategies (ER) Page 49 Table 4 Average increase in algebraic connectivity using different strategies (ER) Page 49 Table 5 Other simulations: Average algebraic connectivity using different strategies (ER) Page 51 Table 6 Other simulations: Average algebraic connectivity using different strategies (BA) Page 51 Equation 1.1 Algebraic connectivity Page 11 Equation 1.2 Definition of algebraic connectivity Page 11 Equation 1.3 Laplacian matrix Page 11 Equation 1.4 Laplacian spectrum Page 12 Equation 1.5 Theorem 1 about algebraic connectivity Page 12 Equation 1.6 Theorem 2 about algebraic connectivity Page 12 Equation 1.7 Algebraic distance. Condition 1 Page 14 Equation 1.8 Algebraic distance. Condition 2 Page 14 Equation 1.9 Algebraic distance between two points Page 14 Equation 1.10 Algebraic distance. Triangle inequality Page 14 Equation 2.1 Power law distribution function Page 16 Equation 2.2 Probability that a links is attached to a node Page 16 Equation 3.1 Set of N Laplacian eigenvalues Page 19 Equation 4.1 Algebraic connectivity definition Page 30 Equation 4.2 Average algebraic connectivity definition Page 30 Equation 4.3 Increase in the algebraic connectivity definition Page 30 Equation 5.1 Link probability ER and BA model Page 43 Introduction 9 INTRODUCTION Complex networks describe a wide range of systems, with nontrivial topological features, in nature and society. These networks have patterns of connections between their elements that are neither pure regular nor pure random. There are different ways of measuring robustness of networks and this project focuses on the increase of the algebraic connectivity of a graph. Algebraic connectivity corresponds to the second smallest eigenvalue of the Laplacian matrix. In order to calculate it, it is important to know the topology or the structure information of complex networks. This information will be obtained from the associated adjacency, Laplacian and other matrixes that describe the topology of the network. Different types of complex networks are considered. Traditionally, the model of Erdös-Rényi random graph was used. Other models, such as the small-world and the scale-free graphs, are growing due to the small world and power law degree distributions observed in empirical networks. The main goal of this project is to evaluate which is the best way to add a certain number of links in a network so that the algebraic connectivity a(G) can be increased the most. Furthermore, the influence of the number of links added to the network on the overall improvement has been studied. The report is organized as follows. Chapter 1 introduces the concept of network robustness and the background about algebraic connectivity. Chapter 2 describes the complex network models that have been implemented and their features. Next chapters are focused on the simulation. Whereas chapter 3 tries to make a background about the simulations, chapter 4 defines the simulations and chapter 5 encloses the results of all the simulations. Finally, Chapter 6 summarizes the conclusions of this work and chapter 7 takes into account the future work that can be done in this research area. 16 Chapter 2 .Complex network models 2.1.2. The Barabasi-Albert (BA) power law graph Barabasi-Albert is a model for evolving networks. This model is a scale-free graph that implies a non trivial robustness to random node and link failures. The scale free networks are the ones whose degree distribution (2.1) follows a power law. The power law implies that the degree distribution of these networks has no characteristic scale. )( )( r kkP − ≈ (2.1) Where, r is the degree exponent. Barabasi [10] introduced the concept of growth and preferential attachment of nodes. Nodes with larger degree are more likely candidates to be attached by new nodes. To sum up, the probability of being connected is proportional to the degree d i of the node. The resulting graph possesses a power-law degree distribution. Moreover, links are undirected, so there is no distinction between in and out degrees. The model starts with a number m 0 of fully-meshed nodes. It is important to mention that 2 0 ≥m . New nodes are added to the network one by one. Each node is connected to m existing nodes in the network. An existing node is chosen to be connected to the new node with a probability proportional to the degree of this node. Hence, new nodes are preferentially linked with the most connected nodes of the network. The probability p i that a new node is linked with i is (2.2): ∑ = j j i i k k p (2.2) Where, k i is the degree of the node i. We are in front of an inhomogeneous network where most nodes have very few connections and only a small number of nodes have many connections. This feature makes this type of networks error tolerant but really vulnerable to attacks. Error tolerant means that they have a robust connectivity against random failures but the problem appears if the most connected node is removed, attacked or if it fails, then we lose the connection between a high number of nodes. Power law degree distribution is followed by many natural and artificial networks such as scientific collaboration or World Wide Web. Chapter 2. Complex network models 17 2.1.3. Comparison between models The network robustness subject to link failures differ between the ER random graphs and BA power law graphs. Hence, it is important to consider both models and to make a comparison between them. Figure 4 shows the difference between BA power law network and ER random graph. Y axis represents the number of nodes with k links and x axis the number of links k. In the random graph, most nodes have the same number of links and there are no highly connected nodes. Furthermore, a small number of nodes have few or no links. The tail (high k region) of the degree distribution P(k) decreases exponentially, which indicates that nodes that significantly deviate from the average are extremely rare. On the other side, power law degree distribution shows that there are many nodes with only a few links and few nodes with a large number of links. We can call these nodes hubs. This situation is generated by the preferential attachment. Figure 3. Comparison of degree distribution between ER random graph and power law network 18 Chapter 3. Background Information CHAPTER 3. BACKGROUND INFORMATION The aim of the project is to optimize the robustness of the network by adding a set of links between different pair of nodes that are not still connected. Topological features of the node pairs have to be considered. The aim of this section is to provide a background about other researches and studies concerning the same topic and to define the software that is going to be used in the simulations. 3.1 Link addition strategies A series of strategies for adding links have been established. The goal is to analyze the behaviour of the network in terms of robustness, which is characterized by the algebraic connectivity, when a certain number of links are added. Specifically, we evaluate the influence of the number of added links and the strategies applied on the algebraic connectivity. Being N the number of nodes and L the number of links, the number of possibilities of adding a link between two non-connected nodes in a network G(N,L) is 2 N L   −     . The node pair {i,j} where we add a link can be selected based on some properties of the node pair such as the node degree and the distance between the two nodes. As we have mentioned before, two models have been taken into account, the Erdös-Rényi and the Barabasi-Albert model. The research is carried out independently but in a comparative way over these two models. We propose the following strategies to add a number of links such that the algebraic connectivity can be increased as much as possible. Some of them are based on topological metrics of nodes, while others on the eigenvector properties of the network. - Addition of links in a random way. - Addition of links between the minimum degree node to a random no connected node. - Addition of links taking into account algebraic distance (eigenvector) so that to add a link between a node pair with the maximum i j u u − , the absolute difference between the i-th and j-th elements of the Fiedler vector u of G. As we have explained before, the Fiedler vector u is the eigenvector corresponding to the second smallest eigenvalue of the Laplacian matrix of the graph. The set of links can be added one by one recursively or they can be added at once to the set of nodes pairs with the maximum eigenvector distance i j u u − . Chapter 3. Background Information 19 - Addition of a certain number of links between pairs of nodes with the minimum degree. - Addition of links between the maximum degree nodes to random nonconnected ones. There are two options for link additions. The set of links can be added once based only on the original graph. Otherwise, the set of links can be added one by one based on the updated network structure and calculate the second smallest eigenvalue each time a link is added to the network in order to do a precise calculation step by step and to add a link one by one instead of all together. The drawback of the latter is the high amount of needed resources. As we will see in future chapter there are strategies where the result is equal in both types of links addition. To implement the simulations a set of initial parameters have been defined, such as the number of nodes or the link density of the node. These parameters will be explained in next section. The number of links that are going to be added is variable between 10 and 50 depending on the simulation. If a link e is added to the network G the Laplacian spectrum (set of all N Laplacian eigenvalues) corresponds to the Equation (3.1) 1 1 1 1 0 ( ) ( ) ( ) ( ) ... ( ) ( ) N N N N G G e G G e G G e µ µ µ µ µ µ − − = = + ≤ ≤ + ≤ ≤ ≤ + (3.1) 3.2 Previous research It is well known that graphs with large a(G) have many applications. Extensive simulations show that the algebraic connectivity increases with the increasing node and link connectivity, implying that the algebraic connectivity is a good measure of robustness in complex networks [9]. On the other hand there is a difficulty of applying strategies to optimize the algebraic connectivity by adding a link based on topological characteristic. This is due to the fact that a strategy that works for a given type of graph may not work in other types of networks. Another feature proved by Juhaz [11] is the asymptotic behaviour of the algebraic connectivity in Erdös-Rényi random graph Gp(N). Previous researches about the best way of adding one link are in literature [12]. Insights can be obtained from the optimization of the algebraic connectivity via one link addition. For example, the addition of 1 link between a pair of nodes with the maximum algebraic distance performs generally better than adding links between nodes that have been randomly chosen. It happens in both models (ER and BA). Recall that the algebraic connectivity of a graph is a measure of robustness regarding to connectivity. 20 Chapter 3. Background Information 3.3 Used software Different software has been used in order to program the strategies, to analyze the obtained data and so on. Simulations have been obtained by creating a C code that computes the second and third smallest eigenvalues of a network depending on different parameters and models. It allows the implementation of the six different strategies and it fits all the requirements of the project. Chapter 4 explains in detail the features of the program. The code has been created with PSPad editor. PSPad editor is a free editor of Microsoft Windows that allows the use of different programming environments and it has syntax highlighting. It is useful to use this software in order to create the strategies and store the data. It is easier to modify the code with this program than by console using pico or vi editors. When the code is ready it is uploaded to TUDelft cluster where the simulations are carried out. For this action WinSCP is used. TUDelft cluster has all the needed libraries and files required for the proper work of the program. The clusters’ name is asterix.et.tudelft.nl and idefix.et.tudelt.nl, the latter was used in substitution of the first one due to technical problems. Once the simulation finished a file is generated. The output file is exported and analyzed with Igor Pro software. IGOR PRO is registered software of Wavemetrics. It is a powerful and extensible scientific graphing, data analysis, programming software tool, etc. Moreover, there is a wide range of manuals and examples explaining how to use it and it is customizable depending on the requirements of the project. A graph can be created by means of the definition of the waves. The term “wave” is used to describer an Igor object that contains an array of numbers. The purpose is to store, analyze, transform and display waves. A histogram is a type of graph that shows the variability of a process (its distribution). It consists of a number of bins of equal width, starting at a particular X value. The number of bins is determined by the number of points in the destination wave. After the histogram, each data value of the destination wave contains a count of the number of data values in the source wave which fall in a given bin. Finally, this information is used for obtaining the results. Chapter 4. Simulations Definition 21 CHAPTER 4. SIMULATIONS DEFINITION Some parameters have to be settled before doing the simulations. Moreover, it is important to have a clear view about the simulation process and the features of the strategies. This chapter tries to clarify all these concepts. 4.1 Parameters of simulations The simulations are carried on fixed initial parameters in each of the studied models to analyze and to compare the obtained results. Lets G(N,L) be a simple graph on the node set N={1,…,N} of N nodes. We consider only undirected graphs. The degree of a node is denoted by d i . For each combination of N and p we are going to generate 10 4 independent G p (N) graphs. On the other hand, we have to set a link probability p, which represents the density of the ER random graph Gp(N) and the average degree m of the BA power law graphs. The values of the initial parameters are detailed below. 1- Barabasi-Albert model a. Number of nodes N =100 b. Link density p = 2 ( 1) m N − Average degree (m) = 3 (for large N) c. Number of added links l ranges from 10 to 50. 2- Erdös-Rényi: a. Number of nodes N=100 b. Link density p = log N N α . Hence α is an arbitrary value that can be chosen. Link density is equal to 0.4 or 0.06 depending on the simulation. c. Number of added links l ranges from 10 to 50. The value of the link probability can also change in order to evaluate different types of networks. The selection of p value in Erdös Rényi is a critical point due to the fact that p has influence on the behaviour of the system. When the link density is smaller than the critical link density p c there are few links and many small disconnected components. On the other hand, if we have a high density p that is larger than p c an extensive fraction of nodes is joined together forming a single giant component. 22 Chapter 4. Simulations Definition Another previous consideration is that all the nodes and links are equal. It is an undirected network with only a single type of node and link. 4.2 Implementation The results of the simulations come from a code that computes the second and third smallest eigenvalue of the Laplacian matrix depending on different parameters and models. The C program has been programmed in order to fit the requirements of the project and to implement the explained strategies. Firstly, it is important to understand the program. The main function has the declaration of the variables, the definition of the original network and the functions where the strategies for link addition are programmed. Three different files are involved in the simulations: usedlinks.c, inputfile and linkeigQ3way.ran (outputfile). Usedlinks.c includes the code of all the strategies that are going to be implemented, inputfile includes the input parameters of the simulations ( we call parameters values such as number of nodes, probability of link addition or number of added links). Finally, linkeigQ3way.ran is the output file that is created once the simulation has finished and where the obtained information is stored in order to be saved. An example of the output file appears in Figure 5. It includes the second and third smallest eigenvalue of the original network and the algebraic connectivity after implementing each strategy. 1 1.290305 1.542674 1.628558 1.698495 1.760493 2 0.946163 1.391401 1.849190 1.997484 2.012504 3 1.264425 1.407968 1.562888 1.618135 1.819350 4 1.369407 1.514684 1.785661 1.874557 1.903305 5 1.466389 1.492758 1.820102 1.853949 1.871667 6 1.257033 1.440381 1.754741 1.805083 1.845658 7 1.349457 1.390890 1.819687 1.893751 1.954225 8 1.374437 1.433676 1.752328 1.793985 1.796964 9 1.378839 1.477938 1.673537 1.809277 1.821798 10 1.347613 1.403327 1.725357 1.814721 1.941394 Figure 5. Output’s file structure (10/10000 rows) We are going to explain the main file usedlinks.c and especially how the strategies are programmed. We have to pay attention to important functions which are the generation of graphs and the function to calculate the second smallest eigenvalue of the Laplacian matrix. Moreover, two models are taken into account, Erdös-Rényi (ER) and Barabasi-Albert (BA). Iteration a(G 0 ) µ 3 a(G 1 ) a(G 2 ) a(G 3 ) Chapter 4. Simulations Definition 23 For computing all the eigenvalues of the Laplacian matrix we have used LAPACK implementation of the QR-algorithm. LAPACK is a Linear Algebra Package written in Fortran90 and provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. This section of usedlinks.c also contains the definition of all the parameters and libraries that are going to be used, the obtaining of the parameters that the user writes in the inputfile, the memory allocation and the generation of the original network and its matrixes. In this first section, the calculation of the eigenvalues corresponds to the case of the original network, without any link addition. Next step is to apply the strategies in order to add the links. Strategies are adaptable to the number of links that the user wants to add. Each strategy (function) returns the second smallest eigenvalue (algebraic connectivity) after the addition of links. This result is written in linkeigQ3way.ran updating the files with the results of each of the 10 4 independent graphs. There is a common code in all the strategies which function is: - Initialize the adjacency matrix after every link addition - Change the value of the number of adjacent nodes and set the linkcount to one every link addition. The linkcount is the value that shows if a pair of nodes is still connected or not. Finally, the code is executed using the Makefile and Putty software in TUDelft cluster Asterix / Idefix. 4.3 Strategies The aim of this section is to explain explicitly the strategies that have been mentioned in chapter 2 to understand better how they work. Three of the strategies are derived from previous research on adding one link [12]. A set of links are added. Another three are new ones. An example about where the links are going to be added is included on each description. The sample network has 5 nodes and 5 links between them. 24 Chapter 4. Simulations Definition 4.3.1 Strategy 1: random addition Strategy one is the simplest one and it adds links in a random way between nodes that are not connected yet. Information about the nodes (for example the degree of the node) is not needed to apply this strategy. Figure 5. Addition of 2 links using strategy 1 (ER and BA model) A link is added randomly between two nodes that are not connected. Given l links are going to get added into the network, the process of adding one link is repeated l times. The adjacency matrix is updated whenever a link is added. See Figure 5. There is a checking function to know if there is already a link between both nodes or if we are selecting the same node for both ends of the link. After the l links have been added the eigenvalues (second smallest eigenvalue) are computed. 4.3.2 Strategy 2: minimum degree node Strategy two involves adding links between the minimum degree node in the network and a random other one. The idea is to increase the connection of the lowest degree node with the rest of the network in order to avoid its possible low performance. Chapter 4. Simulations Definition 25 Figure 6. Addition of 4 links using strategy 2 (ER and BA model) As you can see in Figure 6 the link is always added between the node with the lowest degree and another one selected randomly. If more than one nodes have the same lowest degree, one of them will be selected. To implement this strategy we need local information, specifically, the degree of the nodes in the network. The strategy finds which node has the lowest degree and adds a link between this node and another random one. The next step is, as in previous strategy, modify the adjacency and Laplacian matrix by including the link added. After that, the addition is done between the lowest degree node and a random node. There is also a checking function in order to know if there is already a link between both nodes or if we are selecting the same node for both ends of the link. After the addition of the complete number of links the calculation of the eigenvalue (second smallest eigenvalue) is done and placed in the result file. 4.3.3 Strategy 3: eigenvector Strategy 3 adds links based on the algebraic distance (eigenvector). A link is added between a node pair with the maximum i j u u − . It corresponds to the maximum absolute difference between the i-th and j-th elements of the Fiedler vector of G. This strategy is based on the fact that )( 1 eG N + − µ tends to be large if ji uu −= α is large [12]. The drawback of this strategy is that we need to have the knowledge of the topology of the whole network. 32 Chapter 5. Simulation Results 7 6 5 4 3 2 1 0 frequency 1.71.61.51.41.31.21.1 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) 6 5 4 3 2 1 0 frequency 1.81.61.41.2 2nd smallest eigenvalue a(G0(L)) a(G1(L+20)) a(G2(L+20)) a(G3(L+20)) 6 5 4 3 2 1 0 frequency 2.01.81.61.41.2 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+30)) a(G 2 (L+30)) a(G 3 (L+30)) 6 5 4 3 2 1 0 frequency 2.42.22.01.81.61.41.2 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 2 (L+50)) a(G 3 (L+50)) Figure 13. Algebraic connectivity in Barabasi-Albert model after adding 10,20,30 and 50 links with N=100 and m=3 using strategies 1,2 and 3. 5.1.2 Results of strategy 4 The next step is to evaluate strategy 4. It consists of adding a link between a certain numbers of minimum degree nodes. Four cases have been considered: from the addition of 10 links between 20 nodes with the smallest degrees until the addition of 50 links taking into account all the nodes of the network. The selection of the number of nodes has not followed any rule but the idea is to add a link between the node with the minimum degree and the next one following an increasing order. Therefore, the number of nodes to be selected doubles the number of links to be added. In conclusion, we are adding links between pairs of nodes with similar degree. The results of the simulation show how strategy 3 continues being the one that performs better in front of the others. It is also visible that the improvement by strategy 4 is not high if the number of added links is low. This situation is due to the fact that adding a link between both nodes with the minimum degree can not generate a high improvement. Strategy 1 has similar performance (when 10 links are added) because the random selected nodes probably have low degree because in BA power law graphs there are a high number of nodes with few connections. The performance of strategy 4 seems to be close to that of strategy 2 where links are added between the minimum degree node and a random one. There are a high quantity of nodes with low degree and few nodes with high degree. The probability that a random node possesses a low degree node is high. Chapter 5. Simulation Results 33 Thus, adding to add a link between two nodes with minimum degree is approximately the same as adding a link between the minimum degree node and a random one. See Figure 14. 7 6 5 4 3 2 1 0 frequency 1.61.41.21.0 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 3 (L+10)) a(G 4 (L+10)) 6 5 4 3 2 1 0 frequency 2.22.01.81.61.41.21.0 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 3 (L+50)) a(G 4 (L+50)) Figure 14. Algebraic connectivity in Barabasi-Albert model after adding 10 and 50 links with N=100 and m=3 using strategies 1,3 and 4. 5.1.3 Results of strategy 5 Strategy 5 involves adding a link between the maximum degree node and a certain number of nodes of the network. When 10 links are added to the network all of them are added between the maximum degree node and the rest of the nodes. However, when there is an addition of 50 links, depending on the link density, it could be impossible to add all of them to the maximum degree node. For this reason, the maximum degree node will withstand as much links as he can and then the others will be added between the second maximum degree node of the network and a random one and so on. As you can see in the following graphs (Figure 15) strategy 5 performs similar to strategy 2, It does not improve too much the algebraic connectivity until the number of added links is high. The results after the addition of 50 links seem to be similar to strategy 3 and it is better than strategy 2 and 4. 7 6 5 4 3 2 1 0 frequency 1.81.61.41.21.0 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 5 (L+10)) a(G 3 (L+10)) 6 4 2 0 frequency 2.42.01.61.2 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 3 (L+50)) a(G 5 (L+50)) Figure 15. Algebraic connectivity in Barabasi-Albert model after adding 10 and 50 links with m=3 using strategies 1,3 and 5. 34 Chapter 5. Simulation Results Finally, the best way to evaluate the overall performance of the strategies is making a comparison between all of them. Figure 16 shows the value of the algebraic connectivity after adding 10 and 50 links with all five initial strategies. 6 5 4 3 2 1 0 frequency 2.42.22.01.81.61.41.21.0 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) a(G 4 (L+10)) a(G 5 (L+10)) a(G 1 (L+50)) a(G 2 (L+50)) a(G 3 (L+50)) a(G 4 (L+50)) a(G 5 (L+50)) Figure 16. Five strategies comparison after adding 10 and 50 links. In a network with N=100 and m equal to 3. (Barabasi-Albert) It is important to mention that the previous and next statements have to be corroborated with average values. This is due to the fact that although the histogram of a variable contains more information than the average of a random variable, some waves of the histograms are very close to each other and it is difficult to notice the concrete value by only having a look to them. From Figure 16 we can extract that as we have said before the a(G) increases proportionally as the number of links increases. All the strategies improve a(G) but the best ones in terms of increasing a(G) are strategy 3, 2 and 5. We are going to check the exact difference between strategies obtaining the average algebraic connectivity and the average increase of algebraic connectivity with reference to the original network. Then we will be able to observe for example how after the addition of 10 links the difference between strategy 4 and 5 and between strategy 2 and 3 is noticeable whereas when we add 50 links the value of the algebraic connectivity is close among them. Chapter 5. Simulation Results 35 5.1.4 Results of strategies 1, 2 and 3 with lower m Furthermore, it is interesting to evaluate the performance of the strategies while changing the value of average degree m of the BA model. A lower m means that there is less links between the nodes so the network is tree-like. Concretely, we choose m =1. The performance is similar to the previous simulation where m is equal to three. Strategy 3 performs better than the other two when the addition of links is 10. But as the number of links increases the difference between strategy 2 and 3 is smaller than the case of m = 3 (See Figure 17) 60 50 40 30 20 10 0 frequency 0.120.080.04 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) 60 50 40 30 20 10 0 frequency 0.60.50.40.30.20.1 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 2 (L+50)) a(G 3 (L+50)) Figure 17.Algebraic connectivity in Barabasi-Albert model after adding 10 and 50 links with m=1 using strategies 1,2 and 3. 5.1.5 Average values From the histograms we can extract that the algebraic connectivity depends on the number of added links as well as on the implemented link addition strategy. Moreover, adding few links following the criteria of the maximum eigenvector distance implies a better performance in the network than adding a high amount of links by other strategies. For example, adding twenty links with strategy 3 or adding 50 with strategy 1, the algebraic connectivity is increased similarly. We will evaluate the performance of each strategy by the average increase of the algebraic connectivity after the link additions. Furthermore, we are also going to get the difference between the values after the link additions with reference to the original network. We are going to investigate the average improvement in the algebraic connectivity with reference to the original network. The process to get the value is detailed below. First of all, we have to upload the data that we have previously used to print the waves and to create a new wave that is the difference between the two that we want to compare. A sequence of 100 binds is created. After that we assign to this wave the difference between the addition of 10 links using strategy 3 and no link addition in the same network (original network). Then, a new wave is created. This new wave is the needed one to print the previous result as an 36 Chapter 5. Simulation Results histogram. Only the average value of the increase is shown due to the high quantity of iterations and the difficulty of distinguishing between them. It is important to mention that all the average values are computed based on the 10^4 iterations simulations. The complete list of results can be consulted in Appendix B. 0.8 0.6 0.4 0.2 0.0 increase in a(G) with reference to the original network 6050403020100 links addition I_a(G 1 (L)) I_a(G 2 (L)) I_a(G 3 (L)) I_a(G 4 (L)) I_a(G 5 (L)) Figure 18. Improvements in a(G) after adding 10 and 50 links with all the strategies and with reference to the original network. As shown in Figure 18 the increase of the algebraic connectivity by each strategy is on average between 0 and 0.8. Moreover, as the number of added links increase, the improvement increases and the performance of strategy 2 and 5 get closer to strategy 3.We can also notice that as the number of added links increases the difference between the performance of strategy 1 and 2 is higher. Due to the fact that it is important to check the proper working of the strategies we have also calculated the average eigenvalue of each strategy with each link addition strategies. The values shown in previous graphs are really close between them for this reason it is difficult to set statements about the simulations at first sight. To obtain this information from IGOR pro the procedure is the following one: Analysis  Wave Stats and after that choosing the wave that we want to analyse and the range of the results (in our case between 0 and 10000 iterations). Below there is a screenshot (Figure 19) where this process is shown. You can see the selection of the waves, the obtained results that appear in the procedure window called Untitled and the graphs that are being analyzed. Chapter 5. Simulation Results 37 Figure 19. Acquisition of the waves’ average value to corroborate the results. As we have said before it is really useful to compare the average performance of the strategies when a different number of links are added. Figure 20 shows the average algebraic connectivity (second smallest eigenvalue) in relation to the number of link additions and the implemented strategy. 2.0 1.8 1.6 1.4 1.2 1.0 average algebraic connectivity 6050403020100 link addition E(a(G0)) E(a(G1)) E(a(G2)) E(a(G3)) E(a(G4)) E(a(G5)) Figure 20. Average of the algebraic connectivity after the addition of links using different strategies (Barabasi-Albert model) Figure 20 illustrates that strategy 3 is the one that provides a higher a(G) followed by strategy 2. 38 Chapter 5. Simulation Results As we have noticed, when 50 links are added by strategy 5 or 3, the average value of a(G) is almost the same. Even strategy 2 is closer to strategy 3 as the number of added links increases. Strategy 4 seemed to have behaviour almost equal to strategy 2 in the histogram but after calculating the average values we can observe how the performance is a little bit worse. On the other side, strategy 5 works well and strategy 1 is the least efficient way to increase the a(G) of the network. These results do not mean that strategy 1 is not advisable. For example, it has other advantages such as that it does not require any previous information about the nodes because they are chosen randomly. Finally, as shown in Figure 18, the increase of algebraic connectivity by adding 50 links with e.g. strategy 3 is far less than 3 times the increase by adding 10 links. Thus, in order to achieve a higher increase in algebraic connectivity, a higher (than linear) cost or effort (in terms of the number of added links) is needed. 5.2 Erdös-Rényi Results As in the previous section, we are going to calculate the algebraic connectivity using the six previously defined strategies. 5.2.1 Results of strategies 1, 2 and 3 First of all, we consider the Erdös-Rényi random graphs when the number of nodes of the network is N=100 and p= 0.4. In Figure 21 we can observe that the performance of strategy 2 is really similar to that of strategy 3, which works better. Strategy 2 performs similarly to strategy 3 because we are connecting the nodes with less links of the network, so the selection is not random. It is important to remember that ER random graphs the distribution of links between nodes is homogeneous. Moreover, there are few nodes with few connections and the strategy selects one of them and with this situation the possibilities of having pendant nodes decrease. Strategy 1 (random) does not generate almost any improvement because the links are added randomly. The algebraic connectivity improves because the number of links is higher than before but the enhancement is not noticeable. Chapter 5. Simulation Results 39 0.4 0.3 0.2 0.1 0.0 frequency 3028262422201816 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) 0.4 0.3 0.2 0.1 0.0 frequency 30282624222018 2nd smallest eigenvalue a(G0(L)) a(G1(L+20)) a(G2(L+20)) ya(G3(L+20)) 0.4 0.3 0.2 0.1 0.0 frequency 3230282624222018 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+30)) a(G 2 (L+30)) a(G 3 (L+30)) 0.4 0.3 0.2 0.1 0.0 frequency 3228242016 2nd smallest eigenvalue a(G0(L)) a(G1(L+50)) a(G2(L+50)) a(G3(L+50)) Figure 21. Algebraic connectivity in Erdös-Rényi model after adding 10, 20, 30 and 50 links with N=100 and p=0.6 using strategies 1,2 and 3. 5.2.2 Results of strategy 4 Now we are going to carry out the same simulations evaluating strategy 4. As it is noticeable in Figure 22, strategy 4 provides few improvements, the algebraic connectivity is almost the same as without applying any method or using strategy 1, only method 3 provides improvement in the algebraic connectivity. Because when we add a link between two nodes with the minimum degree we are not improving algebraic connectivity so much because they continue having low connections with the rest of the network. 0.4 0.3 0.2 0.1 0.0 frequency 3230282624222018 2nd smallest eigenvalue a(G0(L)) a(G1(L+50)) a(G3(L+50)) a(G4(L+50)) Figure 22. Algebraic connectivity in Erdös-Rényi model after adding 20 and 40 links with N=100 and p=0.6 using strategies 1,3 and 4. 40 Chapter 5. Simulation Results 5.2.3 Results of strategy 5 In our way to find a method that increase the algebraic connectivity, strategy 5 has been created. It lies in adding a link between the maximum degree node and another random node. As we have previously mentioned in Section 5.2.1.When 10 links are added to the network all of them are added between the maximum degree node and the rest of the randomly selected nodes. However, when there is an addition of 50 links it is impossible to add all of them starting from the same maximum degree node. The unavailability of adding more links to a node is due to the selected p of the network, if link density p is lower there would be few links between nodes and probably it would be possible the addition of links only in one node. For this reason, the maximum degree node will withstand as much links as he can and then the others will be added between the second maximum degree node of the network and a random one and so on. After 50 links being added the performance of strategy 5 is rather better than strategy 1. When 50 links are added the enhancement of a(G) is higher than with 10 links so as the number of links increases a(G) increases as well. This strategy works better than strategy 1 but worse than strategy 2 and 3. Then, it is more efficient, in terms of a(G) increase, to add a link between the minimum degree node and a random one than to add a link between the maximum degree node and a random one.. 0.4 0.3 0.2 0.1 0.0 frequency 30282624222018 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 3 (L+10)) a(G 5 (L+10)) 0.4 0.3 0.2 0.1 0.0 frequency 3228242016 2nd smallest eigenvalue a(G 0 (L)) a(G 0 (L+50)) a(G 3 (L+50)) a(G 5 (L+50)) Figure 23. Algebraic connectivity in Erdös-Rényi model after adding 10 and 50 links with p equal to 0.6 using strategies 1,3 and 5. Finally, as we have done in the previous model, the best way to evaluate the overall performance of the strategies is making a comparison between all of them. Figure 18 presents the histograms of the algebraic connectivity after adding 10 and 50 links with all five strategies. We can observe, the increase in the a(G) as the number of added links increases. Other information about the results has been expounded in previous graphs. Chapter 5. Simulation Results 41 0.4 0.3 0.2 0.1 0.0 frequency 302826242220 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) a(G 4 (L+10)) a(G 5 (L+10)) a(G 1 (L+50)) a(G 2 (L+50)) a(G 3 (L+50)) a(G 4 (L+50)) a(G 5 (L+50)) Figure 24. Comparison of the algebraic connectivity in Erdös-Rényi model with p equal to 0.6 and between the addition of 10 and 50 links using all the strategies. 5.2.4 Results of strategies 1, 2 and 3 with lower p After doing these simulations, the next step is to set up a lower probability of link connectivity (p) in order to examine the influence of link density on the performance of our strategies. We set p equal to 0.06. In this case, the probability that a graph is disconnected is higher than that in previous simulations where p=0.4. With this lower probability the results (Figure 25) shows that strategy 3 still work better than strategy 2. The effect of strategy 1 is noticeable when 50 links are added. 3.0 2.5 2.0 1.5 1.0 0.5 0.0 frequency 2.01.51.00.5 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 3 (L+10)) 4 3 2 1 0 frequency 3.02.52.01.51.00.5 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 2 (L+50)) a(G 3 (L+50)) Figure 25. Algebraic connectivity in Erdös-Rényi model after adding 10 and 50 links with p equal to 0.06 using strategies 1,2 and 3. 48 Chapter 5. Simulation Results Table 2. Average increase in the algebraic connectivity using different strategies (BA model) Reference Increase in algebraic connectivity a(G 6 (L+10)) – a(G 0 (L)) 0,137829 a(G 6 (L+50)) – a(G 0 (L)) 0,139468 a(G 6 (L+50)) – a(G 6 (L+10)) 0,00163889 a(G 3 (L+50)) - a(G 6 (L+50)) 0,61469 a(G 3 (L+10)) - a(G 6 (L+10)) 0,107902 a(G 3 (L+10)) - a(G 0 (L)) 0,2479 a(G 3 (L+50)) - a(G 0 (L)) 0,7455 5.4.2 Erdös-Rényi In this subsection we investigate the adding of links one by one to the network using ER model. In Figure 33 we can see how the performance of strategy 6 after the addition of 10 links is almost the same as that after adding 50 links. As in BA model the intermediate values of algebraic connectivity have been checked to ensure the correctness of the results. Using strategy 3, so that, adding the links all together the performance after adding 10 links is similar to one by one link addition However, when 50 links are added with strategy 3 the enhancement is higher than adding them with strategy 6. Nevertheless, using all the strategies there is an increase in a(G) over the original network. 0.4 0.3 0.2 0.1 0.0 frequency 30252015 2nd smallest eigenvalue a(G 0 (L)) a(G 3 (L+10)) a(G 3 (L+50)) a(G 6 (L+10)) a(G 6 (L+50)) Figure 33. Algebraic connectivity in ER model after the addition of 10 and 50 links using strategies 3 and 6. (N=100 and p=0,04) Comparing the performance with previously implemented strategies (1 and 2) we can see how the algebraic connectivity using strategy 6 is more or less the same as the one provided by strategy 2. Chapter 5. Simulation Results 49 0.4 0.3 0.2 0.1 0.0 frequency 3028262422201816 2nd smallest eigenvalue a(G 0 (L+10)) a(G 1 (L+10)) a(G 2 (L+10)) a(G 6 (L+10)) Figure 34. Algebraic connectivity in ER model after the addition of 10 and 50 links using strategies 1, 2 and 6. As in previous model the average values have been calculated and the result is shown in Table 3. We can see how a(G) always increase with reference to the original network whatever the implemented strategy is. It is corroborated how the increase in the algebraic connectivity is higher using strategy 3 than using 6. And it is also noticeable how in strategy 6 after the addition of 10 or 50 links the average of a(G) is almost the same. Table 3. Average algebraic connectivity using different strategies (ER model) Links \ Strategy 0 3 6 10 25,7353 27,5698 27,2627 50 25,7353 28,6765 27,2929 Table 4. Average increase in the algebraic connectivity using different strategies (ER model) Reference Increase in algebraic connectivity a(G 6 (L+10)) – a(G 0 (L)) 1,78338 a(G 6 (L+50)) – a(G 0 (L)) 1,8142 a(G 6 (L+50)) – a(G 6 (L+10)) 0,0308148 a(G 3 (L+50))– a(G 6 (L+50)) 1,59022 a(G 3 (L+10))– a(G 6 (L+10)) 0,494163 a(G 3 (L+50))– a(G 0 (L)) 3,07735 a(G 3 (L+10))– a(G 0 (L)) 2,01329 We can see how there is more improvement using strategy 3 than 6 with the same number of links so it is better to add all the links all together. As the number of added links increases the difference between strategies is higher. 50 Chapter 5. Simulation Results Moreover, we have checked how after the link addition of 10 and 50 links the enhancement in the original a(G) is noticeable. More added links improves the a(G) but as in previous model the increase here is really low. To sum up, we can see how strategy 6 does not improve any more after adding more links. It is definitely the worst because the number of links that you add does not matter, after the addition of 10 links the performance is almost the same. 5.5 Other simulations It would be interesting to evaluate which is the performance of link addition between the maximum and minimum degree nodes. We will try to provide information to know if this type of link addition performs better than the others. I do not define this type of link addition as detailed as the other strategies because the objective is to briefly compare this type of adhesion with the others not to make an extensive research about its performance. The addition consists of choosing the maximum degree node and the minimum degree node and adds a link between them. Next time, maximum degree node will continue being the same but minimum degree node can be another one. If there is a link between them we will change the maximum degree node for a random one. This link addition is a mixture between strategy 5, where the maximum degree node is selected and strategy 2 where the addition between the minimum degree nodes and random ones is done. We will represent it as strategy 7 to distinguish it from other strategies. As you can see in Figure 35, in ER model the performance is better than strategy 1 but worse than strategy 3. The performance is worse, on average, than strategy 2 where the addition is always between the minimum degree node and a random one (Table 5). 0.4 0.3 0.2 0.1 0.0 frequency 30282624222018 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 3 (L+10)) a(G 7 (L+10)) 0.4 0.3 0.2 0.1 0.0 frequency 3230282624222018 2nd smallest eigenvalue a(G0(L)) a(G1(L+50)) a(G3(L+50)) a(G7(L+50)) Figure 35. Evaluation of algebraic connectivity between maximum and minimum degree nodes (ER model N=100 and p=0.4) Chapter 5. Simulation Results 51 Following tables (Table 5 and 6) show the average algebraic connectivity comparison. Strategy 7 performs almost the same as strategy 5 and also similar to strategy 4 when 10 links are added. Table 5. Other simulations: Average algebraic connectivity using different strategies (ER model) Links \ Strategy 0 1 2 3 4 5 7 10 25,7435 25,9261 27.1293 27.5698 26.0206 26.0317 26.0369 50 25,7438 26.6516 28.2791 28.6765 26.6624 27.2096 27.0969 The results of BA model (Figure 36) show how the performance of strategy 7 is better than strategy 1 and worse than strategy 3 when 10 links are added. On the other hand, when the number of added links increases the difference between strategy 7 and 3 is lower. The performance of strategy 7 in BA model is almost the same as strategy 2 with the same model as we can check on the average values that are shown in Table 6. As happened in ER, strategy 7 performs almost like strategy 5. 7 6 5 4 3 2 1 0 frequency 1.61.41.21.0 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+10)) a(G 7 (L+10)) a(G 3 (L+10)) 6 5 4 3 2 1 0 frequency 2.42.01.61.2 2nd smallest eigenvalue a(G 0 (L)) a(G 1 (L+50)) a(G 7 (L+50)) a(G 3 (L+50)) Figure 36. Evaluation of algebraic connectivity between maximum and minimum degree nodes (BA model N=100 and m=3) Table 6. Average algebraic connectivity using different strategies (BA model) Links \ Strategy 0 1 2 3 4 5 7 10 1.17299 1.22618 1.46942 1.55796 1.2549 1.46334 1.46201 50 1.2088 1.44635 2.02123 2.07605 1.91561 2.06719 2.0067 We can conclude saying that it is not necessary to implement this strategy and carry out all the simulations because it has a similar performance as strategy 2 in BA model and similar to strategy 5 in both models. It does not provide any new useful information. 52 Chapter 5. Conclusions CHAPTER 6. CONCLUSIONS In this chapter we are going to show the main conclusions obtained after the development of the project. After doing all the simulations and obtaining all the data now we will try to summarize the obtained conclusions. Next statements have been enunciated before in previous subsections. We have obtained the histograms with the complete results and after that we have done the calculation of the average values. About BA we can conclude that: - Algebraic connectivity increases as the number of links increases - Strategy 1 is the one that performs worse but it does not require local information. - Strategy 3 is the one that performs the best. - Strategy 2, 4 and 5 performs similarly when 10 links are added. - Strategy 2, 5 and 3 has a similar improvement in a(G) when 50 links are added. Referring to ER we can sum up telling that: - Strategy 3 is the one that performs the best. It is followed by strategy 2. - Strategy 1 does not remarkably improve the algebraic connectivity of the original network until the number of added links is high. - Strategy 4 provides little improvement especially when 50 links are added, because we are adding links between nodes with similar degree so the enhancement is similar to strategy 1. - Strategy 5 works almost like strategy 4 when 10 links are added and better than 4 when the added links are 50. About the comparison between ER and BA model, we can state that: - Algebraic connectivity in BA model is higher than in ER model, even taking into account the original network algebraic connectivity before link additions. - In ER, the values of algebraic connectivity using different strategies are closer between them than in BA model. Concerning the difference between the addition of links one by one (strategy 6) or all together (strategy 3), we can notice how after adding the links once the increase in the algebraic connectivity is higher than using one by one addition. Another drawback of the strategy 6 is that there is almost no difference between the addition of 50 and 10 links because the improvement with reference to the original network is similar in both cases. For this reason, the number of links that you add does not matter, after the addition of 10 links the performance is almost the same. In conclusion, strategy 6 provides more or less the same increase in a(G) as strategy 2. But it is the worst one because even increasing Chapter 5. Conclusions 53 the number of links of the number the algebraic connectivity does not increase anymore. Finally, we can conclude with strategy 7 saying that after adding a link between a high and a low degree node the algebraic connectivity increases but it performs almost like strategy 5 (in ER and BA model). With BA model the results are also similar to the ones of strategy 2. 54 Chapter 7. Future Research CHAPTER 7. FUTURE RESEARCH Although an extensive work has been done, there are points which are not considered because of the lack of time. This means that, the project can be extended. The aim of this chapter is to detail all the aspects that can be taken into account in the future. With all this information another researcher or institutions who are interested in this project, can continue developing it. Further work comprises studying the algebraic connectivity in other complex network models and adding links with other strategies. This would improve our global understanding of whether the algebraic connectivity is a good way to measure robustness. A new model that can be taken into account is a small world graph of Watts-Strogatz. This model describes the fact that, despite the large size of the underlying network topology, in most complex networks there is a relatively short path between any two nodes [16]. Concerning the design of new strategies, other features of the network can be taken into account, for example, betweenness (the number of paths in the network that pass through a node) or clustering (the degree to which nodes tend to cluster together). Moreover, it would be important to investigate how the algebraic connectivity is affected by various structural changes of the network graphs. Changes such as removing nodes or rewiring them could be studied. On the other hand, the same strategies can be simulated while changing the size of the network or links density parameters to evaluate the performance. Chapter 7. Acknowledgements 55 CHAPTER 8. ACKNOWLEDGEMENTS Firstly, I would like to thank Huijuan Wang for following the project step by step and day by day and helping me to achieve the goals. Also to Javier Martin for helping me with computing problems Furthermore, I would like to thank my family and friends for supporting me at every moment. 56 Chapter 7. Bibliography CHAPTER 9. BIBLIOGRAPHY [1] NEWMAN,M.E.J.:The structure and function of complex networks, Departament of Physics, University of Michigan USA. [2]FIEDLER,M.: Algebraic connectivity of graphs, Czechoslovak Mathematical Journal 23, pp.298-305 (1973) [3 ]GUO,J.: The algebraic connectivity of graphs under perturbation, China University of Petroleum. [4] JAMAKOVIC,A.-VAN MIEGHEM.P.: On the robustness of complex networks by using the algebraic connectivity, networking 2008,LNCS 4982 pp 183-194, (2008). [5] ERDÖS,P- RÉNYI,A.: On random graphs. Publicationes Mathematicae 6, 290-297 (1959). [6] Y.FAN, On spectral integral variations of graphs, Linear and Multilinear Algebra 50 (2002) 133-142 [7] S.BARIK, S.PATI, On algebraic connectivity and spectral integral variations of graphs, Linear Algebra Appl. 397 (2005) 209-222 [8] K.CH.DAS, The Laplacian spectrum of a graph, Computers & Mathematics with Applications, Volume 48, Issues 5-6 , September 2004, Pages 715-724 [9] JAMAKOVIC.A – UHLIG,S.: On the relationship between the algebraic connectivity and graph’s robustness to node and link failures, Next Generation Infraestructure Program. [10] BARABASI,A.-L.AND ALBERT,R.: Emergence of scaling in random networks, Science 286, pp.509-512 (1999) [11] JUHAZ,F.: The asymptotic behavior of Fiedler’s algebraic connectivity for random graphs, Discrete Mathematics 96, 59-63 (1991) [12] WANG.H-VAN MIEGHEM.P.: Algebraic connectivity optimization via link addition, Bionetics’08, (2008) [13] AOYAMA,D.: Maximum algebraic connectivity augmentation is NP-HARD, Operations Research Letters 36, pp 677-679 (2008) [14] JAMAKOVIC,A-UHLIG,S.: Influence of the network structure on robustness, IEEE (2007). [15] KANOVSKY,I.: Complex Networks Clustering and Links Correlation, Max Stern Academic College of Emek Yezreel, Chapter 7. Acknowledgements 57 [16] WATTS,D.J. AND STROGATZ,S.H.: Collective dynamics of small-world networks, Nature 393, pp.440-442 (1999) IGOR Pro manual guide. WaveMetrics, Inc (version 4) 64 Appendix 0.529196 0.438378 0.394004 0.283542 0.374429 0.381242 0.341636 0.222021 0.319831 0.578815 0.485162 0.404911 0.328068 0.365694 0.209521 0.332698 0.426394 0.419955 0.596968 0.141746 0.006814 0.335964 0.387444 0.446504 0.434648 0.148581 0.277885 0.515898 0.416478 0.501331 0.509036 0.36322 0.688797 0.373922 0.258045 0.444747 0.352394 0.270181 0.424914 0.333816 0.36288 0.350648 0.33146 0.498328 0.332628 0.390672 0.385112 0.307521 0.325847 0.459303 0.641208 0.849221 0.736777 0.698676 0.753633 0.51026 0.513463 0.77123 0.740821 0.944952 0.919089 0.66343 0.626766 0.685085 0.733225 0.570048 0.707297 0.674797 0.94906 0.673562 0.757237 0.695124 0.7653 0.762132 0.741468 0.672473 0.609198 0.831448 0.740035 0.723644 0.766422 0.820578 0.995259 0.570876 0.571873 0.836667 0.601087 0.440491 0.632203 0.652813 0.650145 0.766728 0.59195 0.691082 0.672686 0.64435 0.615702 0.507279 0.530277 0.80205 0.64238 0.85088 0.744938 0.717928 0.756584 0.51197 0.72985 0.774699 0.752542 1.00712 0.957947 0.676457 0.711821 0.731506 0.743581 0.572193 0.856001 0.688261 0.978396 0.699699 0.77956 0.762193 0.801821 0.811381 0.752628 0.704858 0.616689 0.864555 0.751916 0.912352 0.813723 0.87571 1.2001 0.598719 0.590185 0.865644 0.744963 0.451138 0.655896 0.672604 0.677462 0.784538 0.592193 0.695515 0.736844 0.807268 0.709124 0.612201 0.543263 0.844266 0.575534 0.646995 0.533091 0.832595 0.640555 0.592501 0.770726 0.779044 0.575117 0.916654 0.986187 0.614597 0.439656 0.734062 0.574139 0.827711 0.468669 0.65285 0.811004 0.408039 0.966111 0.639316 0.500704 0.418279 0.502713 0.560712 0.546217 0.817576 0.646529 0.664617 0.695787 0.550339 1.05158 0.772511 0.43599 0.617447 0.467075 0.701208 0.802093 0.761188 0.519109 0.493327 0.246425 0.670327 0.410552 0.671196 0.514998 0.3906 0.588691 0.641618 0.521578 1.16165 0.73176 0.827214 0.80645 0.261023 0.874758 0.54944 0.46103 1.00416 1.17244 0.587767 0.677476 0.554275 0.539326 0.80315 0.600307 0.790574 0.978321 0.276416 1.20151 0.589929 0.788963 0.654162 0.798526 0.501959 0.79285 0.939088 0.634302 0.932843 0.409979 0.769686 1.1038 0.719875 0.757185 0.765807 0.798242 0.758097 0.885733 0.622868 1.06936 0.689857 0.656854 0.692942 0.453782 0.957688 0.803567 0.714119 0.867143 0.931584 Chapter 7. Appendix 65 0.66135 0.482948 0.364897 0.484895 0.429329 0.260947 0.279606 0.403179 0.512501 0.415197 0.333392 0.370412 0.406804 0.674979 0.226288 0.539662 0.234783 0.512886 0.452955 0.432067 1.05432 0.842765 0.717676 0.854303 0.667064 0.510207 0.66808 0.681168 0.662874 0.736997 0.627931 0.547631 0.661783 0.940238 0.68564 0.703172 0.732198 1.00707 0.870559 0.565152 1.07706 0.871552 0.756158 0.864004 0.691676 0.511659 0.682125 0.689208 0.720201 0.741772 0.630918 0.738726 0.737961 0.952932 0.700794 0.704272 0.823551 1.02314 0.890593 0.565793 1.21428 0.773302 0.548112 0.507001 0.576933 0.53802 0.700325 0.71922 0.536046 0.577972 0.791598 0.734292 0.692022 0.932725 0.579375 0.68393 0.776755 0.851831 0.620693 0.454465 1.15376 0.67933 0.561783 0.899705 0.850577 0.824869 0.77815 0.38974 0.713025 -0.374256 0.863134 0.847836 0.675154 1.01269 0.899412 0.900177 0.868794 0.877798 0.966283 0.496717 Average 0.379345 0.707228; 0.745586 0.643496 0.725219 Erdös- Rényi 10 links a(G 1 )-a(G 0 ) a(G 2 )-a(G 0 ) a(G 3 )-a(G 0 ) a(G 4 )-a(G 0 ) a(G 5 )-a(G 0 ) 0.74322 0.632658 0.523073 0.024263 0.562433 0.026473 0.143053 0.63846 0.085776 0.789841 0.042027 0.03955 0.059559 0.039694 0.897775 0.024651 0.03618 0.047795 0.144709 0.358858 0.03991 1.44617 1.15485 0.827558 2.07852 1.03564 1.54064 0.539225 1.26344 0.612099 3.28169 2.57695 2.27012 1.16324 0.290909 1.70289 1.49038 0.512237 0.734796 1.01383 0.428979 0.425913 2.41556 2.63479 0.889231 2.28364 1.50986 2.08531 0.568784 1.29549 0.748349 3.90731 2.70258 2.29921 1.29956 1.31495 4.56953 1.55484 1.98924 0.851847 1.44268 0.6026 0.614362 1.64014 0.964394 0.302037 0.161135 1.45427 1.80491 1.85548 0.737134 0.158682 0.144644 0.89603 1.83928 0.279049 0.751346 3.71462 1.66827 1.78173 0.01411 2.01318 1.37376 1.90725 0.756607 0.647555 0.04614 0.073486 0.613371 0.069692 0.077326 0.017066 0.19984 0.037601 0.513978 0.031867 0.100871 0.175788 0.180782 0.038889 0.072314 0.147589 0.475386 0.073938 0.730043 66 Appendix 0.033382 0.74917 0.594648 0.00378 0.03737 0.153289 0.096304 0.029397 0.008217 0.117713 0.037734 0.082814 0.892472 0.128731 0.265547 0.828373 0.071196 0.096816 0.029477 0.107201 0.153674 0.014314 0.088403 0.011865 0.457256 0.055542 0.035942 0.103342 0.061348 0.131369 0.039284 0.046161 0.839021 0.056435 0.076879 0.732522 0.058054 0.819728 0.028956 0.117236 0.015457 0.01412 0.010884 0.257696 0.368884 0.029023 0.023912 0.543923 0.053959 0.012782 0.959951 2.46172 0.970402 3.41741 0.526386 0.572605 0.777998 4.53078 4.07598 0.529855 0.240103 0.717482 3.14045 0.917119 0.521968 2.28936 0.80211 0.569581 0.967123 1.16682 0.658157 0.959785 0.606015 2.15237 1.06091 1.2858 1.90596 0.392755 2.24989 1.46153 0.271828 0.23577 4.40948 2.08581 0.721447 1.85826 2.2617 1.2983 3.09705 0.605514 2.1978 3.56739 1.83202 0.704247 1.25402 2.81899 0.889599 1.35327 0.254336 2.1206 1.00435 2.56858 0.972124 3.4468 0.891768 0.621936 1.21068 4.55451 4.11387 0.704865 0.959852 1.10806 3.29533 1.2438 0.741495 2.32239 1.08338 1.83044 1.19149 1.17573 0.810922 1.15824 1.84843 2.6081 1.68222 2.10611 2.02539 0.655473 2.35345 1.64661 3.01681 0.405767 4.45844 2.15659 0.974114 1.89584 2.90066 1.96502 3.24039 0.93888 2.35374 3.68808 1.86672 0.706791 1.47385 2.82191 1.80492 1.45259 0.728169 3.04375 0.007653 1.07177 0.774525 1.87786 1.22707 1.77478 0.572509 5.14495 0.410278 0.810819 0.552764 1.29071 2.59097 0.546028 0.330964 0.056964 0.937157 0.075072 1.22802 0.019849 0.68401 0.713594 1.73915 0.410086 2.07306 0.005481 2.45154 0.622576 1.47957 2.0411 1.294 0.225064 0.730094 0.080033 1.80898 0.272245 2.95427 0.528441 3.59748 1.06109 0.517288 2.68354 2.59119 3.88198 2.04714 3.02245 0.756437 0.165167 0.829481 1.99118 0.886336 0.035909 0.866164 0.080327 0.140489 0.451228 0.160257 0.696999 0.059211 0.231132 0.373637 0.129079 0.648228 0.065122 0.095688 0.79048 0.665848 0.021667 0.079554 0.164058 0.031567 0.057854 0.057327 0.085417 0.064995 0.274504 0.10881 0.072511 0.089402 0.062074 0.12848 0.038295 0.942435 0.321331 0.103021 0.065 0.545646 0.112329 0.040312 0.827959 0.601895 0.126652 0.166796 0.936399 1.0349 0.167276 0.233044 1.08217 0.091587 0.270315 Chapter 7. Appendix 67 0.083868 0.029373 0.551159 0.464453 0.499544 0.002751 0.438324 0.038979 0.021842 0.710252 0.021771 0.012201 0.016725 0.057867 0.895183 0.114479 0.412498 0.021887 0.113263 0.093433 0.029473 0.016741 0.039539 0.614899 0.095631 0.536143 0.029685 0.071361 0.051648 0.270842 0.673763 1.00428 0.944528 0.983502 1.72575 0.784404 1.86164 3.78005 1.79658 3.87201 4.25287 6.04645 2.08488 5.09601 0.819806 1.16957 4.05864 0.647945 1.77142 0.531943 3.19964 0.754242 0.772201 0.619059 1.37935 2.97219 2.70642 0.587948 0.383714 1.05457 1.33262 1.47399 1.00305 3.3058 1.00132 2.00156 3.90293 3.40751 4.15177 4.7638 6.07841 2.268 5.29871 1.35602 1.22075 4.08577 1.08239 2.47533 0.567679 3.69694 1.35828 2.80356 0.676657 1.51233 4.13837 2.91738 0.600342 1.70944 1.07888 0.538836 0.206493 0.394187 1.58501 0.035756 1.07265 2.56776 0.780349 0.915123 3.64477 6.85529 2.02311 3.09144 0.90431 1.14714 3.74455 0.757857 0.859368 1.16269 2.50379 1.20936 0.406425 0.749318 0.519273 2.50028 2.22435 1.5248 0.125171 0.34206 0.754372 0.117212 0.058143 0.115339 0.093669 0.102727 0.086409 0.106386 0.401272 0.099209 0.873179 0.236603 0.069497 0.131197 0.090633 0.367797 0.024491 0.405945 0.053019 0.909094 0.360455 0.0561 0.442388 0.924506 0.026313 0.048653 0.044751 0.055946 Average 0.216065 1.60284 2.01329 0.412197 0.27712 50 links a(G 1 )-a(G 0 ) a(G 2 )-a(G 0 ) a(G 3 )-a(G 0 ) a(G 4 )-a(G 0 ) a(G 5 )-a(G 0 ) 0.952909 1.92645 0.398319 2.24534 1.43501 1.49518 0.947371 0.698661 1.22983 3.78604 0.768402 1.32593 1.71943 1.97611 2.26607 2.63703 2.50211 1.31519 3.83396 3.06778 2.31162 2.77861 1.86603 0.456187 4.70569 1.65563 2.11864 2.11985 2.15755 4.96835 2.69396 2.76864 2.27684 3.9306 3.06896 2.35113 2.92601 1.88833 1.23993 4.86094 1.93579 3.40209 3.25678 2.20315 4.99166 1.02649 2.56819 0.979012 3.87546 0.528472 0.290189 0.294178 0.141808 0.518454 3.52161 1.04302 0.132555 0.697002 2.79776 3.26658 1.85934 1.55007 1.12848 1.1639 2.7052 1.05231 2.74114 1.81045 1.04269 1.54835 1.74409 1.19402 1.34379 1.1428 1.10697 68 Appendix 0.848088 1.32942 1.83044 0.501778 0.958278 0.819874 2.81129 2.33038 0.758204 2.67325 1.82959 1.75363 0.307461 4.25369 6.32335 0.539133 3.63407 1.71717 0.774202 0.312828 1.82544 1.61828 0.645818 3.9719 2.36572 2.75631 0.493311 1.19074 0.476148 0.048283 0.861666 0.380989 2.84653 0.112248 0.771798 0.675858 1.90977 0.915117 3.98981 0.27912 1.18127 1.55935 0.267233 2.21809 2.62363 1.64372 2.41823 2.63402 2.94793 0.436045 1.93861 2.97097 4.67541 0.787857 0.190631 1.76155 3.6632 4.1312 0.138658 4.98613 2.32791 0.210971 1.6968 5.16435 7.13733 0.679009 3.81892 2.82946 3.15191 0.711438 2.97679 3.517 1.80576 5.06735 3.04895 0.573409 2.41212 0.927245 2.50545 0.700707 2.9033 1.92497 4.01 1.13638 2.71569 2.90653 2.73369 0.691213 5.43068 2.13856 4.28863 1.822 2.0959 3.86352 4.86761 0.891797 3.41551 5.1529 4.12595 1.50646 1.94082 3.05745 4.77803 0.800979 1.50111 1.7727 3.79511 4.15539 0.103246 5.50347 2.69098 0.092976 2.62 6.09944 7.27916 0.942343 5.58474 3.07928 3.31007 1.07179 3.41588 4.17567 2.52716 5.06852 4.86131 0.411644 2.43495 0.959855 2.54204 2.85335 2.91864 2.25223 4.07182 1.32167 2.77096 2.93177 2.74122 0.822361 5.44293 2.17222 4.2896 1.83096 3.1577 4.00806 5.0677 1.98646 3.45607 5.16031 4.13565 1.61851 0.71901 0.359175 3.15429 0.544875 0.694701 2.04408 2.03658 0.646042 1.22347 2.97282 0.973404 1.86811 0.097144 4.89099 1.70603 2.61395 1.32295 0.693854 2.59738 0.503398 0.158152 4.04266 0.619687 2.74251 2.9287 1.93461 0.367667 0.036171 1.56531 0.342203 2.75182 3.01226 4.84032 0.445421 2.05938 1.57369 1.88813 1.41974 1.05599 0.17185 1.70632 2.38739 0.599143 2.46295 4.93042 3.54976 1.06213 1.86428 1.61044 0.685638 1.18948 2.65492 1.45317 1.53594 0.582247 1.7892 1.9326 2.27619 1.56127 1.28332 1.1254 1.09977 1.14694 0.997436 2.10881 1.58444 1.5791 2.37989 1.95721 1.10156 1.78056 1.0726 1.5531 0.931185 2.48328 2.43658 1.18909 1.10662 0.933469 1.79246 2.17573 0.408645 1.75519 2.36886 2.89112 2.65743 2.00151 1.24066 1.92963 1.89795 2.38884 1.84807 1.25706 1.06732 1.8522 2.68734 1.06632 1.27374 1.55649 1.4592 Chapter 7. Appendix 69 0.938503 3.01743 1.24511 1.30149 0.982819 2.30333 0.849387 1.90069 1.22824 1.25474 1.48911 0.256001 0.058943 2.23935 5.17771 3.78186 2.64041 2.47188 8.21923 3.02346 0.873157 0.851552 0.089926 5.27128 2.31585 0.313243 0.592229 4.10037 2.00948 0.8888 0.445431 1.91187 3.27436 3.3111 0.358606 2.1779 3.15595 2.41627 4.04734 2.08657 2.83032 0.384495 1.31753 1.37479 2.26702 0.455347 1.605 0.473728 3.07672 6.50845 4.10756 3.60539 3.21971 9.15623 4.08121 5.06988 0.086627 2.95204 6.71499 0.458238 0.740983 1.01401 4.35907 3.49431 1.6422 0.889838 2.36114 4.28006 3.84513 1.59639 2.37149 5.01248 3.1604 4.05237 2.14252 4.63175 1.61334 1.31996 1.3801 4.67455 0.359842 3.77705 0.616752 3.97611 6.61514 4.8529 3.73417 3.22001 9.41851 4.08224 5.10635 2.29816 2.95326 6.89282 0.42981 0.975619 1.21799 5.35517 3.57751 1.72903 1.28599 2.36356 4.33561 3.90029 1.7156 0.250809 0.831104 0.173521 2.65103 0.985005 1.75534 0.280102 0.360638 0.421538 0.22341 0.626305 4.36106 1.26025 2.56424 5.46625 0.282688 3.7778 2.09246 6.27919 2.16099 4.81842 2.77246 1.1226 2.54031 0.826937 0.242598 0.00646 5.19345 1.20187 1.39818 2.83503 0.578979 0.913645 2.64707 1.05633 1.12085 1.66538 2.64256 1.10965 1.85201 1.02997 1.90361 1.10857 1.19652 2.7074 1.74016 1.72556 1.63861 1.16707 0.320671 1.08082 1.02729 2.74964 2.77599 1.8117 1.18103 0.492826 1.7979 1.50345 1.24394 1.16952 0.66322 1.87303 2.1185 1.20922 1.1217 1.88582 1.38522 1.59684 1.56162 1.0797 Average 1.1269 2.66018 3.07735 1.14406 1.56593 70 Appendix