Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

# The longest path in the Price model

## Abstract

The Price model, the directed version of the Barabási–Albert model, produces a growing directed acyclic graph. We look at variants of the model in which directed edges are added to the new vertex in one of two ways: using cumulative advantage (preferential attachment) choosing vertices in proportion to their degree, or with random attachment in which vertices are chosen uniformly at random. In such networks, the longest path is well defined and in some cases is known to be a better approximation to geodesics than the shortest path. We define a reverse greedy path and show both analytically and numerically that this scales with the logarithm of the size of the network with a coefficient given by the number of edges added using random attachment. This is a lower bound on the length of the longest path to any given vertex and we show numerically that the longest path also scales with the logarithm of the size of the network but with a larger coefficient that has some weak dependence on the parameters of the model.

## Introduction

The Price model1,2 is one of the oldest network models and it was motivated by the pattern of citations in academic papers. In a citation network, each node represents a document while every entry in the bibliography of a document t is represented by a directed edge from an older document, node s, to node t. One of the key features of a citation network, one inherent in the Price model, is that there is a fundamental arrow of time in the network; bibliographies can only refer to older documents. This means that there are no cycles in the network, you can never find a path from a node that returns to that node. Thus a citation network is an example of a Directed Acyclic Graph (DAG).

Mathematically, DAGs have some distinctive properties and one of them is that for any pair of connected nodes there is a well defined and meaningful longest path length, for example see Fig. 1. Contrast this with, for example, undirected networks, where you can often find many paths between two given vertices that visit most of the nodes in a component so longest paths are often as long as the component is big, if all nodes in the path must be distinct, and infinite, if multiple visits to the same node were allowed. In directed graphs with cycles, the longest path is infinite, if multiple visits to a node are allowed. Both of these definitions of the longest path coincide if the network is acyclic, as the absence of cycles ensures that in any path, a node can only occur once.

In a citation network, it is not clear how useful the shortest path is. For instance, in writing this paper, the oldest citation we have is to a paper by Price1. The shortest path to Price’s paper from this work has length one. On the other hand, most of the knowledge of that work contained in this paper did not come directly from that paper. We only reread Price’s paper to check one detail while working on this project. So the length of the shortest path to that paper seems largely irrelevant. Rather, the information in this early bibliometrics paper by Price has reached us through a sequence of other work, much of it not explicitly referenced in our paper. We drew on much more recent documents such as the reference book by Newman4 which in turn cites papers which developed various aspects of the Price model. Indeed there is much evidence3,5,6 that typically 70% or so of a bibliography may not have been used directly when producing the work in an academic paper.

So our thesis is that for DAGs the longest path plays a much more important role than the shortest path. In simple models the longest path has been shown to be the best approximation to the geodesic for models of DAGs embedded in Minkowski space7 where there is a single time direction. This has been exploited in real data sets where dimension and curvature of a DAG can be measured8,9 enabling us to embed DAGs such as citation networks in Minkowski space10. A similar rigorous link for undirected networks has only been made for the shortest path in networks embedded in Euclidean space where there is no arrow of time11,12].

The properties of the longest path have been investigated in the context of simple models known as Cube Spaces13 which include those built from Poisson Point Processes in Minkowski spaces where all causally connected points are connected to form a network. However these are examples of transitively complete DAGs, that is if there is a path between two points then there is always an edge connecting those two points directly. However, that is not true for a citation network where the limited size of a bibliography means no document ever cites every older paper to which it has some connection. What we seek to do in this paper is to look at the properties of the longest path in a simple model, the Price model2 and its variations, where the network is neither transitively complete nor (except for one parameter value) transitively reduced, the situation for most DAGs in a social context such as citation networks. Can we calculate the length of the longest path in the Price model? How does this length depend on the parameters of the model?

We start by outlining our analytic results. We then compare these predictions to numerical simulations and summarise our findings.

## Analytic results

In the Price model2 (for instance see Sect. 14.1 of Newman4) we start from a network G(t) defined at an integer ‘time’ t. We create a new graph $$G(t+1)$$ by first adding one new vertex, which we label with the time $$(t+1)$$. This new node, $$(t+1)$$, is connected to m existing vertices s in the graph G(t). These m existing vertices $$\{s\}$$ are each chosen with probability $$\Pi (t,s)$$. We will use a convention that these edges point from older to newer vertices, from s to $$(t+1)$$. Once these edges have been added we have our new graph $$G(t+1)$$. The process is then repeated. For an example of how a network grows according to the Price model, see Fig. 2.

The mathematical and numerical simplicity of this model comes from the simple definition of $$\Pi (t,s)$$. To define the probability $$\Pi (t,s)$$ we first define $$N(t)=N_0 + t$$ be the number of nodes in the graph G(t) for some constant $$N_0$$. The number of edges in the graph G(t), after all m edges have been added to node t, is $$E(t)=E_0 + mt$$ where $$E_0$$ is some constant. Finally in the graph G(t) let the node created at time s have out-degree $$k^{(\mathrm {out})}(t,s)$$, the number of edges leaving s and connecting it to later nodes.

In this model, the connection of edges to new node $$(t+1)$$ is made in one of two ways. With probability p node $$(t+1)$$ is connected to an existing vertex s chosen in proportion to the number of edges leaving s for later nodes in G(t), $$k^{(\mathrm {out})}(t,s)$$. Price called this cumulative advantage and, after normalisation, we have that the probability of choosing s is $$k^{(\mathrm {out})}(t,s)/E(t)$$. The second process happens with probability $$\bar{p}=(1-p)$$ and in this case we choose the source vertex s uniformly at random from the set of vertices in G(t), i.e. with probability 1/N(t). If we start the process at time equal to 1, then the probability of connecting the vertex $$(t+1)$$ to existing vertex s is $$\Pi (t,s)$$ where

\begin{aligned} \Pi (t,s) = p \frac{k^{(\mathrm {out})}(t,s)}{E(t)} + \bar{p}\frac{1}{N(t)} \text{ if } t \ge s \ge 1 \, , \end{aligned}
(1)

unless $$s=t=1$$ when $$\Pi (t,s)=1$$, otherwise $$\Pi (t,s)=0$$. Note that in his original paper, Price considered $$p=m/(m+1)$$ where $$\Pi \propto k^{(\mathrm {out})}+ 1$$. This more general form for the attachment probability $$\Pi (s,t)$$ in Eq. (1) has been used in many related contexts since Price, see Newman4 for a review.

There is an issue about the starting point for this process. The usual form for $$\Pi$$, the $$t\ge s > 1$$ form in Eq. (1), leaves us with a problem for $$\Pi (t=1,s=1)$$ when looking at the attachment to the second vertex, $$t=2$$. Our solution is to demand that $$\Pi (t=1,s=1)=1$$. This fixes the cumulative probability $$\Pi _\le$$ to have a consistent value which is in fact all we need for this calculation. However, we will also assume that the number of nodes and number of edges are given by $$N(t)=t$$ and $$E(t)=mt$$ respectively. This is only needed for $$t\ge 2$$ so in principle we must allow multiple edges between nodes starting with m edges added between node 2 and node 1. Again this cannot be true for at least the first node at $$t=1$$.

We also note that our analytic calculations allow our networks to contain multiple edges (node pairs linked by more than one edge). Of course, a real citation network and many numerical calculations of this model (though not our numerical calculations) do not have multiple edges. However, in the long time limit the effect of such edges becomes negligible as they form a small fraction of the edge population, a fraction that dies off as a power law in time4.

Now we would like to define the longest path algebraically. Unfortunately, finding the longest path requires global knowledge of all the paths. This is extremely hard to do algebraically (though is surprisingly straightforward numerically). So the first stage of our calculation is to decide to calculate a path defined with local knowledge only. That is we define what is called a reverse greedy path using an iterative process where at each stage we only need to know about the properties of the next vertex in the path. We will denote the length of the reverse greedy path from the source vertex $$s=1$$ to a target vertex t as $$\ell (t)$$. The length of the longest path from the source vertex to a target vertex t will be denoted as L(t).

The reverse greedy path to a node t is a path running from the source node at the initial time $$t=1$$ to node t. This always exists and it is unique. To define it suppose that we have found the reverse greedy path to all earlier nodes. The last step on the reverse greedy path to node t is made along the edge arriving at t from its most recent predecessor node, say s. The idea is that the most recent predecessor of node t, furthest from the source node in terms of the time, is also the most likely to be the predecessor node furthest from the sink node in terms of network path lengths. There is no guarantee that our reverse greedy path is identical to the longest path, so the reverse greedy path length is a lower bound on the longest path length. A more formal definition is given in Appendix A.1 in the Supplementary Information.

Of course in any one instance of the Price model, this reverse greedy path length will fluctuate if we look at nodes of similar ages, not least because $$\ell$$ is integer valued. We will use a mean field approach so our $$\ell (t)$$ is an average over many realisations of the model though for simplicity we will not include the expectation value notation $$\langle \ldots \rangle$$. For that reason our $$\ell (t)$$ will be a real valued monotonically increasing function of time t.

We can find the long-time behaviour using the following simple argument. On average, there are pm edges added with cumulative advantage at each time step. Suppose we are adding a new node at time $$(t+1)$$ and we are looking for source nodes s for the m edges we are going to add. The source nodes chosen with cumulative advantage are those with largest degree and those are the oldest nodes created at small values of time s (since $$k^{(\mathrm {out})}(t,s) \propto (t-s)^p$$, for instance see Newman4). So the youngest source node chosen, nodes created at the largest value of time s, is likely to be one of the $$m_{{{\text{rnd}}}} = m\bar{p}$$ nodes chosen uniformly at random. The probability that all these $$m_{{{\text{rnd}}}}$$ randomly chosen source nodes are chosen between time 1 and time $$\hat{s}$$ inclusive is $$(\hat{s}/t)^{{m_{{{\text{rnd}}}}}}$$. Suppose we consider the time $$\hat{s}_{1/2}$$ where with probability one half the time coordinate of the largest randomly chosen source node is $$\hat{s}_{1/2}$$ or less, then this sets the scale for the birth date of the youngest source node connected to node $$(t=1)$$, namely that $$\hat{s}_{1/2} = \mu t$$ where $$\mu = 2^{{ - m_{{{\text{rnd}}}}}}$$. This is the previous node on the reverse greedy path from the initial node to node t. We can then estimate the numbers of steps it takes to get back to the source node at $$t=1$$ as $$\mu ^{\ell } t \approx 1$$ which leads to

\begin{aligned} \ell (t) = \frac{m \bar{p}}{\ln (2)} \ln ( t ) \, . \end{aligned}
(2)

The simplicity of the attachment probability in the Price model means we can also produce more detailed derivation using a mean-field approach. Let the probability that the length of the reverse greedy path, $$\ell$$, from new node $$(t+1)$$ to the initial node at $$t=1$$, be $$P(\ell ,t)$$. Then the master equation is of the form

\begin{aligned} P(\ell ,t+1)= & {} \sum _{s=1}^{t} P(\ell -1,s) \Pi _{\mathrm {max}}(t,s) \, . \end{aligned}
(3)

Here $$\Pi _{\mathrm {max}}(t,s)$$ is the probability that of the m predecessor nodes connected to a new node at $$(t+1)$$, the oldest of them is s. In terms of the generating function $$G(z,t) = \sum _{\ell =0}^\infty z^\ell P(\ell ,t)$$ we find that the exact solution in the Price model is (see Appendix A.3 in the Supplementary Information for details)

\begin{aligned} G(z,t)= & {} \prod _{s=1}^{t-1} \left( z \left( 1 - \left( \frac{s-\bar{p}}{s} \right) ^m\right) + \left( \frac{(s-\bar{p})}{s} \right) ^m \right) . \end{aligned}
(4)

Exact forms for the expected reverse greedy path length can be found from this expression, especially for specific small values of m. However, the leading order contribution for large times is always of the form

\begin{aligned} \lim _{t \rightarrow \infty } \ell (t)= & {} m\bar{p}\ln (t) - m\bar{p}\psi (m\bar{p}+ 1) + \sum _{n=2}^{m} \left( {\begin{array}{c}m\\ n\end{array}}\right) (-1)^{n-1} (\bar{p})^n \zeta (n) + O(t^{-1}) \end{aligned}
(5)

where it is implicit that there is no contribution from the term with the sum for the case of $$m=1$$. Here $$\psi (z)$$ is the digamma function and $$\zeta (z)$$ is the Riemann zeta-function. The details of the calculation are given in Appendix A.3 of the Supplementary Information.

Finally, the scaling properties of the longest path in the Price model suggests that the properties of height antichains are also very simple. The height of a node in a DAG is the length of the longest path to a node from a source node, any node with zero in-degree. Thus in the Price model, the height of a node is simply the length of the longest path length from the initial node to the given node, our $$L$$.

Nodes connected by a path cannot be of the same height. Thus the subset of all nodes at the same height form an antichain, a set of nodes in which no two are connected by a path14. The scaling properties of these height antichains are simple to estimate if we conjecture that the average longest path $$L$$ of a node t, its average height, scales as $$\ln (t)$$. This suggests that if the median index of a node in an antichain of integer valued height h is $$t_{{{\text{mid}}}} = (\mu )^{h}$$ then the mean index of nodes in the antichain will scale as $$\cosh (\sqrt{\mu })(\mu )^h$$, the variance in the index of nodes in the antichain will be roughly $$(1/\sqrt{3}) \sinh (\sqrt{\mu }) (\mu )^h$$, and the number of nodes in the antichain will vary as in the $$2\sinh (\sqrt{\mu }) (\mu )^h$$.

## Numerical methods and results

In the master Eq. (3), multiedges (attaching two edges from the new vertex to the the same vertex) are not excluded. In our numerical implementation code we also allowed multiedges to be created. However the probability of attaching one edge from new vertex $$(t+1)$$ to any existing vertex s is decreasing as $$(s/t)^{p}$$ (for instance see p. 489–90 Newman4). So the creation of a multiedge becomes negligible at large times hence our networks are essentially the same as implementations of the Price model in which multiedges are excluded.

The first few steps of the numerical implementation of the Price model have some subtleties which are worth mentioning. The problems noted analytically with the initial node at $$t=1$$, which is the only node with zero-in-degree, exemplify the issue. The earliest nodes are those with the shortest values of our $$\ell$$ and $$L$$ path lengths to the first node. Since the path lengths of the first few nodes will be added to any other path routed via one of these early nodes, we expect the initial graph to give a constant contribution to the path lengths we measure but not to alter the growth in length scales over long-times.

We chose to start our simulations from a complete graph of $$(2m+1)$$ nodes, labelled $$t=1$$ to $$t=(2m+1)$$. All pairs of nodes are connected in this initial graph, with the edge direction from earlier to later node. This initial graph ensures that $$E(t)=mt$$ for all graphs generated numerically, G(t) for $$t\ge (2m+1)$$. The out-degree distribution is fairly even but the in-degree is not fixed to be m for nodes in this initial graph. Further notes on the effect of the initial graph are given in Appendix B.4 in the Supplementary Information.

In order to simplify and accelerate the numerical analysis, for each new node $$(t+1)$$ added we drew nodes uniformly at random from an “attachment list” which we maintain. After we have chosen the source edges for the m edges attached to the new vertex, we update our attachment list by adding each source node once for every edge, and we add $$(\bar{p}/pm)$$ references to the new node. This means we restrict our results to cases where $$(\bar{p}/pm)$$ is an integer. Drawing nodes uniformly from our attachment list means that we are choosing vertices according the the probability Eq. (1). For the special case where there was no cumulative advantage, $$p=0$$, the attachment list was simply a list of the existing vertices where each is referenced once. A more detailed explanation is given in Appendix B.1 of the Supplementary Information.

For each node s, we also record values for the lengths of the reverse greedy path $$\ell (s)$$ and the longest path $$L(s)$$. When adding a new node t, it is simple to look at the values of the lengths of these paths to the m nodes attached to the new node. From that information, it is simple to record the lengths of these paths to the new vertex, $$\ell (t)$$ and $$L(t)$$. Storing and manipulating these results proved to be more of a limiting factor than the speed to produce them. We produced results for networks of up to $$10^8$$ nodes.

The results for these path lengths are quite noisy for any one node as shown by an exemplary run in Fig. 3. Despite the relatively large fluctuations in results for any one node, there is a clear trend in the nodes created at later times. The fluctuations of the path length scaling are greatly reduced when averaged over multiple networks as shown in Fig. 3. So we use 100 runs for each set of parameter values in our work.

In order to compare our numerical data with the analytical results we fitted the path lengths found to the function f(t) where

\begin{aligned} f(t) = a\ln (t) + b \, . \end{aligned}
(6)

The fit was made by using a non-linear fitting routine based on the optimisation of the chi-squared measure of goodness of fit (for instance see15) as described in more detail in Appendix B.3 of the Supplementary Information. Errors on parameters were estimated from the covariance matrix produced by such a method. Given that our analytical work only studies the long-time limit and that the early times in the numerical simulation do not satisfy all the conditions of the analytical work, it is not surprising that in Fig. 4 we still see significant difference between the numerical results and analytical predictions for the length of paths from $$t=1$$ to those nodes created at early times. So when fitting to our numerical data we only use data for nodes created from time $$t_0=1,000$$ up to the last node at $$t=10^8$$. The effect of this cutoff is discussed in Appendix B.3 but we found varying this lower cutoff had little effect on our results since we had so many data points from the region where the asymptotic growth dominates.

The dependence of the coefficient of the $$\ln (t)$$ term found from the fit, a, on the model parameters is shown in Figs. 5 and 6.

The next-to-leading order coefficient, b of Eq. (6), showed no clear trends. We also considered a non-linear fit with a term of c/t added to the expression in the Eq. (6). We found that in practice, this term had little influence on the remaining parameters of interest, namely, a and b. Furthermore, the errors in c were found to be relatively large in comparison to the errors of the parameters a.

Finally, it is clear that the longest path length is scaling as $$\ln (t)$$ to a good approximation. As noted above this then implies that the properties of height antichains in the Price model should follow a regular pattern which depends on the height of nodes in each antichain. Numerical confirmation of these patterns are given in Appendix B.6 of the Supplementary Information.

## Discussion

The numerical results for the leading behaviour of the path length scales are striking. Within the margin of numerical error, our results in Fig. 5 show that the length of the reverse greedy path scales asymptotically as $$m\bar{p}\ln (t)$$ for a wide range of parameter values. This is consistent with both the simple argument and the detailed analytical calculation presented in the Analytic Results (see also Appendix A of the Supplementary Information). The analytical approach also shows that for long times, the distribution of lengths of reverse greedy paths in the Price model is Poisson distributed with mean equal to $$m\bar{p}\ln (t)$$ (see Appendix A).

The reverse greedy path length is a lower bound on the length of the longest path so it is no surprise that the longest path length also scales as $$\ln (t)$$ with a coefficient, $$a_{\mathrm {max}}$$, which is larger than the corresponding scaling factor for the reverse greedy path length, $$a_{\mathrm {gr}}$$. Interestingly this coefficient of the $$\ln (t)$$ term, $$a_{\mathrm {max}}$$, for the longest path shows some additional weak dependence on the parameters beyond the $$m\bar{p}$$ found for the reverse greedy path, as both Figs. 5 and 6 clearly show.

The Price model is not in itself a very realistic model for any particular context. For instance, a true citation network often shows many other features such as a preference to cite recent papers, for example see6,16,17,18,19,20,21. The choice of a simple linear form for the attachment probability Eq. (1) appears to be part of this simplification, a form linear in degree motivated by the need for mathematical simplicity. At first sight, this form seems unrealistic since it requires authors of papers to have global information about the citation network because of the normalisation factors. No author can know exactly how many citations a paper has let alone the total number of citations in the network. However, this form emerges naturally in many situations as the result of doing local searches on the network, see6,21,22,23,24,25,26,27 and references therein. In more realistic models, the cumulative advantage, the p term in $$\Pi$$ emerges from doing a local search back through the current citation network, while the random attachment, the $$\bar{p}$$ term in $$\Pi$$, represents a simple model of other possible processes. So like all good models, the emphasis in the Price model on the linear form for $$\Pi$$ in terms of degree does capture an important and realistic feature of many real situations. This linear form of the attachment probability $$\Pi$$ is also the critical feature in the analysis of undirected versions of this model, such as the Barabási–Albert model28 where the cumulative advantage aspect is known as preferential attachment and the original example worked with $$p=1/2$$ in our notation.

However, the Price model, simple as it is, also emphasises another critical aspect of a citation network, and that is the inherent arrow of time in this context. Citations (almost) always point backwards in time. Typical data sets3,8 suggest that less than 1% of citations are to documents which are labelled as being published later than the citing document. The networks created in the Price model are realistic in this way, they always produce directed acyclic graphs. This acyclic property is lost when the edge direction is ignored, as in the Barabási–Albert implementations of this model. Since many analyses work in the undirected version, they have missed this key feature of the Price model and of real-world citation networks.

For instance, the length of the shortest path between two nodes is a natural measure for undirected networks since in some circumstances it can be related to the geodesic of networks embedded in Euclidean space, for example see11,12. For an undirected version of the Price model, the LCD model of Bollobás and Riordan29,30 (a more precisely defined version of the Barabási–Albert model28), it is known that the diameter, the largest length of any shortest path between two nodes, scales as $$\ln (t)/(\ln \ln (t))$$ if $$m>1$$ while the diameter scales as $$\ln (t)$$ for the special case of $$m=1$$29 (see also theorem 18 of30). For the case $$m>1$$, Bollobás points out that while in any random graph we expect to see the small-world effect31 and a $$\ln (N)$$ scaling of lengths (for N nodes in the network), for the undirected version of this model “one might expect the diameter to be even smaller: the unbalanced degree distribution pushes up the number of small paths, and thus, perhaps, pushes the diameter down” (see Bollobás30 section 13, p 25). That is, the unusual slow scaling of the shortest path distance scale in this undirected version of this model is due to the effect of the very high degree nodes created because of the cumulative advantage (preferential attachment) process.

However, the situation is completely different when we take account of the direction of edges in this model. First, the link between shortest path lengths and geodesics in Euclidean space used in Ref.11,12 is lost. The natural order of nodes in a DAG, the arrow of time, means we should compare the path lengths network against geodesic lengths for network models embedded in Minkowski space, and indeed there is a proven relationship between these two7,10,32. Following on from this, when using the longest path in the directed form of these models, our analysis has shown that the longest path is likely to be created by edges created from random attachment not those formed using the cumulative advantage mechanism, the opposite of what is suggested for the shortest path in the undirected form of these models. Thus the fat-tailed nature of the degree distribution in the Price model (or directed versions of the Barabási–Albert/LCD models) is not a factor for the longest path and so, using Bollobás’ insight30, we should expect the longest path to scale simply as $$\ln (t)$$, and not something slower than that. That is, indeed what we have shown in our work here.

Looking more widely, we note that Bollobás30 (p 10) suggested that “For these models the orientation is not very interesting”. Our conclusion is the opposite. Namely that for any directed network in which vertices are added sequentially, the arrow-of-time inherent in these growing network models is both physically relevant and this vertex order produces new and distinctive features. Our analytical and numerical analysis of the longest path length is just one illustration of what is possible.

## References

1. 1.

Price, D. S. The scientific foundations of science policy. Nature 206, 233–238 (1965).

2. 2.

Price, D. S. A general theory of bibliometric and other cumulative advantage processes. J. Am. Soc. Inf. Sci. 27, 292–306. https://doi.org/10.1002/asi.4630270505 (1976).

3. 3.

Clough, J. R., Gollings, J., Loach, T. V. & Evans, T. S. Transitive reduction of citation networks. J. Complex Netw. 3, 189–203. https://doi.org/10.1093/comnet/cnu039 (2015).

4. 4.

Newman, M. Networks: An Introduction (Oxford University Press, Oxford, 2009).

5. 5.

Simkin, M. V. & Roychowdhury, V. P. Stochastic modeling of citation slips. Scientometrics 62, 367–384 (2005). arXiv:cond-mat/0401529.

6. 6.

Goldberg, S., Anthony, H. & Evans, T. Modelling citation networks. Scientometrics 105, 1577–1604. https://doi.org/10.1007/s11192-015-1737-9 (2015). arXiv:1408.2970.

7. 7.

Brightwell, G. & Gregory, R. Structure of random discrete spacetime. Phys. Rev. Lett. 66, 260–263. https://doi.org/10.1103/PhysRevLett.66.260 (1991).

8. 8.

Clough, J. & Evans, T. What is the dimension of citation space?. Phys. A 448, 235–247. https://doi.org/10.1016/j.physa.2015.12.053 (2016). arXiv:1408.1274.

9. 9.

Clough, J. R. Causal Structure in Networks, PhD, (Imperial College London, London, 2017).

10. 10.

Clough, J. R. & Evans, T. S. Embedding graphs in lorentzian spacetime. PLoS One 12, e0187301. https://doi.org/10.1371/journal.pone.0187301 (2017). arXiv:1602.03103.

11. 11.

Ellis, R. B., Martin, J. L. & Yan, C. Random geometric graph diameter in the unit ball. Algorithmica 47, 421–438 (2007). arXiv:math/0501214.

12. 12.

Díaz, J., Mitsche, D., Perarnau, G. & Pérez-Giménez, X. On the relation between graph distance and euclidean distance in random geometric graphs. Adv. Appl. Probab. 48, 848–864. https://doi.org/10.1017/apr.2016.31 (2016).

13. 13.

Bollobás, B. & Brightwell, G. Box-spaces and random partial orders. Trans. Am. Math. Soc. 324, 59–72 (1991).

14. 14.

Vasiliauskaite, V. & Evans, T. S. Making Communities Show Respect For Order. Tech. Rep. (Imperial College London, London, 2019). arXiv:1908.11818.

15. 15.

Press, W. H., Teukolsky, S. A., Vetterling, W. T. & Flannery, B. P. Numerical Recipes in C (Cambridge University, Cambridge, 1992).

16. 16.

Glänzel, W. & Schoepflin, U. A stochastic model for the ageing of scientific literature. Scientometrics 30, 49–64 (1994).

17. 17.

Glänzel, W. & Schoepflin, U. A bibliometric study on ageing and reception processes of scientific literature. J. Inf. Sci. 21, 37–53 (1995).

18. 18.

van Raan, A. On growth, ageing, and fractal differentiation of science. Scientometrics 47, 347–362 (2000).

19. 19.

Wu, Y., Fu, T. Z. & Chiu, D. M. Generalized preferential attachment considering aging. J. Inform. 8, 650–658. https://doi.org/10.1016/j.joi.2014.06.002 (2014).

20. 20.

Mokryn, O., Wagner, A., Blattner, M., Ruppin, E. & Shavitt, Y. The role of temporal trends in growing networks. PLoS One 11, e0156505. https://doi.org/10.1371/journal.pone.0156505 (2016).

21. 21.

Golosovsky, M. & Solomon, S. Growing complex network of citations of scientific papers: Modeling and measurements. Phys. Rev. E 95, 012324. https://doi.org/10.1103/PhysRevE.95.012324 (2017).

22. 22.

Vazquez, A. Disordered networks generated by recursive searches. Europhys. Lett. EPL 54, 430–435. https://doi.org/10.1209/epl/i2001-00259-y (2001).

23. 23.

Krapivsky, P. L. & Redner, S. Organization of growing random networks. Phys. Rev. E 63, 066123. https://doi.org/10.1103/PhysRevE.63.066123 (2001).

24. 24.

Saramäki, J. & Kaski, K. Scale-free networks generated by random walkers. Phys. A 341, 80 (2004).

25. 25.

Evans, T. S. & Saramäki, J. P. Scale free networks from self-organisation. Phys. Rev. E 72, 026138. https://doi.org/10.1103/PhysRevE.72.026138 (2005).

26. 26.

Jackson, M. O. & Rogers, B. W. Meeting strangers and friends of friends: How random are social networks?. Am. Econ. Rev. 97, 890–915. https://doi.org/10.1257/aer.97.3.890 (2007).

27. 27.

Simkin, M. V. & Roychowdhury, V. P. A mathematical theory of citing. J. Am. Soc. Inf. Sci. 58, 1661–1673. https://doi.org/10.1002/asi.20653 (2007).

28. 28.

Barabási, A.-L. & Albert, R. Emergence of scaling in random networks. Science 286, 173 (1999).

29. 29.

Bollobás, B. & Riordan, O. The diameter of a scale-free random graph. Combinatorica 24, 5–34 (2004).

30. 30.

Bollobás, B. Mathematical results on scale-free random graphs. In Handbook of Graphs and Networks 1–37 (Wiley, Hoboken, 2003).

31. 31.

Watts, D. J. & Strogatz, S. H. Collective dynamics of small-world networks. Nature 393, 440–442. https://doi.org/10.1038/30918 (1998).

32. 32.

Rideout, D. & Wallden, P. Spacelike distance from discrete causal order. Class. Quantum Grav. 26, 155013. https://doi.org/10.1088/0264-9381/26/15/155013 (2009).

## Acknowledgements

V.V. acknowledges support from EPSRC, Grant number EP-R512540-1.

## Author information

Authors

### Contributions

T.S.E. derived the analytical solution. L.C. and V.V. conducted the data analysis. T.S.E. and V.V. wrote the manuscript. All authors developed computational framework, analysed and interpreted the results and reviewed the manuscript.

### Corresponding author

Correspondence to Tim S. Evans.

## Ethics declarations

### Competing interests

The authors declare no competing interests.

### Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

## Rights and permissions

Reprints and Permissions

Evans, T.S., Calmon, L. & Vasiliauskaite, V. The longest path in the Price model. Sci Rep 10, 10503 (2020). https://doi.org/10.1038/s41598-020-67421-8

• Accepted:

• Published: