shortest path discovery of complex networks

4
Shortest path discovery of complex networks Attila Fekete, * Gábor Vattay, and Márton Pósfai Department of Physics of Complex Systems, Eötvös University, Pázmány P. sétány 1/A., H-1117 Budapest, Hungary Received 8 October 2008; revised manuscript received 14 May 2009; published 23 June 2009 In this Rapid Communication we present an analytic study of sampled networks in the case of some important shortest-path sampling models. We present analytic formulas for the probability of edge discovery in the case of an evolving and a static network model. We also show that the number of discovered edges in a finite network scales much more slowly than predicted by earlier mean-field models. Finally, we calculate the degree distribution of sampled networks and we demonstrate that they are analogous to a destroyed network obtained by randomly removing edges from the original network. DOI: 10.1103/PhysRevE.79.065101 PACS numbers: 89.75.Hc, 64.60.aq, 89.20.Hh Complex networks have attracted significant interest in recent years 1,2. In most cases, the entire structure of the network is unknown and one is left with statistical samples of the original network 3,4. The sampling of Internet topol- ogy is one of the greatest challenges due to its enormous size and decentralized structure. It motivated numerous studies on the relationship between the original and the sampled network, including the degree distribution 57 and the ex- pected size of the network 8. Recently, Internet sampling methods have emerged that rely on the measurement tool traceroute, which returns the sequence of IP addresses of the network nodes along the path between the measurement host and a given destination host. An abstraction of the network discovery process consists of selecting a set of source and target nodes and finding the shortest paths between source and destination pairs. A node or an edge of the network is discovered if it belongs to one of those shortest paths. The statistical properties of the discovered network have been studied extensively by Dall’ Asta et al. 9. The mean-field approximation has been developed in the limit of low source and target density S T 1 by neglecting the correlation of different shortest paths. In this Rapid Communication we present exact results for certain networks. A surprising finding is that the network discovery process is slower in these systems than it is pre- dicted by the mean-field theory. While in mean-field approxi- mation the number of discovered links scales with the prod- uct of the number of the source and target nodes, our approach predicts a scaling only with their sum. The lower number of discovered edges is a result of the high degree of overlapping between shortest paths. Our other important finding concerns the degree distribution of the discovered network. We will show that it is analogous with a destroyed network where a fraction of the edges of the original network has been randomly removed. We investigate two main discovery strategies. In peer-to- peer P2P sampling each node is selected simultaneously for both source and target with probability . Computer applica- tions using the peer-to-peer principle discover the network this way, hence the name. In disjunct DI sampling each node is selected for source or target but not for both with probabilities S and T . This strategy is used in Internet map- ping projects, where source computers belong to the mea- surement infrastructure, while a large number of random ad- dresses are selected as targets. We start our analysis with the discovery of a tree. The most important observation permitting exact calculations in this case is that an edge separates the tree into two sides. An edge is discovered only if the source and the target nodes reside on different sides of the edge. Let us denote the event that a node is selected as a source or target by S and T, respectively. Furthermore, we denote the event that at least one source or target node resides on the “left” or “right” side of the edge by S L,R and T L,R , respectively. The event that a link is discovered, D, provided that its two sides L and R are known, is clearly D = S L T R + S R T L . Therefore, we can ex- press the conditional probability PDL, R = PS L L, R PT R L, R + PS R L, R PT L L, R - PS L T L L, R PS R T R L, R . The probabilities arising in this expression can be calculated easily: PS L , R =1- P N S ¯ , PT L , R =1- P N T ¯ and PS T L , R =1- P N S ¯ - P N T ¯ + P N S ¯ T ¯ , where = L or R, N L and N R are the number of nodes on the two sides of the link, and the overlines denote complement events. Let us consider an evolving network where each new node is attached randomly to one of the nodes of the existing network. The structure of this network will be a tree. Since the network is connected the cluster sizes N L and N R must satisfy the relation N L + N R = N, where N is the size of the whole network. In the thermodynamic limit N we obtain PD N L =1- N L , where we have introduced = PS ¯ T ¯ . The probability in the different sampling models is related to the source and target densities in a simple way: = 1- P2P 1- S - T DI, 1 where , S , T 0,1, S + T 1. If S + T 1 in the DI sampling model, then we can write PD N L 1-exp- S + T N b e , where b e = N L N - N L is the number of shortest paths that traverse a given link called betweenness * [email protected] [email protected] [email protected] PHYSICAL REVIEW E 79, 065101R2009 RAPID COMMUNICATIONS 1539-3755/2009/796/0651014 ©2009 The American Physical Society 065101-1

Upload: marton

Post on 04-Apr-2017

226 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Shortest path discovery of complex networks

Shortest path discovery of complex networks

Attila Fekete,* Gábor Vattay,† and Márton Pósfai‡

Department of Physics of Complex Systems, Eötvös University, Pázmány P. sétány 1/A., H-1117 Budapest, Hungary�Received 8 October 2008; revised manuscript received 14 May 2009; published 23 June 2009�

In this Rapid Communication we present an analytic study of sampled networks in the case of someimportant shortest-path sampling models. We present analytic formulas for the probability of edge discovery inthe case of an evolving and a static network model. We also show that the number of discovered edges in afinite network scales much more slowly than predicted by earlier mean-field models. Finally, we calculate thedegree distribution of sampled networks and we demonstrate that they are analogous to a destroyed networkobtained by randomly removing edges from the original network.

DOI: 10.1103/PhysRevE.79.065101 PACS number�s�: 89.75.Hc, 64.60.aq, 89.20.Hh

Complex networks have attracted significant interest inrecent years �1,2�. In most cases, the entire structure of thenetwork is unknown and one is left with statistical samplesof the original network �3,4�. The sampling of Internet topol-ogy is one of the greatest challenges due to its enormous sizeand decentralized structure. It motivated numerous studieson the relationship between the original and the samplednetwork, including the degree distribution �5–7� and the ex-pected size of the network �8�. Recently, Internet samplingmethods have emerged that rely on the measurement tooltraceroute, which returns the sequence of IP addresses of thenetwork nodes along the path between the measurement hostand a given destination host. An abstraction of the networkdiscovery process consists of selecting a set of source andtarget nodes and finding the shortest paths between sourceand destination pairs. A node or an edge of the network isdiscovered if it belongs to one of those shortest paths. Thestatistical properties of the discovered network have beenstudied extensively by Dall’ Asta et al. �9�. The mean-fieldapproximation has been developed in the limit of low sourceand target density �S�T�1 by neglecting the correlation ofdifferent shortest paths.

In this Rapid Communication we present exact results forcertain networks. A surprising finding is that the networkdiscovery process is slower in these systems than it is pre-dicted by the mean-field theory. While in mean-field approxi-mation the number of discovered links scales with the prod-uct of the number of the source and target nodes, ourapproach predicts a scaling only with their sum. The lowernumber of discovered edges is a result of the high degree ofoverlapping between shortest paths. Our other importantfinding concerns the degree distribution of the discoverednetwork. We will show that it is analogous with a destroyednetwork where a fraction of the edges of the original networkhas been randomly removed.

We investigate two main discovery strategies. In peer-to-peer �P2P� sampling each node is selected simultaneously forboth source and target with probability �. Computer applica-tions using the peer-to-peer principle discover the network

this way, hence the name. In disjunct �DI� sampling eachnode is selected for source or target but not for both withprobabilities �S and �T. This strategy is used in Internet map-ping projects, where source computers belong to the mea-surement infrastructure, while a large number of random ad-dresses are selected as targets.

We start our analysis with the discovery of a tree. Themost important observation permitting exact calculations inthis case is that an edge separates the tree into two sides. Anedge is discovered only if the source and the target nodesreside on different sides of the edge. Let us denote the eventthat a node is selected as a source or target by S and T,respectively. Furthermore, we denote the event that at leastone source or target node resides on the “left” or “right” sideof the edge by SL,R and TL,R, respectively. The event that alink is discovered, D, provided that its two sides L and R areknown, is clearly D= �SLTR�+ �SRTL�. Therefore, we can ex-press the conditional probability

P�D�L,R� = P�SL�L,R�P�TR�L,R� + P�SR�L,R�P�TL�L,R�

− P�SLTL�L,R�P�SRTR�L,R� .

The probabilities arising in this expression can be calculated

easily: P�S� �L ,R�=1− PN��S̄�, P�T� �L ,R�=1− PN��T̄� and

P�S�T� �L ,R�=1− PN��S̄�− PN��T̄�+ PN��S̄T̄�, where �=L orR, NL and NR are the number of nodes on the two sides of thelink, and the overlines denote complement events.

Let us consider an evolving network where each newnode is attached randomly to one of the nodes of the existingnetwork. The structure of this network will be a tree. Sincethe network is connected the cluster sizes NL and NR mustsatisfy the relation NL+NR=N, where N is the size of thewhole network. In the thermodynamic limit N→� we obtain

P�D �NL�=1−�NL, where we have introduced �= P�S̄T̄�. Theprobability � in the different sampling models is related tothe source and target densities in a simple way:

� = �1 − � P2P

1 − �S − �T DI,� �1�

where � ,�S ,�T� �0,1�, �S+�T�1. If �S+�T�1 in theDI sampling model, then we can write P�D �NL��1−exp�−

�S+�TN be�, where be=NL�N−NL� is the number of

shortest paths that traverse a given link called betweenness

*[email protected][email protected][email protected]

PHYSICAL REVIEW E 79, 065101�R� �2009�

RAPID COMMUNICATIONS

1539-3755/2009/79�6�/065101�4� ©2009 The American Physical Society065101-1

Page 2: Shortest path discovery of complex networks

centrality. Compare this result with the mean-field model ofDall’ Asta et al. �9�: P�Dmf �be��1−exp�−�S�Tbe�.

The probability of finding an arbitrary edge by tracerouteprobes can be given now straightforwardly:

�d = NL=0

P�D�NL�P�NL� = 1 − H1��� , �2�

where H1�z�=NLP�NL�zNL is the generating function of the

cluster size distribution P�NL�.Expression �2� has been tested on the Dorogovtsev-

Mendez �DM� network growth model �10�, a generalizationof the Barabási-Albert �BA� model �11�, where new nodeswith m new links are attached to old nodes with degree-dependent probability ��ki�=

ki−m+am

i�ki−m+am� , where a0. Thegrowing tree corresponds to m=1. We calculated the distri-bution P�NL� for this model analytically in Ref. �12�. Thegenerating function can be expressed in terms of hypergeo-metric functions H1�z�=z2F1�1− ,1 ,2− ;z�−z 1−

2− 2F1�2− ,1 ,3− ;z� and = 1

1+a . At a=1 we recover the originalBA preferential attachment model with scale-free degree dis-tribution and at a=+� we obtain uniform attachment prob-ability with exponential degree distribution. In these cases �dcan be expressed with elementary functions

�d = −1 − �

�ln�1 − �� if a = + ��i.e., = 0� ,

1 − �

2��ln

1 + ��

1 − ��if a = 1�i.e., = 1/2� . � �3�

Figure 1 shows simulations for the P2P sampling model at=0 and 1/2. The analytic results �3�, plotted with dashedlines, fit the simulation data excellently.

From the point of view of the efficiency of the discoveryprocess, it is important to calculate how many edges can bediscovered with a given number of source nS and targetnodes nT. For the Internet discovery the disjunct samplingmodel is relevant, where �T+�S= �nT+nS� /N=n /N=1−��1. The series expansion of Eq. �2� yields �d=1−NL

P�NL��1− nN �NL. We can rearrange the series by adding

and subtracting the terms 1−nNL

N and averaging them sepa-rately �d=

n NL�N −NL

P�NL���1− nN �NL −1+n

NL

N �.Several authors have pointed out that the distribution of

be=NL�N−NL� follows a universal power-law tail in treeswith exponent −2 �12–14�. It also implies that asymptoticallyP�NL��cNL

−2 in an arbitrary tree for NL�1. Specifically, c=1− in the DM model. Using this asymptotic form we cancalculate the leading behavior in the N→� limit �d=

n NL�N

−cLi2�1−n /N�+c �2

6 −c nN �ln N−��, where Li2�x� is the

dilogarithm function and ��0.5772 is the Euler constant.For small argument Li2�1−x� can be expanded by using Eu-ler’s reflection formula Li2�1−x�=−Li2�x�+ �2

6 − ln�x�ln�1−x��−x+ �2

6 +x ln�x�+¯. Finally we get �d=n NL�

N +c nN

−c nN ln n−c n

N�.To process this further, let us express the term NL� more

straightforwardly. The sum of be for all edges clearly equalsthe total length of the shortest paths between all possiblepairings of nodes: e�Ebe=i,j�Vli,j. Since b�= 1

N−1e�Ebe

and l�= 2N�N−1�i,j�Vli,j we can write l�N /2= b�. Therefore,

the average branch size can be given as NL�= l� /2+ NL

2� /N, where NL2� /N= 1

NNL=1N c

NL2 NL

2 =c. For a large, butfinite network the average number of discovered edges is nd�= �N−1��d, that is

nd� � n� l�2

− c ln n + 2c − c�� �4�

in the limit 1�n=nS+nT�N, The above result shows that nd� depends on the sum of nS and nT. This is in contrast tothe mean-field model, which predicts that nd� scales with theproduct of nS and nT. The logarithmic term of Eq. �4� ac-counts for the possibility that a new measurement node isplaced at a node discovered by previous measurement nodes.The inset of Fig. 1 displays simulation results and the for-mula corresponding to the P2P sampling.

We continue with the analysis of a static model wherenodes are randomly connected with a prescribed degree dis-tribution pk. This “configuration model” is a generalizationof the Erdős-Rényi �ER� model �15�, where the degree dis-tribution is Poissonian. It has been shown in �16� that thegenerating function of branch sizes H1�z� satisfies the im-plicit equation H1�z�=zG0��H1�z�� / k�, where G0�z�=kpkz

k

is the generating function of the degree distribution. In theconfiguration model loops become irrelevant in the thermo-dynamic limit N→+� and each edge is a part of a tree. Here,NL and NR are independent and the joint probability functionhas a product form P�NL ,NR�= P�NL�P�NR�. The summationin �d can be carried out separately for NL and NR, whichyields

0

0.2

0.4

0.6

0.8

1

0 0.2 0.4 0.6 0.8 1

πd(

ρ)

ρ

α = 0α = 1/2

0

50

100

150

200

250

0 10 20 30 40 50n

d

n

FIG. 1. �Color online� Discovery probability of edges �d��� asthe function of the measurement node density � for P2P sampling ofevolving trees. Data points are averaged over 100 realizations ofN=104 node BA trees with =0 and 1/2. Solid lines show thecorresponding analytic solution �3� with �=1−�. Inset: the numberof discovered edges nd as the function of the number of the mea-surement nodes n. The solid line represents Eq. �4�, whereas thedotted line shows its leading term l�n /2 with l�=15.48 and 9.045for =0 and 1/2, respectively.

FEKETE, VATTAY, AND PÓSFAI PHYSICAL REVIEW E 79, 065101�R� �2009�

RAPID COMMUNICATIONS

065101-2

Page 3: Shortest path discovery of complex networks

�d = 2�1 − H1�P�S̄����1 − H1�P�T̄���

− �1 − H1�P�S̄�� − H1�P�T̄�� + H1�P�S̄T̄���2. �5�

In the case of P2P discovery this can be reduced to

�d = �1 − H1�1 − ���2. �6�

This formula can be tested on the ER model, with G0�z�=e k��z−1�. The cluster size distribution can be given by theLambert W function H1�z�=−W�− k�e− k�z� / k�. Simulationresults are presented in Fig. 2�a�. The analytic result �6� isalso shown for comparison. One can see that it is discontinu-ous at zero density if k� 1, when a giant componentemerges in the network. The simulation data deviate from theanalytic solution around the discontinuity due to finite-scaleeffects. The size of the jump is P0= �1−H1�1��2, which isprecisely the probability of infinitely large branches beingattached to both sides of an edge. If P0 is regarded as anorder parameter, the observed phenomenon resembles aphase transition at k�=kc=1.

We also generated networks with power-law degree dis-tribution using the hidden-variable model introduced in�17–20�. Simulations are shown in Fig. 2�b� with degree ex-ponent �=3. Note that the analytic solution is discontinuousat zero density, i.e., P0 0, for all k� 0. The phase transi-tion can be observed again, since the analytic solution—andP0—is independent of k� below a critical point kc���= ���−1�

���� . Indeed, data points almost collapse at k�=0.5 and 1which are below kc��=3��1.3684. The phenomenon occurswhen the degree generating function G0��z� depends linearlyon k�. This is characteristic of pure power-law distributionsuntil k� is below the critical value kc.

Now we turn our attention to the degree distributionPd�k�� of the discovered nodes. In our analysis we consideronly the contribution of those shortest paths to k�, whichtraverse a given node. We will show that Pd�k�� is analogous

to the degree distribution of a partially severed network ob-tained by random edge pruning �21,22�. This duality betweenthe sampling and the destruction of networks is very surpris-ing considering the striking differences between the two pro-cesses, e.g., the explored network is surely connected in con-trast to the destroyed one.

Let us consider a node v with original degree k. If everylink is removed independently with probability p, then k�,the degree of the node after random edge removal, will fol-low a binomial distribution: P�k� �k�= � k

k���1− p�k�pk−k�. Con-

sequently,

Ppruned�k�� = k=k�

� � k

k���1 − p�k�pk−k�P0�k� . �7�

Regarding the sampling process we examine a randomlyselected node of the discovered network v�Vd in the staticmodel first. Let us suppose that the sizes of the branches withoriginal degree k are N1 ,N2 , . . . ,Nk �see Fig. 3�. For the sakeof simplicity we discuss only the P2P sampling model, wherethe probability of placing a measurement node in branch i issimply �1−�Ni�. Since branch sizes are independent we canaverage over Ni separately. The results we obtain indicatethat measurement nodes can be found in different brancheswith probability 1−H1���.

We can see from Fig. 3 that the degree of a discoverednode k� equals the number of branches where measurementnodes can be found in. It follows that Pd�k� �k�= 1

P�v�Vd�k� �kk�

��1−H1����k�H1k−k����, where 2�k��k. The

subscript of Pd refers to the probability distribution restrictedto the discovered network. In order to obtain the distributionof k� one should average this probability over Pd�k�, thedistribution of the original degrees of the discovered nodes.This distribution can be obtained by Pd�k�=

P�v�Vd�k�P0�k�P�v�Vd� , so

Pd�k�� =

k=k�

� � k

k���1 − H1����k�H1

k−k����P0�k�

P�v � Vd�, �8�

where k�2 and P�v�Vd�=1−G0�H1����− �1−H1����G0��H1����. It is evident from Eqs. �7� and �8� thatPd�k�� equals Ppruned�k��—normalized properly for k�2—ifp=H1���. In other words the discovered network is equiva-lent with an edge destroyed one.

In the case of an evolving network at least one of thebranches, say Nk, tends to infinity as N→�, so the probabil-

0

0.2

0.4

0.6

0.8

1

0 0.2 0.4 0.6 0.8 1

πd(

ρ)

ρ

(a)

�k�= 4.0�

k�= 2.0�

k�= 1.0�

k�= 0.5

0 0.2 0.4 0.6 0.8 10

0.2

0.4

0.6

0.8

1

πd(

ρ)

ρ

(b)

�k�= 4.0�

k�= 2.0�

k�= 1.0�

k�= 0.5

FIG. 2. �Color online� Discovery probability of edges as thefunction of the measurement node density � for static �a� Poissonianand �b� power-law networks. 100 P2P samplings were averaged inN=104 size networks with average degrees k�=0.5, 1, 2, and 4.Solid lines show analytic formula �6�. Note that the analytic resultsfor k�=0.5 and 1 are the same in the case of the power-law model.This result is confirmed by the numerical simulations, where datapoints collapse almost completely.

� �� �� �� � N3

N4N5N6

NkN1 N2

v

FIG. 3. Sketch of an arbitrary vertex v with degree k and theemerging branches with sizes N1 ,N2 , . . . ,Nk. Shaded circles repre-sent branches where measurement nodes can be found in. Thicklines symbolize the discovered edges of node v.

SHORTEST PATH DISCOVERY OF COMPLEX NETWORKS PHYSICAL REVIEW E 79, 065101�R� �2009�

RAPID COMMUNICATIONS

065101-3

Page 4: Shortest path discovery of complex networks

ity that a measurement node can be found in the kth branchtends to 1. In order to circumvent this effect let us redefinethe network in such a way that every link should be directedtoward the gigantic side of the network. Let q=k−1 denotethe in-degree of nodes in this directed network. It is easy to

see that the discovered in-degree q� will be equal to thenumber of branches where measurement nodes can be foundin. We can follow the same procedure as in the case of thestatic model. We only need to replace k� and k in Eq. �8� withthe corresponding in-degrees q� and q, and the normalizationconstant with P�v�Vd�=1−G0

�in��H1����.Simulation results are shown for both static and evolving

networks in Fig. 4. Note that we have assumed above thatH1��� is independent of q. This is only an approximation inthe case of the evolving network model. However, H1�� �q�can be calculated exactly for the DM model, which is shownwith dotted lines �23�.

In conclusion we presented a study of network discoveryprocesses. We derived analytically the probability of findingan arbitrary link of the network via shortest-path networkdiscovery. We considered both static and evolving randomnetworks with various sampling scenarios. We also demon-strated an important duality between the discovery of net-works by shortest paths and the destruction of the same net-work by edge removal.

The authors thank the partial support of the National Sci-ence Fund Hungary �Grant No. OTKA 77779�, the NationalOffice for Research and Technology �Grant No. NAP 00635/2005�, and the EU IST FET Onelab2 Project �Grant No.FP7-224263�.

�1� R. Albert and A.-L. Barabási, Rev. Mod. Phys. 74, 47 �2002�.�2� S. N. Dorogovtsev and J. F. F. Mendes, Adv. Phys. 51, 1079

�2002�.�3� J. Leskovec and C. Faloutsos, in Proceedings of the SIGKDD

�ACM, New York, NY, 2006�, pp. 631–636.�4� S. H. Lee, P.-J. Kim, and H. Jeong, Phys. Rev. E 73, 016102

�2006�.�5� A. Lakhina, J. W. Byers, M. Crovella, and P. Xie, INFO-

COM’03 �IEEE, New York, NY, 2003�, Vol. 1, pp. 332–341.�6� T. Petermann and P. De Los Rios, Eur. Phys. J. B 38, 201

�2004�.�7� A. Clauset and C. Moore, Phys. Rev. Lett. 94, 018701 �2005�.�8� F. Viger, A. Barrat, L. Dall’Asta, C.-H. Zhang, and E. D.

Kolaczyk, Phys. Rev. E 75, 056111 �2007�.�9� L. Dall’Asta, I. Alvarez-Hamelin, A. Barrat, A. Vazquez, and

A. Vespignani, Phys. Rev. E 71, 036135 �2005�.�10� S. N. Dorogovtsev, J. F. F. Mendes, and A. N. Samukhin, Phys.

Rev. Lett. 85, 4633 �2000�.�11� A.-L. Barabási and R. Albert, Science 286, 509 �1999�.�12� A. Fekete, G. Vattay, and L. Kocarev, Phys. Rev. E 73,

046102 �2006�.

�13� G. Szabó, M. Alava, and J. Kertész, Phys. Rev. E 66, 026101�2002�.

�14� D.-H. Kim, J. D. Noh, and H. Jeong, Phys. Rev. E 70, 046126�2004�.

�15� P. Erdős and A. Rényi, Publ. Math. Inst. Hung. Acad. Sci. 5, 17�1960�.

�16� M. E. J. Newman, S. H. Strogatz, and D. J. Watts, Phys. Rev.E 64, 026118 �2001�.

�17� K.-I. Goh, B. Kahng, and D. Kim, Phys. Rev. Lett. 87, 278701�2001�.

�18� G. Caldarelli, A. Capocci, P. De Los Rios, and M. A. Muñoz,Phys. Rev. Lett. 89, 258702 �2002�.

�19� B. Söderberg, Phys. Rev. E 66, 066121 �2002�.�20� M. Boguñá and R. Pastor-Satorras, Phys. Rev. E 68, 036112

�2003�.�21� R. Cohen, K. Erez, D. ben-Avraham, and S. Havlin, Phys. Rev.

Lett. 85, 4626 �2000�.�22� D. S. Callaway, M. E. J. Newman, S. H. Strogatz, and D. J.

Watts, Phys. Rev. Lett. 85, 5468 �2000�.�23� A. Fekete and G. Vattay �unpublished�.

10-7

10-6

10-5

10-4

10-3

10-2

10-1

100

0 0.2 0.4 0.6 0.8 1

Pd� k

��

ρ

(a)

k� = 2k� = 3k� = 4k� = 5k� = 6k� = 7

0 0.2 0.4 0.6 0.8 110-3

10-2

10-1

100

Pd� q�

ρ

(b)

q� = 1q� = 2q� = 3q� = 4q� = 5q� = 6

FIG. 4. �Color online� The probability of discovered degreePd�q�� and in-degree Pd�q�� as the function of � in P2P samplingmodel. The original networks are N=104 node �a� static ER and �b�evolving BA graphs. Data points are averaged for ten networks withten samplings in each realization. Solid lines consist of analyticsolution �8�. Exact solution for the evolving model is shown withdotted lines for comparison.

FEKETE, VATTAY, AND PÓSFAI PHYSICAL REVIEW E 79, 065101�R� �2009�

RAPID COMMUNICATIONS

065101-4