Next Article in Journal
Review of Tethered Unmanned Aerial Vehicles: Building Versatile and Robust Tethered Multirotor UAV System
Previous Article in Journal
Influence of Longitudinal Train Dynamics on Friction Buffer Stop Performances
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Kolmogorov–Smirnov-Based Edge Centrality Measure for Metric Graphs

1
Natural Science Division, Pepperdine University, Malibu, CA 91301, USA
2
Fariborz Maseeh Department of Mathematics and Statistics, Portland State University, Portland, OR 97201, USA
3
Department of Mathematics, University of Arizona, Tucson, AZ 85721, USA
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Dynamics 2025, 5(2), 16; https://doi.org/10.3390/dynamics5020016
Submission received: 26 February 2025 / Revised: 14 April 2025 / Accepted: 15 April 2025 / Published: 2 May 2025

Abstract

:
In this work, we introduce an edge centrality measure for the Helmholtz equation on metric graphs, a particular flow network, based on spectral edge energy density. This measure identifies influential edges whose removal significantly changes the energy flow on the network, as indicated by statistically significant p-values from the two-sample Kolmogorov–Smirnov test comparing edge energy densities in the original network to those with a single edge removed. We compare the proposed measure with eight vertex centrality measures applied to a line graph representation of each metric graph, as well as with two edge centrality measures applied directly to each metric graph. Both methods are evaluated on two undirected and weighted metric graphs—a power grid network adapted from the IEEE 14-bus system and an approximation of Poland’s road network—both of which are multigraphs. Two experiments evaluate how each measure’s edge ranking impacts the energy flow on the network. The results demonstrate that the proposed measure effectively identifies influential edges in metric graphs that significantly change the energy distribution.

1. Introduction

Network theory serves as a powerful tool for investigating the structure, dynamics, and function of complex systems [1,2,3] by providing a natural framework to model the system units as vertices and the interactions among the units as edges within a network [4]. In networks, not all vertices have the same level of importance, as some vertices are more influential than others. The problem of identifying the most influential vertices in a network has been extensively studied, as the importance of the vertices within the network can be characterized according to various notions of centralities. By definition, a centrality measure is a function that assigns a numerical value (“importance”) to each vertex within the network, and measures of centrality are often defined on some assumption of how information propagates throughout the network. As there is no exact meaning of “centrality”, there is an abundance of definitions for a centrality measure of individual vertices (the most well-known measures include the degree [5], eigenvector [6], closeness [7], and betweenness [8] centralities). Using centrality measures on networks offers several advantages (e.g., identification of super-spreaders [9,10], efficient resource allocation [11,12], and robustness assessment [13,14]). Consequently, these measures serve as effective tools for understanding, analyzing, and managing the dynamics within networks across various domains (e.g., physics, sociology, biology, and the neurosciences [3,15,16,17,18]).
In this work, we focus on measuring the influence of an edge within a particular flow network, where understanding the significance of the connections can provide additional insights into the network dynamics and functionality (e.g., identification of important pathways [19,20] and fragility assessments [20,21]). While there exist specific centrality measures defined solely for edges within a network (for example, the betweenness, closeness, and eigenvector edge centralities are defined in an analogous manner to their vertex counterparts [19]), there are far fewer metrics [22] and, to the best of our knowledge, none defined specifically for metric graphs, a particular flow network in which each edge is given a positive length, allowing various geometric and analytical methods to be applied. In particular, we examine the effect of removing a single edge or a small group of edges whose removal leads to significant changes in the energy flow on the network. Examples of flow networks include traffic systems, water supply networks, electric circuits and power grids, and ecological systems involving the flow of nutrients and energy between organisms. In these cases, violating capacity constraints can result in congestion, blackouts, or the failure of ecosystems, respectively [23,24].
Consequently, we introduce an edge centrality measure for metric graphs based on the energy distribution of eigensolutions of the Helmholtz equation. The measure identifies influential edges whose removal significantly changes the energy flow (i.e., the edge energy density distribution) on the network, as indicated by statistically significant p-values from the two-sample Kolmogorov–Smirnov test [25]. Specifically, the test compares the cumulative distribution functions of normalized average edge densities for eigenvalues k M (for some real number M) between the original metric graph and the metric graph with the edge removed. We compare the performance of the proposed edge measure with that of eight vertex centrality measures applied to a line graph, whose vertices denote the edges of the metric graph, as well as with two edge centrality measures applied directly to the metric graph. Numerical examples are performed on two metric graphs, G14 (a power grid network adapted from an Institute of Electrical and Electronics Engineers (IEEE) benchmark test [26]) and a simplified road network of Poland [27], which are displayed in Figure 1 and Figure 2, respectively. Lastly, we evaluate our proposed measure by comparing edge rankings from different centrality measures for each metric graph through two experiments that identify edges whose removal significantly changes the network’s energy flow.
The structure of the paper is as follows. The definition of a metric graph is provided in Section 2, along with an overview of the Helmholtz equation. Vertex centrality measures are highlighted in Section 3, along with a discussion on edge centrality measures. Section 4 details the proposed edge centrality measure for metric graphs. Section 5 describes the two metric graphs used in the numerical examples and compares the proposed edge centrality measure with eight vertex centrality measures applied to a line graph representation of each metric graph, as well as with two edge centrality measures applied directly to each metric graph; it also presents two experiments that assess the rankings of influential edges and their impact on the energy flow on the networks. A brief discussion and conclusion follow in Section 6, along with directions for future work. Lastly, the computational complexity of the proposed edge centrality measure is detailed in Appendix A.

2. Metric Graphs

Mathematically, a network can be represented by a graph G = ( V , E ) , where V = { v j } j = 1 m is the set of m vertices and E = { e j } j = 1 n is the set of n edges connecting vertex pairs. We consider a finite undirected graph Γ with the set of vertices { v 1 , v 2 , , v m } V and arbitrarily oriented edges { e 1 , e 2 , , e n } E . For any edge e E , we define its terminal vertex as t ( e ) V and the source vertex as b ( e ) V . We assume the edges e E are smooth curves that are equipped with the natural length coordinate x. Each edge is given a length l. Thus, the 1D coordinates on each edge range from x = 0 at b ( e ) to x = l at t ( e ) . The vertices and edges together define a metric graph Γ , a particular flow network in which a metric (often edge length) is defined on the edges [28].
The Helmholtz eigenvalue problem on the metric graph is given by
Δ ˜ U = k 2 U
where Δ ˜ is the generalized Laplacian, i.e., the standard Laplacian on each edge together with Kirchhoff junction conditions
U is continuous on Γ At each vertex v , j = 1 deg ( v ) u j x = 0
where u j x represents the outgoing flux for edge e j consistent with the arbitrarily-defined edge orientation. A solution in terms of Fourier harmonics on each edge e j is
u j ( x ) = A j sin ( k x ) + B j cos ( k x )
An energy measure based on the L 2 norm ratio was developed in [29]. For a given k (which is real, non-negative, and countably infinite), the energy density on edge e j of length l j is given by
E k ( e j ) = 1 l j 0 l A j sin ( k x ) + B j cos ( k x ) 2 d x
Consequently, the Helmholtz equation is a good choice for the subsequent analysis because its solutions form an orthonormal basis for the metric graph.

3. Vertex Centrality Measures

In the study of complex networks, vertex centrality measures are used to identify the most influential vertices within the network. Specifically, a centrality measure, C : V R , is a function that assigns a numerical value to each vertex within the network, where a vertex with a higher centrality value is usually considered more influential than the other vertices. Although many centrality measures have been proposed to rank vertices within a network according to their level of influence, the well-known measures for characterizing the centrality of a vertex include the degree [5], eigenvector [6], closeness [7], and betweenness [8] centralities.
The degree centrality (DC) of a vertex quantifies the number of connections a vertex has to other vertices within the network. In an unweighted network, the degree centrality measures the number of edges each vertex has. For weighted networks, the measure considers the sum of the edge weights incident on the vertex. In both cases, vertices with higher degree centrality values have more or stronger connections with other vertices.
The eigenvector centrality (EC) measures the importance of vertices based on the quality of their connections rather than on the quantity. In an unweighted network, the eigenvector centrality quantifies the influence of a vertex based on both its degree and the degree of the vertices of its connections. In weighted networks, importance is measured by the strength of the vertex as well as the strength of its connections. In both cases, higher eigenvector centrality values indicate vertices are connected to other influential vertices within the network.
The closeness centrality (CC) measures how “near” a vertex is to all other vertices within a network. In unweighted networks, the closeness centrality measures the shortest distance from a vertex to all other vertices within the network (where distance is the number of edges in the shortest path between a vertex pair). In a weighted network, the measure is defined similarly but where distance is the sum of the weights of edges in the shortest path. In both cases, higher closeness centrality values indicate the ability of vertices to reach other vertices efficiently within the network.
The betweenness centrality (BC) quantifies the importance of a vertex based on the extent to which it lies on the shortest paths between other vertices [30]. For unweighted networks, the betweenness centrality calculates the fraction of shortest paths between a pair of vertices that pass through a particular vertex and sums these fractions over all vertex pairs [31]. In weighted networks, the measure is defined similarly but takes the weights of the edges along the shortest paths into account. In both cases, vertices with higher betweenness centrality values have a critical role in facilitating interactions within the network.
While the aforementioned measures identify the centrality of a vertex based upon structural features of the network, there are centralities defined that explicitly account for the drop in energy after the removal of a vertex (e.g., Laplacian centrality [32], X-degree and X-non-backtracking [33], entropy variation [34], and efficiency centrality [35]) or assume the existence of flow within the network (e.g., current-flow closeness and current-flow betweenness [36], flow betweenness [37], and path-transfer [38]). Although not an exhaustive list, a few of these measures are discussed in more detail below.
The Laplacian centrality (LC) measures the importance of a vertex by the drop in the network’s Laplacian energy when it is removed from the network (where the Laplacian energy of a network is calculated as the sum of the squared eigenvalues of its Laplacian matrix). Although defined for weighted networks, Qi et al. [32] demonstrates the utility of this centrality on an unweighted graph.
The entropy variation centrality (EVC) defines the importance of a vertex as the difference in entropy before and after its removal from the network (where entropy is often utilized to characterize the amount of information encoded in the network structure [34]). While defined for directed networks, Ai [34] demonstrates the calculation of the entropy variation using in-degree, out-degree, all-degree, and betweenness as information functions.
The current-flow closeness centrality (CFCC) of a vertex is defined as the reciprocal of the mean distance of the vertex from the other vertices within the network [39]. In this context, the distance between two vertices is defined as the potential difference of vertices when a unit of current is injected into one vertex and removed from another. Brandes and Fleischer [36] present this measure for undirected networks with positive edge weights.
The flow betweenness centrality (FBC) of a vertex is defined as the amount of flow through it when the maximum flow is transmitted from a source vertex to a target vertex, averaged over all source and target vertices [30]. Freeman et al. [37] define the measure for both unweighted and weighted networks and consider all possible paths, not just the shortest paths, in its calculation.

Edge Centrality Measures

A related problem is that of measuring the influence of an edge within a network. While some vertex centrality measures extend to edges in a straightforward manner (e.g., betweenness), many measures do not [40]. Consequently, an edge centrality measure is often defined by applying the corresponding vertex centrality to the line graph of the network [41]. Given an undirected graph G = ( V , E ) , the line graph L ( G ) = ( V , E ) is a dual representation of G where each vertex e k V corresponds to an edge ( v i , v j ) = e k E , and there exists an edge between two vertices of L ( G ) if and only if the corresponding edges of G share a vertex [41]. In an undirected line graph, multiple edges between two vertices can occur if the corresponding edges in the original undirected graph are parallel and they are incident on the same vertex. Additionally if G is weighted, then the edges of L ( G ) can inherit weights based on some function of the edge weights of G. As an illustration, the line graphs of two metric graphs are provided in Figure 3 and Figure 4.
By applying the vertex centrality on L ( G ) , the value assigned to each vertex can be mapped to the corresponding edge of G to obtain an edge centrality measure. However, this approach produces a different ranking of influential edges than that produced through a direct definition of the edge centrality on G [42]. Despite this discrepancy, the approach is used in practice—for example, Lockhart et al. [41] compared their proposed edge centrality measure to the degree centrality applied to a line graph, and Ortiz Gaona et al. [43] used vertex centrality measures on line graphs to investigate edge importance in social networks.
While there are a few metrics defined for edge centrality (e.g., Bröhl and Lehnertz [44] extended the closeness and eigenvector vertex centralities to edges), only a handful of edge measures are codified (i.e., explicitly implemented in libraries). For example, the edge betweenness centrality (EBC) [45], defined as the sum of the fraction of all-pairs shortest paths that pass through the edge, is defined in both R’s igraph package [46] and Python’s NetworkX package [47], while the edge current-flow betweenness centrality (ECFBC) [30,36], a measure that uses an electrical current model for information spreading, is defined only in the NetworkX package. Currently, the function edge_current_flow_betweenness_centrality does not support multigraphs (i.e., a graph in which multiple edges are allowed between the same pair of vertices). Consequently, we translated the source code from Python to R to take advantage of R’s support for multigraphs. To verify equivalency, we tested the centrality results on a weighted simple graph.

4. Edge Centrality Measure for Metric Graphs

Unfortunately, most traditional edge centrality measures (e.g., edge betweenness) are not sufficient for flow networks such as metric graphs since they do not account for the dynamics on the edges governed by the accompanying ordinary differential equations (ODEs) or partial differential equations (PDEs). Since these flow dynamics describe quantities such as the propagation of wave signals, electrical currents, and traffic patterns through the network, ignoring them can result in misleading assessments of edge importance and overall network functionality.
Consequently, we propose an edge centrality measure for metric graphs that identifies influential edges whose removal significantly changes the energy flow on the network. The measure uses statistically significant p-values from the two-sample Kolmogorov–Smirnov (KS) test applied to the cumulative distribution functions (CDFs) of normalized average edge densities (i.e., the energy flow) for all eigenvalues k M (for some real number M). Specifically, it compares the CDF of the original metric graph Γ to that of Γ e j , the metric graph obtained by removing edge e j . Although we apply the KS test in this work, any statistical test that compares the CDF of two samples (e.g., the Cramér–von Mises [48] or Anderson–Darling [49] test) may be used in its place where the selection of the appropriate test depends upon the research question at hand.
Fundamentally, the two-sample KS test answers the question “What is the likelihood that the two samples come from the same (but unknown) probability distribution?” by reporting the absolute maximum difference between the two empirical CDFs (i.e., the test statistic) and corresponding p-value. The set of p-values obtained from the KS test applied to each edge { e j } j = 1 n quantifies how significantly the removal of edge e j alters the overall distribution of normalized averaged edge densities in Γ . A low p-value (e.g., p < 0.05 ) indicates that removing e j significantly changes the distribution of edge densities, suggesting that the edge plays an influential role in maintaining the energy flow (represented in this context by the edge energy density distribution) on Γ . Conversely, a high p-value (e.g., p > 0.05 ) suggests the removal of e j has little impact and, thus, lesser centrality.
Given a metric graph Γ , the procedure to quantify the significance of edge e j on the distribution of normalized averaged edge densities is outlined below.
  • Create a second metric graph, Γ e j , by removing edge e j from Γ .
  • Calculate the eigenvalues of the Helmholtz equation for k M (see Equation (1)) for both Γ and Γ e j in increasing order and their corresponding eigenvectors using the algorithm provided in [26].
  • Calculate the energy density (see Equation (2)), E k ( e j ) = 1 l j u j ( k , x ) 2 d x , for each edge in each metric graph.
  • Compute the average edge density, E ¯ ( e j ) = 1 N k E k ( e j ) , for each edge for each metric graph.
  • Normalize the average edge density for each edge for each metric graph by the total energy, j E ¯ ( e j ) .
  • Apply the two-sample KS test on the two empirical CDFs of the normalized average edge densities to obtain a p-value.
  • Compare the p-value to a chosen significance level α ; if p < α , then edge e j is concluded to have an influential role in the energy density distribution of Γ .
To generate a set of p-values, one corresponding to each edge in Γ , repeat Steps 1–7. Refer to Appendix A for a discussion of the computational complexity of this procedure.

5. Results

The proposed edge centrality measure is applied to two undirected and weighted metric graphs, the G14 network and the approximate road network in Poland. Each metric graph is a multigraph, meaning that multiple edges may exist between the same pair of vertices; this structure distinguishes our setting from most comparative analyses that assume simple graphs.
The results of our proposed edge measure are compared against those of the well-known vertex centrality measures (degree, eigenvector, closeness, and betweenness), vertex removal-based centrality measures (Laplacian and entropy variation), and flow-based vertex centrality measures (current-flow closeness and flow betweenness), all applied to their corresponding undirected and weighted line graphs. In addition, we include two edge centrality measures (edge betweenness and edge current-flow betweenness) applied directly to the metric graphs. While more relevant centrality measures exist in the literature, the alternative centrality measures in this work are defined as degree, eigenvector, closeness, betweenness, edge betweenness, Laplacian, entropy variation, current-flow closeness, flow betweenness, and edge current-flow betweenness. The alternative centrality measures considered in this work serve as baseline comparisons, as they are codified in standard libraries (e.g., R’s igraph and centiserve, Python’s NetworkX) and widely used in practice. Their inclusion, therefore, provides a practical benchmark against which the performance of our proposed edge measure can be evaluated.
In both examples, each edge in the line graph is weighted by the mean of the normalized average edge densities of the corresponding metric graph. For example, the edge connecting vertices e12 and e13 in the line graph in Figure 3 has a weight defined as the mean of the densities on edges e12 and e13 in the metric graph in Figure 1. While there is no single standardized method for assigning weights to edges in line graphs derived from weighted graphs, our approach aims to preserve flow-related characteristics from the original graph within its line graph representation. Since edges in a line graph represent adjacency (i.e., shared vertices) between edges in the original graph, assigning weights based on the average density of the connected edges allows the line graph to encode information about flow in a manner consistent with the original graph. Alternative weighting schemes, such as using the minimum, maximum, or harmonic mean of adjacent edge densities, or defining weights based on spectral similarity or correlated modal energy, could emphasize different flow dynamics or local edge interactions. We note, however, that our choice of the arithmetic mean may introduce bias in how influence is distributed across the line graph compared to the original metric graph.
We evaluated our proposed measure by comparing its edge rankings for each metric graph to those of the alternative centrality measures through two experiments identifying edges whose removal significantly changed the energy flow on the network. In the first experiment, we examined the effect of removing individual ranked edges. In the second experiment, we examined the cumulative effect of removing ranked edges. We measured the effect in each experiment with the two-sample KS test by comparing the normalized average edge density distribution of the original metric graph against the modified metric graph whose ranked edges were removed. The removal of edges with higher KS test statistic values indicates a greater difference between distributions and, consequently, a larger impact on the metric graph’s energy flow.
The code for the proposed edge centrality measure for metric graphs, along with the calculation of the alternative centrality measures, were performed in R using version 2.0.3 of the igraph package, version 1.0.0 of the centiserve package [50], and version 2.8.0 of the sna package [51]. The laplacian function in R does not support weighted graphs; therefore, we modified the source code accordingly for the analysis presented in this work. The calculation of the eigenvalues and edge densities for each metric graph was performed using version 9.13 of MATLAB [52].

5.1. G14 Network

We first consider a power grid network adapted from the IEEE 14-bus system, a benchmark test for the American Electric Power grid in February 1962 [53] that consists of 14 vertices (buses that are specific locations in the power grid) and 18 edges (transformers connecting two vertices in the power grid). For the purposes of generating a model graph, the network was placed arbitrarily on a Cartesian grid, and the coordinates of the vertices were approximated. The length of each edge was then computed using the Euclidean distance between vertices. Vertices of degree 2 were then dissolved into their corresponding edges to create a simpler but equivalent system [28], and each edge was given an arbitrary orientation. When multiple edges were combined into one, their distances were added together. This modified graph is referred to as the G14 network (Figure 1), and its edge lengths are detailed in Table 1.
The results of the proposed edge centrality measure (labeled as KS) applied to the metric graph of G14 for k 40 and the alternative centrality measures—eight vertex measures applied to its weighted line graph (Figure 3) and two edge measures applied directly to the metric graph—are displayed in Table 2. Using a significance level of α = 0.05 , the proposed edge centrality measure identified edges 3, 7, 1, 6, 12, and 13 as significant within the G14 network (see Figure 5, which illustrates the empirical CDF of the normalized average edge densities when a significant edge (edge 3) is removed from the graph compared to the removal of a non-significant edge (edge 8), as identified by the proposed measure). In this work, ties in a ranking are broken numerically. For example, although edges 3 and 7 have the same p-value, edge 3 is ranked ahead of edge 7. The top five ranked edges by the alternative centrality measures are provided in Table 3.
Figure 6 shows the correlation matrix of the edge rankings between the different centralities. The proposed edge measure (KS) is not strongly correlated with any of the alternative centralities, although strong correlations exist elsewhere (e.g., degree with eigenvector, Laplacian and current-flow closeness centralities, respectively).
In the first experiment, each ranked edge was individually removed from the G14 network. As seen in Figure 7, the proposed edge measure (KS) produced an optimal ranking of edges whose removal significantly changed the energy density distribution of the graph. This result is expected since the construction of the proposed edge measure centers around the two-sample KS test. Although the rankings of the other measures identified high-impact edges on the energy flow, their rankings were more variable.
In the second experiment, the top five ranked edges were cumulatively removed from the G14 network. As seen in Figure 8, the proposed edge measure (KS) consistently yielded high KS test statistics as top-ranked edges were cumulatively removed. Thus, the proposed measure was effective at identifying edges whose cumulative removal significantly altered the edge density distribution in the G14 network. Among the traditional vertex centralities applied to the weighted line graph, the degree centrality (DC) and eigenvector centrality (EC) demonstrated strong performances. DC, in particular, led to sharp increases in the KS test statistic by the fourth and fifth cumulative edge removals. For the vertex-removal-based measures applied to the weighted line graph, both the entropy variation centrality (EVC) and Laplacian centrality (LC) reached high KS test statistics after all five top-ranked edges were removed. Among the flow-based measures applied to the weighted line graph, the current-flow closeness centrality (CFCC) achieved the highest KS test statistic after the top four ranked edges were removed. Lastly, among the edge-based measures applied directly to G14, the edge betweenness centrality (EBC) showed a steady increase in the KS test statistic as more ranked edges were cumulatively removed, though it still underperformed relative to the proposed measure.

5.2. Road Network

Now we consider a more complicated network—an approximation to the road network in Poland (Figure 2)—with edge lengths given in Table 4. The edge length varies for each edge, roughly proportional to the distance between the cities they represent, with a few exceptions: an equilateral triangle with edges e 1 , e 2 , and e 11 was assigned edge lengths of 1 (the metric graph edge lengths need not measure geographic distance). This network is a simplification of the network developed in [27] with vertices of degree 2 absorbed into their adjacent edges.
The results of the proposed edge centrality measure (KS) applied to the metric graph of the road network and the alternative centrality measures—eight vertex measures applied to its weighted line graph (Figure 4) and two edge measures applied directly to the metric graph—are displayed in Table 5. Using a significance level of α = 0.05 , the proposed edge centrality measure identified edges 2, 11, 15, 20, 21, 5, 16, and 22 as significant within the road network (see Figure 9, which illustrates the empirical CDF of the normalized average edge densities when a significant edge (edge 2) is removed from the graph compared to the removal of a non-significant edge (edge 9), as identified by the proposed measure). The top three ranked edges by the alternative centrality measures are provided in Table 6.
Figure 10 shows the correlation matrix of the edge rankings between the different centralities. As with the rankings for the G14 network, the proposed edge measure (KS) is not strongly correlated with any of the alternative centralities, although strong correlations exist elsewhere.
In the first experiment, each ranked edge was individually removed from the road network. As expected (see Figure 11), the proposed edge measure (KS) produced an optimal ranking of edges whose removal significantly changed the energy density distribution of the graph. Although the rankings of the other measures identified high-impact edges on the energy flow, their rankings were more variable.
In the second experiment, the top three ranked edges were cumulatively removed from the road network. As shown in Figure 12, the proposed edge measure (KS) consistently yielded high KS test statistics as top-ranked edges were cumulatively removed. Thus, the proposed measure was effective at identifying important edges in the road network whose cumulative removal produced a measurable disruption to the edge density distribution. Among the traditional vertex centralities applied to the weighted line graph, the degree centrality (DC) and eigenvector centrality (EC) mirrored the KS test statistics of the proposed measure when the first two ranked edges were removed, yet dropped upon removing the top three ranked edges. For the vertex-removal-based measures applied to the weighted line graph, the entropy variation centrality (EVC) achieved high KS test statistics as each ranked edge was cumulatively removed. Among the flow-based measures applied to the weighted line graph, neither the current-flow closeness centrality (CFCC) nor the flow betweenness centrality (FBC) performed as well as the other methods. Finally, among the edge-based measures applied directly to the road network, both the edge betweenness centrality (EBC) and the edge current-flow betweenness centrality (ECFBC) performed strongly, exhibiting steadily increasing KS test statistics as each of the three ranked edges were cumulatively removed.

6. Conclusions

We introduced a new edge centrality measure for metric graphs based on the energy density of the eigenvectors of the Helmholtz equation. The utility of this proposed measure is in the identification of edges whose removal significantly change the energy flow (represented in this context by the distribution of edge densities) on the network. A natural application of such a measure, for example, is the identification of such edges in an electrical network to avoid a power outage or to maintain the particular lasing patterns of a random network laser [54].
The proposed edge centrality measure offers several advantages. First, the measure is defined specifically for edges; this avoids the necessity of applying a vertex centrality to a line graph, which produces a different ranking of influential edges than that produced through a direct definition of an edge centrality measure. Second, the measure considers the dynamics on the edges governed by the accompanying ODEs or PDEs which can provide a more comprehensive assessment of edge importance and overall network functionality. Third, the measure uses p-values from the KS test to determine whether the removal of an edge and subsequent change in energy flow is statistically significant rather than being due to random variations. Fourth, the measure is scale invariant and, thus, less sensitive to differences in network size or scaling effects since the KS test is based on empirical distributions. Lastly, the measure provides a global perspective, which is crucial for identifying edges that are influential but may not necessarily have high centrality in terms of degree or other measure.
We demonstrated the proposed edge centrality measure on two metric graphs, a power grid network and road network, and compared the results to eight vertex centrality measures applied to a line graph representation of each metric graph, as well as with two edge centrality measures applied directly to each metric graph. The edge rankings from the vertex and edge centrality measures differ markedly from those of the proposed edge measure due to fundamental differences in their underlying principles. Unlike the vertex and edge centrality measures, which assess importance based on network topology or flow dynamics, the proposed edge centrality measure directly captures how energy propagates along edges using the spectral properties of the Helmholtz equation. This distinction allows it to identify critical edges based on their role in sustaining network-wide energy distribution, rather than relying on structural proxies derived from a line graph transformation.
We assessed our proposed measure by comparing the ranking of the edges in each metric graph against those determined by the vertex and edge centrality measures (referred to here as the alternative measures) through two experiments. The first experiment, which removed individual ranked edges from the metric graph, demonstrated that the proposed measure identified edges that cause a significant change in the energy distribution, while the alternative measures showed variability in their rankings. The second experiment, where multiple top-ranked edges were cumulatively removed, also showed that the proposed measure identified edges that significantly impacted the energy distribution. Overall, the experiments indicated that the proposed edge centrality measure is an effective tool for identifying influential edges in metric graphs, a particular flow network, whose removal significantly changes the energy distribution.
Future work will investigate the relationship between the proposed edge measure and other centrality measures that are not currently implemented in standard libraries, including spectral-based centralities, vertex and edge removal-based centralities, flow-based centralities, and vitality-based edge centralities. We also plan to explore alternative line graph weighting strategies to assess how different weighting choices influence centrality rankings and their sensitivity to flow dynamics.

Author Contributions

Conceptualization, C.D., H.K. and M.B.; methodology, C.D.; software, C.D. and H.K.; formal analysis, C.D. and H.K.; writing—original draft preparation, C.D.; writing—review and editing, C.D., H.K. and M.B.; visualization, C.D. and H.K. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

The raw data supporting the conclusions of this article, along with all code and calculations, will be made available by the authors on request.

Acknowledgments

During the preparation of this work, the authors used ChatGPT in order to improve language and readability. After using this tool/service, the authors reviewed and edited the content as needed and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Computational Complexity

To assess the practical feasibility of our proposed edge centrality measure, we investigate its computational complexity. The result relies on several underlying algorithms whose time complexity depend on the size and rank of the matrix A encoding the junction conditions, but are otherwise independent of the network structure and hold for matrices of any large size. These algorithms are as follows: the approximation of the reciprocal condition number using an L U decomposition— O ( n 2 ) for an n × n matrix, the Nelder–Mead simplex search— O log 1 tol for error tolerance “tol”, the singular value decomposition (SVD)— O n 2 rank ( A ) , and the KS algorithm— O n log ( n ) for sample size n. In this section, we illustrate the theoretical complexity results on a simple example of a triangular multigraph.
The calculation of the centrality measure can be broken down into two phases for each edge e j :
  • Phase 1. Given a metric graph Γ , generate the graph Γ e j ; this part is computationally trivial. Then, find the Helmholtz eigenvalues on Γ and Γ e j in range [ 0 , M ] .
  • Phase 2. Find the corresponding eigenvectors, calculate the average energy density over all eigensolutions, and run a KS test to compare the distributions.
    The time complexity of this computation depends on several factors:
    Eigenvalue upper bound, M: Although the specific eigenvalues vary between graphs, at some point the energy density distribution stabilizes beyond a certain point. For instance, in the G14 network, the distributions for M = 50 and M = 250 are nearly indistinguishable.
    Total length of the graph: The number of eigenvalues satisfying k 2 M 2 follows Weyl’s asymptotic estimate, growing as
    # k M L π
    where L is the total length [55]. A graph with longer edge lengths contains more eigenvalues in the range [ 0 , M ] , which necessitates a finer search grid to ensure accuracy. Additionally, more eigenvalues increase the number of integral evaluations and summation terms, further contributing to computational cost.
    Choice of algorithm: Optimization strategies may improve computational efficiency, potentially at the cost of accuracy. Possible enhancements include leveraging the sparse structure of the matrix of junction conditions, exploiting known eigenvalue spacings, parallelization, and decreasing the error threshold.
To evaluate the time complexity, we generated a sequence of sample graphs with three vertices by iteratively adding up to 100 edges, forming three interconnected pumpkin graphs arranged in a triangular configuration (see Figure A1). We set M = 5 and assigned edge lengths from a normal distribution centered at 0.5 . As predicted by Weyl’s law and the chosen edge lengths, the number of eigenvalues in [ 0 , M ] for this sequence of graphs scales with | E | . We note that none of the algorithms used scale with the number of vertices, so this somewhat simple sequence of 3-vertex graphs is indeed appropriate for a time complexity analysis.
Figure A1. A toy graph generated for a complexity study with | E | = 15 .
Figure A1. A toy graph generated for a complexity study with | E | = 15 .
Dynamics 05 00016 g0a1

Appendix A.1. Phase I Complexity Analysis

The first step of the algorithm, constructing Γ e j , is computationally trivial. The subsequent step, computing the eigenvalues for Γ and Γ e j , dominates the computational cost. We use the spectral algorithm introduced in [26]. In short, this approach involves solving the equation
A ( k ) α = 0
where A ( k ) is the 2 | E | × 2 | E | matrix encoding the junction conditions. This matrix is nonlinear in k, and its singularity indicates that k 2 is an eigenvalue of the Helmholtz equation on the graph. We employ the Nelder–Mead simplex search (implemented as fminsearch in MATLAB [52]) to minimize the reciprocal of the 1-norm condition number of A ( k ) . The reciprocal condition number is computed using MATLAB’s rcond, which relies on the L U decomposition [52] with a complexity of O ( 8 | E | 3 ) for matrix A ( k ) . The Nelder–Mead algorithm is performed on a single-variable function; on average, the error decreases linearly with each iteration [56,57]. Therefore, the precise rate of convergence is O log 1 tol , which depends on the chosen tolerance. We chose tol = 10 10 in all of our computations in this work. The simplex algorithm is performed on a grid with some small spacing σ , which means it is performed M σ times. Small σ may duplicate efforts and find a particular k more than once, while large σ may miss some eigenvalues. Missing a few eigenvalues should not change the centrality measure too much—the eigenvector amplitudes, and therefore the contribution to the total energy density, decrease as k increases [26]. To optimize the search grid spacing, one would have to know more about the spacing of eigenvalues for a particular graph. For our analysis, we set the grid spacing relatively small to avoid missing any eigenvalues: σ = 5 × 10 4 . Clearly, the complexity depends on a number of factors but is, in general, O 8 M σ | E | 3 log 1 tol . However, for our sequence of sample graphs we find that the execution time is faster—likely due to the sparsity of the matrix A ( k ) resulting in faster matrix decompositions and the simplex search dominating the computation time. We expect an arbitrary metric graph to have a junction condition matrix that is even more sparse (fewer shared vertices). For our sequence of sample graphs, we find that the execution time scales linearly. For | E | [ 65 , 100 ] , we have 2.9 | E | + 109 with R 2 = 0.98 (see the left panel of Figure A2). We note that the jump in time at | E | = 75 is likely due to a switch in Matlab’s internal matrix decomposition algorithms to account for larger matrix sizes.
Figure A2. The computational time as a function of the number of edges for the two phases of the algorithm shows linear time for Phase I and quadratic time for Phase II.
Figure A2. The computational time as a function of the number of edges for the two phases of the algorithm shows linear time for Phase I and quadratic time for Phase II.
Dynamics 05 00016 g0a2

Appendix A.2. Phase II Complexity Analysis

The coefficients of the eigenvectors are obtained from the null-space of the singular matrix A ( k ) for each eigenvalue k, which we compute using singular value decomposition (SVD). Note that, in general, the computational complexity of the SVD algorithm is O ( 4 | E | 2 rank ( A ) )  [58]. Without any particular edge symmetry, we expect rank ( A ) 2 | E | 1 , so the SVD will be roughly O ( 8 | E | 3 ) . To calculate the energy density integral, we can use the exact value of the integral, whose computation has constant complexity, repeating it # k times (where # k M L in general). We then compute the normalized average, which involves computing | E | sums of # k elements. This group of steps then has a complexity of O ( 8 M l E | 3 ) . Finally, the KS test is performed using R’s ks.test; this is one of the fastest parts of the algorithm, with a complexity of O ( | E | log ( | E | ) )  [59]. For our example, these steps fit to 0.00028 | E | 2 0.020 | E | + 0.054 with R 2 = 0.99 (see the right panel of Figure A2). Although this group of steps is technically quadratic in time, it is computationally cheaper than the eigenvalue search for metric graphs of comparable size to our sequence of sample graphs. However, metric graphs are typically studied in the context of PDEs defined on the edges; solving a system of | E | PDEs may become impractical before the time complexity of Phase II catches up to Phase I. Furthermore, metric graphs with thousands of edges are highly uncommon. For example, a recent study of “large” metric graphs considered only those with up to 50 edges [60]; another study modeling random network lasers as metric graphs used at most ≈300 edges [54]. Though the centrality measure proposed in this work is technically valid for graphs of any size, algorithmic adjustments would be necessary to implement it on very large graphs.

References

  1. Strogatz, S.H. Exploring complex networks. Nature 2001, 410, 268–276. [Google Scholar] [CrossRef] [PubMed]
  2. Newman, M.E. The Structure and Function of Complex Networks. SIAM Rev. 2003, 45, 167–256. [Google Scholar] [CrossRef]
  3. Boccaletti, S.; Latora, V.; Moreno, Y.; Chavez, M.; Hwang, D.U. Complex networks: Structure and dynamics. Phys. Rep. 2006, 424, 175–308. [Google Scholar] [CrossRef]
  4. Rings, T.; Bröhl, T.; Lehnertz, K. Network structure from a characterization of interactions in complex systems. Sci. Rep. 2022, 12, 11742. [Google Scholar] [CrossRef]
  5. Freeman, L.C. Centrality in social networks: Conceptual clarification. In Social Network: Critical Concepts in Sociology; Routledge: London, UK, 2002; Volume 1, pp. 238–263. [Google Scholar]
  6. Bonacich, P.; Lloyd, P. Eigenvector-like measures of centrality for asymmetric relations. Soc. Netw. 2001, 23, 191–201. [Google Scholar] [CrossRef]
  7. Bavelas, A. Communication patterns in task-oriented groups. J. Acoust. Soc. Am. 1950, 22, 725–730. [Google Scholar] [CrossRef]
  8. Freeman, L.C. A Set of Measures of Centrality Based on Betweenness. Sociometry 1977, 40, 35–41. [Google Scholar] [CrossRef]
  9. Madotto, A.; Liu, J. Super-Spreader Identification Using Meta-Centrality. Sci. Rep. 2016, 6, 38994. [Google Scholar] [CrossRef]
  10. Durón, C. Heatmap centrality: A new measure to identify super-spreader nodes in scale-free networks. PLoS ONE 2020, 15, e0235690. [Google Scholar] [CrossRef]
  11. Kitsak, M.; Gallos, L.K.; Havlin, S.; Liljeros, F.; Muchnik, L.; Stanley, H.E.; Makse, H.A. Identification of influential spreaders in complex networks. Nat. Phys. 2010, 6, 888–893. [Google Scholar] [CrossRef]
  12. Borgatti, S.P. Centrality and network flow. Soc. Netw. 2005, 27, 55–71. [Google Scholar] [CrossRef]
  13. Holme, P.; Kim, B.J.; Yoon, C.N.; Han, S.K. Attack vulnerability of complex networks. Phys. Rev. E 2002, 65, 056109. [Google Scholar] [CrossRef]
  14. Crucitti, P.; Latora, V.; Marchiori, M. A topological analysis of the Italian electric power grid. Phys. A Stat. Mech. Appl. 2004, 338, 92–97. [Google Scholar] [CrossRef]
  15. Bullmore, E.; Sporns, O. Complex brain networks: Graph theoretical analysis of structural and functional systems. Nat. Rev. Neurosci. 2009, 10, 186–198. [Google Scholar] [CrossRef]
  16. Allen, R.J.; Elston, T.C. From physics to pharmacology? Rep. Prog. Phys. 2010, 74, 016601. [Google Scholar] [CrossRef]
  17. Barabási, A.L.; Gulbahce, N.; Loscalzo, J. Network medicine: A network-based approach to human disease. Nat. Rev. Genet. 2011, 12, 56–68. [Google Scholar] [CrossRef] [PubMed]
  18. Baronchelli, A.; Ferrer-i Cancho, R.; Pastor-Satorras, R.; Chater, N.; Christiansen, M.H. Networks in cognitive science. Trends Cogn. Sci. 2013, 17, 348–360. [Google Scholar] [CrossRef]
  19. Bröhl, T.; Lehnertz, K. A straightforward edge centrality concept derived from generalizing degree and strength. Sci. Rep. 2022, 12, 4407. [Google Scholar] [CrossRef]
  20. Xie, W.J.; Li, J.A.; Wei, N.; Wang, L.; Zhou, W.X. Robustness and efficiency of international pesticide trade networks subject to link removal strategies. Sci. Rep. 2022, 12, 19641. [Google Scholar] [CrossRef]
  21. Callaway, D.S.; Newman, M.E.; Strogatz, S.H.; Watts, D.J. Network Robustness and Fragility: Percolation on Random Graphs. Phys. Rev. Lett. 2000, 85, 5468. [Google Scholar] [CrossRef]
  22. Ficara, A.; Fiumara, G.; De Meo, P.; Liotta, A. Correlation Analysis of Node and Edge Centrality Measures in Artificial Complex Networks. In Proceedings of the Sixth International Congress on Information and Communication Technology: ICICT 2021, London, UK, 25–26 February 2021; Springer: Singapore, 2021; Volume 3, pp. 901–908. [Google Scholar]
  23. van den Akker, J.; Bloemhof, G.; Bosman, J.; Crommelin, D.; Frank, J.; Yang, G. Optimal distributed power generation under network load constraints. In Proceedings of the 72nd European Study Group Mathematics with Industry, Amsterdam, The Netherlands, 25–29 January 2010. [Google Scholar]
  24. Pinar, A.; Meza, J.; Donde, V.; Lesieutre, B. Optimization strategies for the vulnerability analysis of the electric power grid. SIAM J. Optim. 2010, 20, 1786–1810. [Google Scholar] [CrossRef]
  25. Smirnov, N.V. On the Estimation of the Discrepancy between Empirical Curves of Distribution for Two Independent Samples. Bull. Mathématique L’Université Mosc. 1939, 2, 3–14. [Google Scholar]
  26. Brio, M.; Caputo, J.G.; Kravitz, H. Spectral solutions of PDEs on networks. Appl. Numer. Math. 2022, 172, 99–117. [Google Scholar] [CrossRef]
  27. Kravitz, H.; Durón, C.; Brio, M. A Coupled Spatial-Network Model: A Mathematical Framework for Applications in Epidemiology. Bull. Math. Biol. 2024, 86, 132. [Google Scholar] [CrossRef]
  28. Berkolaiko, G.; Kuchment, P. Introduction to quantum graphs. In Mathematical Surveys and Monographs; American Mathematical Society: Providence, RI, USA, 2013; Volume 186. [Google Scholar]
  29. Kravitz, H.; Brio, M.; Caputo, J.G. Localized eigenvectors on metric graphs. Math. Comput. Simul. 2023, 214, 352–372. [Google Scholar] [CrossRef]
  30. Newman, M.E. A measure of betweenness centrality based on random walks. Soc. Netw. 2005, 27, 39–54. [Google Scholar] [CrossRef]
  31. Kivimäki, I.; Lebichot, B.; Saramäki, J.; Saerens, M. Two betweenness centrality measures based on Randomized Shortest Paths. Sci. Rep. 2016, 6, 19668. [Google Scholar] [CrossRef] [PubMed]
  32. Qi, X.; Fuller, E.; Wu, Q.; Wu, Y.; Zhang, C.Q. Laplacian centrality: A new centrality measure for weighted networks. Inf. Sci. 2012, 194, 240–253. [Google Scholar] [CrossRef]
  33. Torres, L.; Chan, K.S.; Tong, H.; Eliassi-Rad, T. Nonbacktracking Eigenvalues under Node Removal: X-Centrality and Targeted Immunization. SIAM J. Math. Data Sci. 2021, 3, 656–675. [Google Scholar] [CrossRef]
  34. Ai, X. Node Importance Ranking of Complex Networks with Entropy Variation. Entropy 2017, 19, 303. [Google Scholar] [CrossRef]
  35. Wang, S.; Du, Y.; Deng, Y. A new measure of identifying influential nodes: Efficiency centrality. Commun. Nonlinear Sci. Numer. Simul. 2017, 47, 151–163. [Google Scholar] [CrossRef]
  36. Brandes, U.; Fleischer, D. Centrality Measures Based on Current Flow. In Annual Symposium on Theoretical Aspects of Computer Science; Springer: Berlin/Heidelberg, Germany, 2005; pp. 533–544. [Google Scholar]
  37. Freeman, L.C.; Borgatti, S.P.; White, D.R. Centrality in valued graphs: A measure of betweenness based on network flow. Soc. Netw. 1991, 13, 141–154. [Google Scholar] [CrossRef]
  38. Tutzauer, F. Entropy as a measure of centrality in networks characterized by path-transfer flow. Soc. Netw. 2007, 29, 249–265. [Google Scholar] [CrossRef]
  39. Bozzo, E.; Franceschet, M. Resistance distance, closeness, and betweenness. Soc. Networks 2013, 35, 460–469. [Google Scholar] [CrossRef]
  40. Kolaczyk, E.D.; Csárdi, G. Statistical Analysis of Network Data; Springer: Berlin/Heidelberg, Germany, 2009. [Google Scholar]
  41. Lockhart, J.; Minello, G.; Rossi, L.; Severini, S.; Torsello, A. Edge Centrality via the Holevo Quantity. In Structural, Syntactic, and Statistical Pattern Recognition: Joint IAPR International Workshop, S+ SSPR 2016, Mérida, Mexico, 29 November–2 December 2016, Proceedings; Springer: Berlin/Heidelberg, Germany, 2016; pp. 143–152. [Google Scholar]
  42. Koschützki, D.; Lehmann, K.A.; Peeters, L.; Richter, S.; Tenfelde-Podehl, D.; Zlotowski, O. Centrality Indices. In Network Analysis: Methodological Foundations; Springer: Berlin/Heidelberg, Germany, 2005; pp. 16–61. [Google Scholar]
  43. Ortiz Gaona, R.; Postigo Boix, M.; Melus Moreno, J.L. Centrality Metrics and Line-Graph to Measure the Importance of Links in Online Social Networks. Int. J. New Technol. Res. 2016, 2, 20–26. [Google Scholar]
  44. Bröhl, T.; Lehnertz, K. Centrality-based identification of important edges in complex networks. Chaos Interdiscip. J. Nonlinear Sci. 2019, 29, 033115. [Google Scholar] [CrossRef]
  45. Brandes, U. On variants of shortest-path betweenness centrality and their generic computation. Soc. Netw. 2008, 30, 136–145. [Google Scholar] [CrossRef]
  46. Csardi, G.; Nepusz, T. The igraph software. Complex Syst. 2006, 1695, 1–9. [Google Scholar]
  47. Hagberg, A.A.; Schult, D.A.; Swart, P.J. Exploring Network Structure, Dynamics, and Function using NetworkX. In Proceedings of the 7th Python in Science Conference, Pasadena, CA, USA, 19–24 August 2008; Varoquaux, G., Vaught, T., Millman, J., Eds.; 2008; pp. 11–15. [Google Scholar]
  48. Anderson, T.W. On the distribution of the two-sample Cramer-von Mises criterion. Ann. Math. Stat. 1962, 33, 1148–1159. [Google Scholar] [CrossRef]
  49. Anderson, T.W.; Darling, D.A. Asymptotic theory of “certain goodness of fit” criteria based on stochastic processes. Ann. Math. Stat. 1952, 23, 193–212. [Google Scholar] [CrossRef]
  50. Jalili, M. Centiserve: Find Graph Centrality Indices, R package Version 1.0.0; 2017.
  51. Butts, C.T. Sna: Tools for Social Network Analysis, R package Version 2.8; 2024.
  52. The MathWorks Inc. MATLAB, Version: 9.13.0 (R2022b); The MathWorks Inc.: Natick, MA, USA, 2024. [Google Scholar]
  53. Illinois Center for a Smarter Electric Grid (ICSEG). IEEE 14-Bus System. Available online: https://icseg.iti.illinois.edu/ieee-14-bus-system (accessed on 16 June 2022).
  54. Gaio, M.; Saxena, D.; Bertolotti, J.; Pisignano, D.; Camposeo, A.; Sapienza, R. A nanophotonic laser on a graph. Nat. Commun. 2019, 10, 226. [Google Scholar] [CrossRef] [PubMed]
  55. Berkolaiko, G. An elementary introduction to quantum graphs. Geom. Comput. Spectr. Theory 2017, 700, 4–5. [Google Scholar]
  56. Lagarias, J.C.; Reeds, J.A.; Wright, M.H.; Wright, P.E. Convergence properties of the Nelder–Mead simplex method in low dimensions. SIAM J. Optim. 1998, 9, 112–147. [Google Scholar] [CrossRef]
  57. Wright, M.H. Nelder, Mead, and the other simplex method. Doc. Math. 2010, 7, 271–276. [Google Scholar]
  58. Xu, C.; Xu, W.; Jing, K. Fast algorithms for singular value decomposition and the inverse of nearly low-rank matrices. Natl. Sci. Rev. 2023, 10, nwad083. [Google Scholar] [CrossRef]
  59. Dowd, C. A new ECDF two-sample test statistic. arXiv 2020, arXiv:2007.01360. [Google Scholar]
  60. Alon, L.; Band, R.; Berkolaiko, G. Universality of nodal count distribution in large metric graphs. Exp. Math. 2024, 33, 301–335. [Google Scholar] [CrossRef]
Figure 1. The metric graph of the G14 network with 8 vertices and 14 edges.
Figure 1. The metric graph of the G14 network with 8 vertices and 14 edges.
Dynamics 05 00016 g001
Figure 2. The metric graph of the road network with 17 vertices and 23 edges.
Figure 2. The metric graph of the road network with 17 vertices and 23 edges.
Dynamics 05 00016 g002
Figure 3. Line graph, with 14 vertices and 40 edges, of the G14 metric graph.
Figure 3. Line graph, with 14 vertices and 40 edges, of the G14 metric graph.
Dynamics 05 00016 g003
Figure 4. Line graph, with 23 vertices and 65 edges, of the road network metric graph.
Figure 4. Line graph, with 23 vertices and 65 edges, of the road network metric graph.
Dynamics 05 00016 g004
Figure 5. The density (left) and empirical CDF (right) curves for the original distribution of normalized average edge densities (blue) versus the distribution with edge 3 removed (red) versus edge 8 removed (black) from the G14 network.
Figure 5. The density (left) and empirical CDF (right) curves for the original distribution of normalized average edge densities (blue) versus the distribution with edge 3 removed (red) versus edge 8 removed (black) from the G14 network.
Dynamics 05 00016 g005
Figure 6. The correlation matrix for the edge rankings of the centrality measures on the G14 network. KS denotes the proposed edge centrality measure. DC, EC, CC, BC, and EBC denote the degree, eigenvector, closeness, betweenness, and edge betweenness centralities, respectively. LC, EVC, CFCC, FBC, and ECFBC denote the Laplacian, entropy variation, current-flow closeness, flow betweenness, and edge current-flow betweenness centralities, respectively.
Figure 6. The correlation matrix for the edge rankings of the centrality measures on the G14 network. KS denotes the proposed edge centrality measure. DC, EC, CC, BC, and EBC denote the degree, eigenvector, closeness, betweenness, and edge betweenness centralities, respectively. LC, EVC, CFCC, FBC, and ECFBC denote the Laplacian, entropy variation, current-flow closeness, flow betweenness, and edge current-flow betweenness centralities, respectively.
Dynamics 05 00016 g006
Figure 7. KS test statistics comparing the normalized average edge densities of the G14 network with those after removing individual edges ranked by different centrality measures.
Figure 7. KS test statistics comparing the normalized average edge densities of the G14 network with those after removing individual edges ranked by different centrality measures.
Dynamics 05 00016 g007
Figure 8. KS test statistics comparing the normalized average edge densities of the G14 network with those after cumulatively removing the top five ranked edges based on different centrality measures.
Figure 8. KS test statistics comparing the normalized average edge densities of the G14 network with those after cumulatively removing the top five ranked edges based on different centrality measures.
Dynamics 05 00016 g008
Figure 9. The density (left) and empirical CDF (right) curves for the original distribution of normalized average edge densities (blue) versus the distribution with edge 2 removed (red) versus edge 9 removed (black) from the road network.
Figure 9. The density (left) and empirical CDF (right) curves for the original distribution of normalized average edge densities (blue) versus the distribution with edge 2 removed (red) versus edge 9 removed (black) from the road network.
Dynamics 05 00016 g009
Figure 10. The correlation matrix for the edge rankings of the centrality measures on the road network. KS denotes the proposed edge centrality measure. DC, EC, CC, BC, and EBC denote the degree, eigenvector, closeness, betweenness, and edge betweenness centralities, respectively. LC, EVC, CFCC, FBC, and ECFBC denote the Laplacian, entropy variation, current-flow closeness, flow betweenness, and edge current-flow betweenness centralities, respectively.
Figure 10. The correlation matrix for the edge rankings of the centrality measures on the road network. KS denotes the proposed edge centrality measure. DC, EC, CC, BC, and EBC denote the degree, eigenvector, closeness, betweenness, and edge betweenness centralities, respectively. LC, EVC, CFCC, FBC, and ECFBC denote the Laplacian, entropy variation, current-flow closeness, flow betweenness, and edge current-flow betweenness centralities, respectively.
Dynamics 05 00016 g010
Figure 11. KS test statistics comparing the normalized average edge densities of the road network with those after removing individual edges ranked by different centrality measures.
Figure 11. KS test statistics comparing the normalized average edge densities of the road network with those after removing individual edges ranked by different centrality measures.
Dynamics 05 00016 g011
Figure 12. KS test statistics comparing the normalized average edge densities of the road network with those after cumulatively removing the top three ranked edges based on different centrality measures.
Figure 12. KS test statistics comparing the normalized average edge densities of the road network with those after cumulatively removing the top three ranked edges based on different centrality measures.
Dynamics 05 00016 g012
Table 1. The length l j of each edge e j in the G14 network. All values are rounded to the nearest two significant figures.
Table 1. The length l j of each edge e j in the G14 network. All values are rounded to the nearest two significant figures.
Edge  e j e 1 e 2 e 3 e 4 e 5
Adjacent Vertices v 1 , v 3 v 1 , v 2 v 1 , v 2 v 1 , v 3 v 2 , v 3
Length  l j 11.917.086.002.244.12
Edge  e j e 6 e 7 e 8 e 9 e 10
Adjacent Vertices v 2 , v 5 v 2 , v 7 v 3 , v 4 v 4 , v 7 v 4 , v 8
Length  l j 1.412.001.004.724.47
Edge  e j e 11 e 12 e 13 e 14
Adjacent Vertices v 4 , v 8 v 5 , v 6 v 5 , v 7 v 7 , v 8
Length  l j 2.002.001.414.47
Table 2. Results of the proposed edge centrality measure (KS) on the G14 network, along with those of the alternative centrality measures. All values are rounded to three significant figures.
Table 2. Results of the proposed edge centrality measure (KS) on the G14 network, along with those of the alternative centrality measures. All values are rounded to three significant figures.
Edge  e j e 1 e 2 e 3 e 4 e 5
KS  p -value 0.049 0.146 0.040 0.146 0.146
Degree 0.522 0.579 0.579 0.522 0.541
Eigenvector 0.938 1.000 1.000 0.938 0.881
Closeness 0.549 0.618 0.618 0.549 0.738
Betweenness 0.000 0.000 0.000 0.000 9.000
Edge Betweenness 0.000 0.000 4.000 3.000 3.000
Laplacian 6.107 7.005 7.005 6.107 7.870
Entropy Variation0.0830.0660.0660.0830.001
Current-Flow Closeness 5.117 3.070 3.070 2.874 3.070
Flow Betweenness 30.000 25.000 25.000 30.000 25.000
Edge Current-Flow Betweenness 1.833 1.929 1.850 1.581 2.063
Edge  e j e 6 e 7 e 8 e 9 e 10
KS  p -value 0.049 0.040 0.446 0.316 0.146
Degree 0.401 0.480 0.435 0.404 0.340
Eigenvector 0.534 0.587 0.517 0.256 0.184
Closeness 0.674 0.761 0.676 0.729 0.562
Betweenness 8.000 10.000 12.000 5.000 1.500
Edge Betweenness 6.000 4.000 5.000 5.000 0.000
Laplacian 5.791 7.014 5.962 5.053 3.482
Entropy Variation0.0160.0030.0020.0030.105
Current-Flow Closeness 2.880 3.072 2.876 2.879 2.644
Flow Betweenness 40.000 42.000 60.000 48.000 47.000
Edge Current-Flow Betweenness 3.948 3.007 3.821 2.515 1.649
Edge  e j e 11 e 12 e 13 e 14
KS  p -value 0.146 0.049 0.049 0.316
Degree 0.340 0.122 0.314 0.334
Eigenvector 0.184 0.092 0.211 0.192
Closeness 0.562 0.526 0.651 0.637
Betweenness 1.500 0.000 10.000 12.000
Edge Betweenness 3.000 7.000 6.000 4.000
Laplacian 3.482 1.567 3.894 4.201
Entropy Variation0.1050.0010.0190.002
Current-Flow Closeness 2.644 1.526 2.647 2.644
Flow Betweenness 47.000 20.000 57.000 48.000
Edge Current-Flow Betweenness 1.602 3.500 3.852 2.724
Table 3. The top five ranked edges by the different centrality measures for the G14 network.
Table 3. The top five ranked edges by the different centrality measures for the G14 network.
Centrality MeasureTop Five Ranked Edges
KS (Proposed)3, 7, 1, 6, 12
Degree2, 3, 5, 1, 4
Eigenvector2, 3, 1, 4, 5
Closeness7, 5, 9, 8, 6
Betweenness8, 14, 7, 13, 5
Edge Betweenness12, 6, 13, 8, 9
Laplacian5, 7, 2, 3, 1
Entropy Variation10, 11, 1, 4, 2
Current-Flow Closeness1, 7, 2, 3, 5
Flow Betweenness8, 13, 9, 14, 10
Edge Current-Flow Betweenness6, 13, 8, 12, 7
Table 4. The length l j of each edge e j in the road network. All values are rounded to the nearest two significant figures.
Table 4. The length l j of each edge e j in the road network. All values are rounded to the nearest two significant figures.
Edge  e j e 1 e 2 e 3 e 4 e 5
Adjacent Vertices v 1 , v 2 v 1 , v 7 v 2 , v 3 v 3 , v 7 v 3 , v 4
Length  l j 1.001.001.691.710.69
Edge  e j e 6 e 7 e 8 e 9 e 10
Adjacent Vertices v 4 , v 6 v 4 , v 5 v 5 , v 6 v 6 , v 8 v 8 , v 9
Length  l j 1.722.252.110.932.86
Edge  e j e 11 e 12 e 13 e 14 e 15
Adjacent Vertices v 2 , v 7 v 7 , v 8 v 7 , v 9 v 2 , v 10 v 2 , v 11
Length  l j 1.001.182.951.400.96
Edge  e j e 16 e 17 e 18 e 19 e 20
Adjacent Vertices v 3 , v 12 v 4 , v 13 v 5 , v 14 v 8 , v 16 v 1 , v 9
Length  l j 0.560.751.161.755.34
Edge  e j e 21 e 22 e 23
Adjacent Vertices v 1 , v 9 v 8 , v 15 v 8 , v 17
Length  l j 2.462.822.70
Table 5. Results of the proposed edge centrality measure (KS) on the road network, along with those of the alternative centrality measures. All values are rounded to three significant figures.
Table 5. Results of the proposed edge centrality measure (KS) on the road network, along with those of the alternative centrality measures. All values are rounded to three significant figures.
Edge  e j e 1 e 2 e 3 e 4 e 5 e 6
KS  p -value0.1240.0070.0560.2240.0470.110
Degree0.2930.3060.2750.2870.2320.202
Eigenvector0.5490.7660.3080.5230.1540.129
Closeness0.5100.5590.5600.6190.5590.515
Betweenness16.0004.00035.00020.00050.00025.000
Edge Betweenness9.0006.00027.00018.00035.00015.000
Laplacian4.0554.9433.4584.3472.6832.294
Entropy Variation0.0060.0010.0120.0080.0140.012
Current-Flow Closeness4.8962.9402.9412.9412.7582.535
Flow Betweenness67.00037.000109.00079.000197.00092.000
Edge Current-Flow Betweenness11.1475.06514.15712.18618.9969.884
Edge  e j e 7 e 8 e 9 e 10 e 11 e 12
KS  p -value0.4080.2240.4080.0560.0180.124
Degree0.2020.1650.3090.4050.3160.405
Eigenvector0.0610.1100.5891.0000.5850.923
Closeness0.4560.4420.5610.5060.5840.624
Betweenness12.0008.00036.00014.00032.00044.000
Edge Betweenness18.00012.00025.0007.00018.00030.000
Laplacian1.8401.7814.2165.3964.8455.950
Entropy Variation0.0230.0260.0090.0030.0070.002
Current-Flow Closeness2.5372.2622.9423.0983.0953.229
Flow Betweenness93.00092.000143.00078.00060.00084.000
Edge Current-Flow Betweenness11.67211.78220.06814.8539.57413.674
Edge  e j e 13 e 14 e 15 e 16 e 17 e 18
KS  p -value0.1100.1240.0220.0470.1100.246
Degree0.3390.1560.1540.1160.1180.082
Eigenvector0.8980.2130.2110.1270.0450.023
Closeness0.5330.4760.4790.4930.4440.367
Betweenness0.0000.0000.0000.0000.0000.000
Edge Betweenness8.00016.00016.00016.00016.00016.000
Laplacian5.1562.2562.2571.7171.4030.822
Entropy Variation0.0010.0060.0060.0010.0010.002
Current-Flow Closeness2.9412.2602.2601.9161.9161.469
Flow Betweenness33.00035.00035.00057.00031.00035.000
Edge Current-Flow Betweenness6.7058.0008.0008.0008.0008.000
Edge  e j e 19 e 20 e 21 e 22 e 23
KS  p -value0.1170.0220.0220.0470.056
Degree0.2370.3160.3160.2480.244
Eigenvector0.5850.8710.8710.6080.599
Closeness0.4760.4440.4440.4640.469
Betweenness0.0000.5000.5000.0000.000
Edge Betweenness16.0000.0001.00016.00016.000
Laplacian3.5153.7323.7323.5093.511
Entropy Variation0.0040.0840.0840.0050.005
Current-Flow Closeness2.5352.7562.7562.5352.535
Flow Betweenness39.00047.00047.00039.00039.000
Edge Current-Flow Betweenness8.0006.5986.2548.0008.000
Table 6. The top three ranked edges by the different centrality measures for the road network.
Table 6. The top three ranked edges by the different centrality measures for the road network.
Centrality MeasureTop Three Ranked Edges
KS (Proposed)2, 11, 15
Degree10, 12, 13
Eigenvector10, 12, 13
Closeness12, 4, 11
Betweenness5, 12, 9
Edge Betweenness5, 12, 3
Laplacian12, 10, 13
Entropy Variation20, 21, 8
Current-Flow Closeness1, 12, 10
Flow Betweenness5, 9, 3
Edge Current-Flow Betweenness9, 5, 10
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Durón, C.; Kravitz, H.; Brio, M. Kolmogorov–Smirnov-Based Edge Centrality Measure for Metric Graphs. Dynamics 2025, 5, 16. https://doi.org/10.3390/dynamics5020016

AMA Style

Durón C, Kravitz H, Brio M. Kolmogorov–Smirnov-Based Edge Centrality Measure for Metric Graphs. Dynamics. 2025; 5(2):16. https://doi.org/10.3390/dynamics5020016

Chicago/Turabian Style

Durón, Christina, Hannah Kravitz, and Moysey Brio. 2025. "Kolmogorov–Smirnov-Based Edge Centrality Measure for Metric Graphs" Dynamics 5, no. 2: 16. https://doi.org/10.3390/dynamics5020016

APA Style

Durón, C., Kravitz, H., & Brio, M. (2025). Kolmogorov–Smirnov-Based Edge Centrality Measure for Metric Graphs. Dynamics, 5(2), 16. https://doi.org/10.3390/dynamics5020016

Article Metrics

Back to TopTop