Next Article in Journal
Crude Oil and Hot-Rolled Coil Futures Price Prediction Based on Multi-Dimensional Fusion Feature Enhancement
Previous Article in Journal
Effective Detection of Malicious Uniform Resource Locator (URLs) Using Deep-Learning Techniques
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Identifying Hubs Through Influential Nodes in Transportation Network by Using a Gravity Centrality Approach

by
Worawit Tepsan
1,
Aniwat Phaphuangwittayakul
1,2,*,
Saronsad Sokantika
1 and
Napat Harnpornchai
3
1
International College of Digital Innovation, Chiang Mai University, Chiang Mai 50200, Thailand
2
Zuse Institute Berlin, 14195 Berlin, Germany
3
Faculty of Economics, Chiang Mai University, Chiang Mai 50200, Thailand
*
Author to whom correspondence should be addressed.
Algorithms 2025, 18(6), 356; https://doi.org/10.3390/a18060356
Submission received: 11 May 2025 / Revised: 3 June 2025 / Accepted: 7 June 2025 / Published: 10 June 2025
(This article belongs to the Section Algorithms for Multidisciplinary Applications)

Abstract

Hubs are strategic locations that function as central nodes within clusters of cities, playing a pivotal role in the distribution of goods, services, and connectivity. Identifying these vital hubs—through analyzing influential locations within transportation networks—is essential for effective urban planning, logistics optimization, and enhancing infrastructure resilience. This task becomes even more crucial in developing and less-developed countries, where such hubs can significantly accelerate urban growth and drive economic development. However, existing hub identification approaches face notable limitations. Traditional centrality measures often yield low variance in node scores, making it difficult to distinguish truly influential nodes. Moreover, these methods typically rely solely on either local metrics or global network structures, limiting their effectiveness. To address these challenges, we propose a novel method called Hybrid Community-based Gravity Centrality (HCGC), which integrates local influence measures, community detection, and gravity-based modeling to more effectively identify influential nodes in complex networks. Through extensive experiments, we demonstrate that HCGC consistently outperforms existing methods in terms of spreading ability across varying truncation radii. To further validate our approach, we introduce ThaiNet, a newly constructed real-world transportation network dataset. The results show that HCGC not only preserves the strengths of traditional local approaches but also captures broader structural patterns, making it a powerful and practical tool for real-world network analysis.

1. Introduction

Network analysis enriched with geospatial data offers a powerful framework for understanding spatial dynamics and supporting data-driven decision-making. The growing body of literature—reflected in works such as [1,2,3]—demonstrates the increasing availability of geospatial datasets and the advancement of analytical techniques, which have enabled widespread applications across diverse real-world domains. For instance, during Thailand’s second wave of COVID-19, Peter Scully’s GitHub project addressed the absence of official data by providing provincial adjacency information, thereby enabling more accurate modeling of disease transmission [4,5]. Adjacency-based networks have proven particularly useful in epidemiological studies. Ford et al. [6] developed the Spatiotemporal Epidemiological Modeler (STEM), an extensible framework for simulating disease spread across spatial and temporal scales. Similarly, Chinpong et al. [7] applied spatiotemporal analysis to tuberculosis (TB) incidence in Thailand from 2011 to 2020, revealing significant spatial heterogeneity and temporal trends along international borders. Beyond epidemiology, Martínez Márquez and Patanè [8] demonstrated how combining spatial and mobility data—using methods such as eigenvector centrality and Deep Gravity modeling—can enhance insights into flow dynamics and network structures. In a different domain, Mansourihanis et al. [9] proposed a GIS-based framework for assessing land-use compatibility, showing improved accuracy and transparency over conventional approaches through a case study in Qaemshahr, Iran. Together, these studies underscore the versatility and impact of geospatial network analysis across various sectors, including public health, transportation, and urban planning.
These diverse applications of geospatial network analysis highlight its value in uncovering hidden patterns and guiding data-informed interventions across various domains. Among the many analytical goals within this framework, one particularly critical task is identifying key or influential nodes in a network. These nodes often serve as strategic connectors, control points, or high-impact agents whose presence significantly affects the structure, function, and resilience of the system. Whether in the context of disease transmission, urban mobility, or land-use planning, understanding which nodes exert the most influence can greatly enhance predictive modeling, resource allocation, and policy development. As a result, a wide range of algorithms has been developed to tackle this challenge, increasingly moving beyond simplistic topological measures. Researchers have introduced various techniques for influential node detection, as shown in [10,11].
In the context of urban studies, where nodes can represent locations, these influential nodes are often referred to as hubs. In general terms, a hub refers to a region or a location that plays a pivotal role within a network by serving as a central point where multiple connections converge. These hubs are critical to the efficiency and functionality of various systems, often acting as integrators of key infrastructure, enablers of high-throughput mobility, or reducers of overall transportation costs. Their strategic position within a network allows them to influence broader spatial patterns, facilitate the flow of goods and services, and support coordinated development. As such, understanding the role of hubs offers valuable insights into spatial organization, functional zoning, and regional growth dynamics. For instance, Wang et al. [12] investigated urban agglomerations along the Yangtze River and found that major hub cities like Wuhan exert substantial spillover effects on land-use intensity, underscoring their impact on interregional development and spatial planning.
Given the importance of hubs, numerous studies have proposed methods to identify them within spatial and mobility networks. Xu et al. [13] used a graph-based approach with POI density and a marginalized graph autoencoder to delineate urban functional zones. Kang et al. [14] developed a multilayer network model to detect stable hubs in Beijing’s taxi network by capturing spatial-temporal correlations. Bellingeri et al. [15] analyzed the results of a real-world road network of Beijing after removing one or two nodes and accounting for the weighted structure of the network using classic binary node properties and network functioning measurements. Other works, such as Tian et al. [16] and Yuan et al. [17], focused on ridership-weighted models and supernetwork theory to reveal hierarchical and multimodal structures within transit systems. In addition, a multi-commodity, multi-modal hierarchical hub location problem under demand uncertainty was explored by incorporating fuzzy demand, which contributed to optimizing both transportation costs and time [18]. Another approach proposed a hub location model based on a branch-and-cut algorithm and intermodal transportation, which sought to overcome several traditional assumptions in hub location modeling [19].
Hub identification plays a critical role in understanding and managing complex networks, yet existing methods still face notable challenges. Centrality-based methods have been extensively applied across disciplines—including physics, biology, telecommunications, computer science, sociology, infrastructure, and transportation—to detect influential nodes [20,21,22,23]. Common metrics such as degree, betweenness, and closeness centrality offer useful perspectives but often yield low-variance scores, limiting their ability to distinguish truly influential nodes. Moreover, these traditional metrics typically emphasize either local connections or global structure, frequently overlooking intermediate patterns and spatial relationships that are critical in real-world applications. As a result, they may fall short in capturing the complexity of regionally diverse transportation networks.
To overcome these limitations, a novel approach for hub identification in transportation networks called Hybrid Community-based Gravity Centrality (HCGC), along with an additional local transportation network dataset, is presented. The key contributions of this study can be summarized as follows:
  • We propose HCGC, a method for identifying influential nodes in various complex networks. HCGC not only calculates the importance scores of each node based on local connections but also considers the global structure of the network by integrating local centrality features, gravity-based spatial modeling, and community detection. Moreover, it provides high-variance scores that are straightforward to use for ranking influential nodes.
  • The ThaiNet dataset, representing Thailand’s transportation networks across 77 provinces and 928 districts, is introduced. It is constructed by contiguity-based adjacency, enabling the realistic modeling of regional connectivity.
  • An application of HCGC to ThaiNet is demonstrated. HCGC is not only applicable to general datasets but is particularly well-suited for transportation networks.
  • Extensive experiments and comprehensive analysis between the proposed approach and traditional centrality measures are conducted on nine public networks and the ThaiNet dataset.

2. Methods

When starting with many locations, identifying which ones should serve as hubs requires evaluating the importance of each location—often measured through centrality values. Centrality encapsulates a location’s significance within a network, especially regarding its spatial positioning and interconnectivity.
In terms of mathematical representation, a network can be defined as G = ( V , E ) , where V is the set of nodes (or vertices), and E is the set of edges. In this context, each node represents a location, while edges represent connections or relationships between nodes—such as the existence of a direct road between two locations. The adjacency between nodes u and v is indicated by a u v , where
a u v = 1 , if there is an edge between node u and node v , 0 , otherwise .
The total number of nodes in the network is denoted by N. The graph G can also be represented using the adjacency matrix A of dimension N × N , where each row and column corresponds to a node in the network. The entry at the row corresponding to node u and the column corresponding to node v, denoted a u v , indicates whether an edge exists between nodes u and v.
To assess the significance of each node within a network, a variety of quantitative measures have been developed. Some of these measures are classic centrality metrics, which focus on characteristics such as connectivity, accessibility, or intermediary roles. Others, however, incorporate additional structural or contextual factors, like clustering behavior or influence diffusion. These methods are particularly valuable in contexts such as transportation, communication, or information networks, where understanding both local and global node influence is crucial for decisions regarding hub selection or network optimization. The following sections introduce several commonly used metrics for evaluating node importance, ranging from traditional centrality measures to more recent hybrid and enhanced models.

2.1. Degree Centrality (DC)

Degree centrality is one of the simplest and most intuitive centrality measures. It quantifies the importance of a node by counting the number of direct connections (or neighbors) it has. Nodes with high degree centrality are directly connected to many other nodes, indicating strong local influence. In the context of transportation [24], communication, or economic networks, degree centrality reflects the reachability between nodes. The degree centrality of a node v is given by Equation (2).
D C ( v ) = deg ( v ) = u v a u v
where D C ( v ) is the degree centrality of node v, and a u v is the adjacency indicator, as defined in Equation (1).

2.2. Closeness Centrality (CC)

Closeness centrality measures how near a node is to all other nodes in the network. It is computed based on the inverse of the total shortest path distances from a given node to all other nodes. Nodes with high closeness centrality have shorter average path lengths to others, indicating they are more “central” in terms of their ability to efficiently reach, or be reached by, other nodes in the network. This metric is particularly useful for identifying nodes that are effective in distributing resources, information, or influence across the network. The closeness centrality of a node v is defined by Equation (3).
C C ( v ) = N 1 u v d ( v , u )
where C C ( v ) is the closeness centrality of node v, N is the total number of nodes in the network, and d ( v , u ) denotes the shortest path distance between nodes v and u. The summation u v d ( v , u ) is taken over all nodes u distinct from v.

2.3. Betweenness Centrality (BC)

Betweenness centrality measures a node’s importance based on how often it appears on the shortest paths between pairs of other nodes in a network [25]. Nodes with high betweenness centrality serve as bridges, potentially controlling the flow of information, resources, or activity between different parts of the network. The formula for calculating betweenness centrality is given in Equation (4).
B C ( v ) = u v w σ u w ( v ) σ u w
where B C ( v ) is the betweenness centrality of node v, σ u w is the total number of shortest paths from node u to node w, and σ u w ( v ) is the number of those paths that pass through node v.

2.4. Eigenvector Centrality (EC) from Adjacency Matrix

Eigenvector centrality measures a node’s importance based on the importance of the nodes to which it is connected. Unlike simple degree centrality, which only counts direct connections, eigenvector centrality assigns higher scores to nodes that are connected to other highly central nodes. This measure is particularly useful for identifying influential nodes in the spread of economic influence or information within a network. Assume that A is the adjacency matrix of the network and λ is the largest eigenvalue of A. The calculation of eigenvector centrality is formally expressed in Equation (5).
E C ( v ) = 1 λ u v a u v E C ( u )
where E C ( v ) is the eigenvector centrality of node v, and a u v is the ( v , u ) -th entry of the adjacency matrix A.

2.5. Generalized Gravity Centrality (GGC)

GGC [26] is a gravity-based model that uses the degree of nodes as masses and includes local clustering coefficient to increase the spreading ability of the node. This approach shows better local information consideration of the node than conventional methods. The GGC is defined as follows:
G G C ( v ) = d u v R & u S p ( v ) × S p ( u ) d u v 2 = d u v R & u e α C v × k ( v ) × e α C u × k ( u ) d u v 2
where R is a truncation radius for the gravity model [27]. S p ( v ) is spreading ability of node v. C v is local clustering coefficient of node v = 2 n v / ( k ( v ) ( k ( v ) 1 ) ) . k ( v ) is the degree of node v.

2.6. Hybrid Global Structure Model (HGSM)

HGSM [28] is an enhanced version of the Global Structure Model (GSM). HGSM integrates the K s value into conventional self-influence (iSI) to increase the local impact of a node’s D C . The self-influence (iSI) is then used to compute the global impact (iGI). The iGI factor calculates the sum of the neighbor ratios of the shortest path lengths by averaging the iSI values for directed and undirected nodes with K s and D C values. The HGSM is defined as Equation (7).
H G S M ( v ) = i S I ( v ) × i G I ( v ) = e K s ( v ) × D C ( v ) N × v u e K s ( u ) × D C ( u ) N d u v c e i l ( log 2 ( a v e _ i S I ) )
where K s ( v ) and K s ( u ) are K-shell decomposition of node v and node u. D C ( v ) and D C ( u ) are degree centrality of node v and node u, respectively. N is the total number of nodes.

2.7. Degree and Average Neighbor Degree (DC+)

DC+ [29] is the improved method of the degree centrality to identify the node’s influence. It measures the influence of nodes by a product of node degree and the average neighbor degree, which can be defined as Equation (8).
D C + ( v ) = k ( v ) × k n n , v
where k n n , v = ( u N v k u ) / | N u | is the average neighbor degree of the node v. N v is the neighbor set of node v. | N v | is the size of node v.

3. Methodology

Inspired by HGSM [28] and the spreading ability of the node in GGC [26], we propose Hybrid Community-based Gravity Centrality (HCGC). Our method considers both the local and global information of each node in a network. Additionally, the method also includes the local modularity calculated by the Louvain algorithm due to its popularity for community detection [30]. This local modularity is used to improve the local influence scores ( L I ) . HCGC is then computed by using L I as masses in the gravity model with a truncation radius R to capture the global information of the network. This approach has the potential to identify the vital hubs for transportation networks. The HCGC is defined by the following equation:
L I ( v ) = e L M ( v ) N × D C + ( v ) × K s ( v )
where N is the number of nodes in a network. L M ( v ) is the local modularity calculated by the community detection algorithm, which measures how well each individual node fits within its assigned community. Equation (10) defines the local modularity.
L M ( v ) = E i n t e r n a l ( v ) E t o t a l ( v ) = u N ( v ) δ ( c v , c u ) k v
where E i n t e r n a l ( v ) counts edges connecting node n to nodes in the same community. E t o t a l ( v ) is the degree of node v. N ( v ) is the set of neighbors of node v. δ ( c v , c u ) is 1 if nodes v and u are in the same community, 0 otherwise. k v is the degree of node n.
The community assignment δ ( c v , c u ) is calculated by the Louvain algorithm which is widely used for community detection in networks [30]. The Louvain algorithm maximizes global modularity Q to determine communities. This global modularity Q measures the quality of the entire community partition, while local modularity measures how well each individual node fits within its assigned community. The global modularity Q can be expressed as:
Q = 1 2 m v , u A u v k v k u 2 m δ ( c v , c u ) = 1 2 m v , u v k v u k u 2 m δ ( c v , c u )
δ ( c v , c u ) = 0 , c v , c u belong to different community 1 , c v , c u belong to same community
where A u v is the weight of the edge between nodes v and u, whose value is 1 for unweighted networks. k v and k u are the sums of weights of edges attached to nodes v and u. m is the sum of all edge weights in the graph. c v is the community to which node v belongs.
HCGC represents the impact of neighbor nodes within a truncation radius R following gravity-based centrality measures [26,29].
H C G C ( v ) = d u v R , v u L I ( v ) × L I ( u ) d u v 2
Algorithm 1 shows the pseudocode of the HCGC.
Algorithm 1 The algorithm of HCGC measure
Input: Network G ( V , E ) with nodes labels 0 , 1 , , N , R
Output:  H C G C values for all nodes
 1:
Calculate L M using method in Equation (10) for all nodes
 2:
Calculate degree and average neighbor degree D C + for all nodes
 3:
Calculate K s using K-shell decomposition method for all nodes
 4:
for each node v in V do
 5:
     L I ( v ) e L M ( v ) N × D C + ( v ) × K s ( v ) // Calculate L I for node v according Equatio (9)
 6:
end for
 7:
for each node v in V do
 8:
     H C G C 0
 9:
     R v a set of R-neighborhood nodes of node v
10:
    for each node u in R v  do
11:
         H C G C + = L I ( v ) × L I ( u ) d u v 2 // Calculate the H C G C according to Equation (12)
12:
    end for
13:
end for
14:
return  H C G C

3.1. SIR Spreading Dynamics

The SIR (Susceptible, Infected, Recovered) spreading dynamics model is a widely used methodology for assessing the node importance within a network based on their spreading ability. The predicted ranking of nodes based on their spreading ability can be obtained using this model. With the SIR model, each node in a network is categorized into one of three distinct states: S u s c e p t i b l e ( S ) , I n f e c t e d ( I ) , or R e c o v e r e d ( R ) . S u s c e p t i b l e ( S ) nodes represent individuals who have not yet contracted the infection but remain vulnerable to transmission. I n f e c t e d ( I ) nodes constitute those individuals who have acquired the infection and possess the capacity to transmit the disease to susceptible individuals within their network. R e c o v e r e d ( R ) nodes denote individuals who were formerly infected but have subsequently recovered from the disease and are no longer capable of transmission.
The fundamental principle underlying this method involves these steps: (1) One node is selected as an infected node, while all other nodes are initially classified as susceptible nodes. (2) At each time step, every infected node has the probability β of transmitting the infection to its neighbor nodes. (3) The infected nodes transition to the recovered state with probability λ (which is set to 1 in this study). Different infection probabilities ( β ) are applied for this experiment. We set them as β [ 0.5 β c , 1.5 β c ] . β c is the spreading threshold of the SIR model for each network, defined as the following equation.
β c = k k 2 k
where k denotes the average degree of the network, k 2 represents the second-order average degree of the network. This process terminates when the network no longer contains any infected nodes.
Based on this model, the influence of a given node i can be estimated as F ( i ) = N r / N , where N r represents the total number of recovered nodes in the network upon reaching the steady state of the SIR spreading dynamics process. To achieve a more accurate approximation of the true ranking of node spreading ability, the final spreading influence for each initially infected node is determined by calculating the statistical average over 1000 iterations, N = 1000 . The ranking results of network nodes’ SIR spreading abilities are obtained through the implementation of the Epidemic on Networks (EoN) module [31].

3.2. Kendall’s Tau ( τ )

The accuracy of different algorithms is subsequently evaluated through the application of Kendall’s tau correlation coefficient [32]. Kendall’s tau represents a widely adopted statistical measure for quantifying the strength of the correlation between two sequences. When considering two sequences X and Y with the same length, two pairs of elements ( x i , y i ) and ( x j , y j ) are selected from corresponding positions within these sequences. These pairs are classified as concordant if x i > x j and y i > y j , or if x i < x j and y i < y j . Conversely, the pairs are considered discordant if x i > x j and y i < y j , or if x i < x j and y i > y j . The pairs are neither concordant nor discordant if x i = x j or y i = y j . Denoting the number of concordant and discordant pairs as N c and N d , respectively, Kendall’s tau between sequences X and Y can be expressed as Equation (14).
τ ( X , Y ) = N c N d N ( N 1 ) / 2
where τ [ 1 , 1 ] . A value of τ = 1 indicates a perfect match between the rankings of sequences X and Y, whereas τ = 1 signifies a complete inversion of rankings. When τ = 0 , the rankings of the two sequences X and Y are completely independent. N c and N d denote the number of concordant and discordant pairs, respectively. N is the number of total nodes in the network.
For evaluating the accuracy of various measures, the spreading capability of nodes is initially determined through the implementation of the SIR model. Subsequently, a ranking sequence is generated by ordering node influence as determined through algorithmic simulation. The final step involves the computation of Kendall’s tau ( τ ) between these two sequences. Measures with τ values close to 1 demonstrate the highest performance in accurately identifying influential nodes within the network.
A critical advantage of SIR models in transportation network analysis is their natural compatibility with network topology considerations. The adjacency matrix of transportation networks, such as road networks, directly influences the diffusion dynamics, as the spread of any phenomenon is constrained by the physical connectivity of road segments. This topological awareness allows SIR models to capture realistic diffusion patterns that respect the geometric constraints of road infrastructure.

3.3. Imprecision Function

The imprecision function is another evaluation method to assess the spreading ability of influential nodes. This function compares a fraction of the nodes (p) which differs from Kendall’s tau that compares the rank of all nodes with the ranking obtained by the SIR model [33]. The imprecision function is denoted as Equation (15).
ϵ ( p ) = F m ( ϑ ) F e f f ( ϑ )
where F m ( ϑ ) represents the average spreading ability when spreading originates from nodes ranked highest by the given measure m. F e f f ( ϑ ) represents the average spreading ability of the actual top ϑ nodes in the SIR model. To compare the spreading ability in the early stage, we run the SIR model for 20 iterations to obtain the average scores.

4. Datasets

Two main datasets are used in this study to evaluate the performance of the proposed method. The first is a publicly available real-world network dataset, while the second is a custom-generated network dataset developed for this research and referred to as ThaiNet.

4.1. Public Real Networks

A total of nine public real-world networks are used in this study, including two transportation networks (USAir and Euroroad), three social networks (Dolphins, Blogs, and Karate), three communication networks (Email, EEC, and GDciting), and one biological network (Celegan), as described in Table 1.
These datasets are publicly accessible through NETWORKREPOSITORY (https://networkrepository.com/networks.php, accessed on 14 February 2025) and KONECT (http://konect.cc/networks/, accessed on 14 February 2025). The basic properties of each network are summarized in Table 2.

4.2. ThaiNet Dataset

4.2.1. Steps for Generating Sample Transportation Network

The steps include collecting the central location of each region, constructing adjacency relationships based on regional boundaries, and generating an adjacency matrix for network analysis, as illustrated in Figure 1.
Region Locations Data Collection
Data collection begins with identifying the central location for each region. Then, latitude and longitude coordinates of these central points are collected and compiled into a CSV file, which includes the names and coordinates of each location.
Adjacency Region Pair Construction
The adjacency of regions is determined through a series of algorithms. Initially, boundary overlap is checked to filter out non-adjacent district pairs quickly (see Algorithm  2). Subsequently, detailed proximity checks are performed to confirm adjacency (see Algorithm 3). These validated adjacencies are then used to construct pairs for further analysis (see Algorithm 4).
Algorithm 2 Check Extremities Boundary Boxes Overlap
1:
procedure CheckBoxOverlap( b o u n d 1 , b o u n d 2 , threshold = 0.01 )
2:
     m i n _ l o n 1 , m i n _ l a t 1 , m a x _ l o n 1 , m a x _ l a t 1 b o u n d 1
3:
     m i n _ l o n 2 , m i n _ l a t 2 , m a x _ l o n 2 , m a x _ l a t 2 b o u n d 2
4:
     l a t _ o v e r l a p ( m a x _ l a t 1 m i n _ l a t 2 threshold ) ( m a x _ l a t 2 m i n _ l a t 1 threshold )
5:
     l o n _ o v e r l a p ( m a x _ l o n 1 m i n _ l o n 2 threshold ) ( m a x _ l o n 2 m i n _ l o n 1 threshold )
6:
    return  l a t _ o v e r l a p l o n _ o v e r l a p
7:
end procedure
Algorithm 3 Check if Two Regions Are Adjacent Based on Overlapping Boundary Proximity
Require:  r e g i o n 1 , r e g i o n 2 , distance _ threshold = 0.05
1:
b o x _ o v e r l a p CheckBoxOverlap ( b o u n d 1 , b o u n d 2 )
2:
if  b o x _ o v e r l a p  then
3:
    Perform detailed proximity checks to confirm adjacency
4:
    return True if adjacent, False otherwise
5:
end if
6:
return False
Algorithm 4 Construct Adjacency Region Pairs
1:
Initialize empty list AdjacencyPair = [].
2:
for each region1 in allregions do
3:
    for each region2 in allregions do
4:
         i s A d j a c e n t CheckAdjacency ( r e g i o n 1 , r e g i o n 2 )
5:
        if  i s A d j a c e n t  then
6:
           AdjacencyPair.append({region1, region2})
7:
        end if
8:
    end for
9:
end for
Adjacency Generation
Following the establishment of adjacency pairs, we generate matrices to analyze spatial relationships. The adjacency matrix records regions that are directly adjacent. Specifically, we measure the distance between each pair of adjacent regions back and forth, and use the average of these measurements as the distance entry in our adjacency matrix (see Algorithms 5).
Algorithm 5 Generate Adjacency Matrix
1:
Initialize matrix A as an N × N array filled with zeros
2:
for each r e g i o n 1 , r e g i o n 2 in AdjacencyPair do
3:
     A [ region 1 _ index , region 2 _ index ] 1
4:
end for

4.2.2. Overview of the ThaiNet Dataset

The steps for generating a sample transportation network are applied to Thailand’s regions, which include 77 provinces and 928 districts. As a result, ThaiNet consists of two main networks—one for the provinces and another for the districts. Each dataset will include:
  • A list of regions along with their central locations,
  • Pairs of adjacent regions, and
  • An adjacency matrix representing the boundary connections between regions.
Province Network in ThaiNet
Thailand comprises 77 provinces, for which data were collected using a combination of the described methodology and manual efforts. The collected data include:
  • A compiled list of all 77 provinces of Thailand, along with the precise locations of their respective Muang District Offices. These offices serve as the administrative hubs for their provinces. Notably, for Bangkok, the Democracy Monument serves as the representative location, as detailed in Table 3.
  • An inventory of a total of 358 paired adjacent provinces, comprising 179 pairs of non-switched order pairs, which provides insights into the distances between them. This dataset highlights the geographical proximity and connectivity among the provinces. Detailed information on adjacent provinces is provided in Table 4.
  • An Adjacency Matrix is tailored to reflect the spatial relationships among the 77 provinces, as shown in Table 5.
District Network ThaiNet
Similarly to Provinces data, we generate dataset for 928 Thailand districts. The following data have been collected for each district:
  • A list of all districts, along with the locations of their District Offices. Each district is referenced by a tuple consisting of the district name and its respective province (i.e., (district, province)). The location used to represent each district is the main office within that district. These data will be collected in the format presented in Table 6.
  • A list of 6192 pairs of adjacent districts (3096 pairs, not counting reverse originals and destinations) will be generated in the format of Table 7.
  • An Adjacency Matrix captures the spatial dimensions and relationships among the 928 districts, as presented in Table 8.
The basic network properties of the province and district networks in the ThaiNet dataset are summarized in Table 9.

5. Results and Discussion

This section demonstrates the performance of HCGC and baseline measures through SIR spreading dynamics experiments on both public real networks and ThaiNet datasets. These baseline measures consist of degree centrality (DC), closeness centrality (CC), betweenness centrality (BC), eigenvector centrality (EC), DC+ [29], GGC [26], LGI [34], DCGM++ [29], HGSM [28], NPIC [35], and NHM [33]. The results obtained from SIR can be used to identify the influential nodes in the complex network. All experiments were run on an Intel(R) Core(TM) i5-12450H CPU 2.00 GHz processor with 16 GB of memory.

5.1. SIR Spreading Dynamic Results

Table 10 demonstrates the efficiency of our method compared with baseline measures through a truncation radius R = 2 and infection probability β = β c . Although DCGM++, which is another gravity centrality measure, demonstrates the highest accuracy in Dolphins and USAir, the results show that HCGC outperforms the existing approaches on six networks including EEC, Email, Euroroad, Blogs, GDciting, and Celegan. Moreover, our measure achieves the second-best performance on Dolphins and USAir networks. Notably, HCGC shows good performance on transportation networks (USAir and Euroroad). Additionally, the results show that DC+ demonstrates better efficiency than DC on every network, which is why we chose DC+ instead of traditional DC as a component in our method.
Figure 2 presents the spreading capability of different measures on nine networks via Kendall’s correlation coefficient. The figure consists of the accuracy of various infection probabilities ( β ) ranging from 0.5 β c to 1.5 β c and R = 2 for each network. HCGC shows better performance in Dolphins, USAir, EEC, Email, Euroroad, Blogs, GDciting, and Celegan when the infection probability is greater than β c . Moreover, the accuracy of our measure consistently increases compared to others. In particular, in the USAir, EEC, Email, Blogs, GDciting, and Celegan networks, the accuracy curve shows an upward trend compared to other measures that remain relatively stable.
Table 11 presents the efficiency of our method compared with baseline measures through a truncation radius R = 3 and infection probability β = β c . Similar to the previous setting with a truncation radius R = 2 , the HCGC outperforms existing works in most networks. However, DC+ shows better performance in the EEC network. Comparing the results between R = 2 and R = 3 , R = 3 shows better accuracy on USAir, Euroroad, Karate, and Celegan networks. This demonstrates that HCGC performs effectively on transportation networks.
Figure 3 illustrates the spreading capability of different measures through the Kendall’s correlation coefficient with a truncation radius R = 3 and infection probabilities β [ 0.5 β c , 1.5 β c ] . Similar to the results of R = 2 , HCGC outperforms the existing approaches on most of the networks when β > β c , except for the Karate network.

5.2. Imprecision Function Results

Table 12 demonstrates the imprecision function values of baseline measures and our proposed algorithm on the public real networks dataset. HCGC with R = 2 achieves the highest values compared to others on four networks including Email, Euroroad, Blogs, and Celegan. The proposed measure slightly underperforms the EC on the EEC network.
Table 13 represents the imprecision function values of baseline measures and our proposed algorithm on public real networks dataset. HCGC with R = 3 achieves the highest values compared to others on four networks including Email, Euroroad, Blogs and Celegan. Comparing between the proposed method with R = 2 and R = 3 , HCGC with R = 3 shows better evaluation on USAir, Euroraod, Karate, and GDciting networks.
Figure 4 and Figure 5 illustrate the imprecision function values across different measures. The horizontal axis refers to the fractions of top nodes in the network (p) ranging from 0.01 to 0.2. The vertical axis shows the calculated values of the imprecision function based on the specific algorithm ϵ ( p ) . Based on the curves, they show that our method presents significantly high performance (lower is better) compared to the traditional methods on the Euroroad network. Moreover, HCGC has curves that are similar to DCGM++ and NHM on USAir, Email, Blogs, Karate, and GDCiting networks.
Table 14 presents the average imprecision function values across all networks for different measures. The results show that our proposed method outperforms other methods with the lowest imprecision function values for both truncation radii R = 2 and R = 3 . DC+ is the second-best performing measure.

5.3. Centrality Measurement in the ThaiNet Dataset

Since HCGC is an approach that is applicable to unweighted networks, the weights, such as distance, between each node were disregarded during construction of the ThaiNet dataset. Moreover, using a binary network preserves the simplification that effectively captures the fundamental structural properties of networks, such as network topology, and provides computational advantages that enable large-scale urban network analysis.

5.3.1. Centrality Measurement in Province Network

For the province network, measures across 77 nodes are applied to identify potential hubs. Each node represents a Thai province across six regions, including northern, northeastern (Isan), western, central, eastern, and southern. Our analysis specifically focuses on degree centrality (DC), closeness centrality (CC), betweenness centrality (BC), and eigenvector centrality (EC) as baselines for comparison with HCGC with a truncation radius of R = 3 . Each method offers valuable insights into the relative importance of provinces within the network.
Table 15 demonstrates the top 10 nodes with their scores for each measure. The results from HCGC show that Lopburi province has the highest score, followed by Khon Kaen, Nakhon Ratchasima, Nakhon Sawan, and Phetchabun. These results include nodes from the top-ranked nodes of baseline measures, demonstrating that the influential nodes identified by our approach consider not only local information (like DC and EC) but also global information (like CC and BC). Moreover, our proposed method produces scores with high variance, which helps identify vital hubs more easily compared to traditional DC or CC, which often produce similar scores that are difficult to distinguish and rank. Additionally, the top 10 provinces come from diverse regions of Thailand, including central, northeastern, and northern.
Figure 6 presents nodes in the province network with their province labels and communities categorized by the Louvain algorithm. Larger node sizes represent higher HCGC scores. There are six communities in the network, which corresponds to the number of regions in Thailand.
Figure 7 illustrates the top 20% of nodes representing the vital hubs in the province network with their province labels and communities. The vital hubs exist in Communities 1, 3, 4, and 5. The results show that Lopburi province, which achieves the highest score using the HCGC method by connecting nodes from other communities, can be considered the most vital hub in this network.

5.3.2. Centrality Measurement in District Network

For the district network, we analyze centrality measures across 928 Thai districts in the ThaiNet dataset. Similar to the centrality measurement in the province network, each node represents a district. DC, CC, BC, EC, and HCGC are used to calculate the scores for each node.
Table 16 describes the top 10 districts with scores of different measures. The results from HCGC show that Pathum Wan district in Bangkok province achieves the highest performance, followed by Thon Buri, Dusit, Sa Thon, and Bang Rak districts. All of these districts are located in Bangkok province. HCGC presents scores with high variance, which makes it easier to differentiate influential nodes from each other compared to DC.
Figure 8 presents nodes in the district network with their district labels and communities categorized by the Louvain algorithm. There are 32 communities in the network. The nodes have different sizes according to their HCGC scores. Higher scores correspond to larger node sizes.
Figure 9 illustrates the nodes in the first community. Due to the large number of communities, we select Community 1 as a representative example. The color bar on the right side shows the HCGC values. High-scoring nodes such as node 6 (Pathum Wan), node 14 (Thon Buri), and node 1 (Dusit) are labeled in yellow.

6. Conclusions

This paper proposes a novel approach called Hybrid Community-based Gravity Centrality (HCGC) for identifying hubs in transportation networks by employing local modularity, community detection, and gravity-based modeling. According to evaluation results on nine public real-world networks, HCGC outperforms existing approaches for identifying influential nodes in complex networks across different aspects. HCGC with a truncation radius R = 2 shows the high values of Kendall’s correlation coefficient with SIR models on six out of nine networks. However, HCGC with a truncation radius R = 3 presents high values of the coefficient with SIR models on five out of nine networks compared to the traditional approaches. Additionally, HCGC with both truncation radii also achieves the best average imprecision function scores across all nine public real-world networks. This can be explained by the fact that our approach is outstanding in incorporating spreading influence that captures diffusion patterns in transportation networks.
In addition to the public networks dataset, we present the ThaiNet dataset consisting of two comprehensive regional transportation networks in Thailand including the province network and district network constructed by using an adjacency matrix of the nation’s provinces and districts, respectively. It represents Thailand’s transportation network across 77 provinces and 928 districts in Thailand. Once applying HCGC to this ThaiNet dataset, HCGC shows high variance scores compared to existing network centrality measures (such as DC or CC) that possibly produces the same scores for multiple nodes. This allows the nodes in the network to be more easily ranked and identified as hubs with accurate scores.
Based on the application of HCGC to the province network, provinces across six diverse regions can be considered hubs in the network. Lopburi is considered a hub in the central region with the top scores among different provinces in Thailand followed by Khon Kaen and Nakhon Ratchasima in the northeastern region. Phetchabun and Tak are two provinces in the northern region that achieve the highest scores in the region and are listed in the top ten provinces with the highest HCGC score. In addition, HCGC was applied to the district network. The districts that are listed in the top ten districts of high HCGC score represent the highly potential hubs in Thailand. All these districts are located in Bangkok province which is the capital of Thailand. The first rank district ordered by HCGC is Pathum Wan followed by Thon Buri and Dusit, respectively. Furthermore, the communities for both networks are determined by the Louvain algorithm. There are six communities in the province network and thirty-two communities in the district network that can be categorized. These communities can be used to indicate vital nodes that have high potential to be hubs of Thailand and can visualize the size and location of each node in the map.
Our proposed method and application demonstration provide not only in-depth geographical and economic analysis but also a strong foundation for policy-making aimed at bolstering national connectivity and development. Moreover, the adaptable methodology proposed here can be applied to other geographical areas, enabling systematic data collection and analysis worldwide. As such, the datasets and methods developed through this study are invaluable resources that can drive informed decision-making and stimulate socio-economic progress across various regions.
Even though this study shows significant improvements over existing approaches with strong methodological and empirical contributions, there are limitations and opportunities for improvement. First, the transportation networks in the ThaiNet dataset were modeled as unweighted binary networks for simplicity, which may not reflect real-world systems that incorporate weighted factors such as distance, traffic volume, or speed. Second, processing large network datasets can be time-consuming due to the computational complexity of the HCGC measure. To address these limitations, future work will involve constructing weighted networks using actual road distances or travel times between districts, requiring substantial data collection and careful review of licensing requirements. This will enable a more realistic analysis of spatial interactions and proximity effects. Additionally, a more efficient approach for large-scale networks will be explored.

Author Contributions

Conceptualization, A.P., N.H., S.S. and W.T.; data curation, A.P. and W.T.; methodology, A.P. and W.T.; software, A.P., S.S. and W.T.; validation, W.T.; formal analysis, S.S. and W.T.; visualization, A.P., S.S. and W.T.; writing—original draft preparation, A.P., N.H., S.S. and W.T.; writing—review and editing, A.P., N.H., S.S. and W.T.; supervision, N.H. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Chiang Mai University Junior Research Fellowship Program.

Data Availability Statement

The datasets collected, compiled, and analyzed in this study, along with the code used to generate them, are publicly available and can be accessed through our GitHub repository: https://github.com/wtepsan/Adjacency-and-Distance-Matrix-of-Thailand, accessed on 1 March 2024. Additionally, the foundational public datasets used as the basis for generating the core dataset for this study are listed below:

Acknowledgments

In addition to the support from the Chiang Mai University Junior Research Fellowship Program, we would like to express our gratitude to the Erawan HPC Project, Information Technology Service Center (ITSC), Chiang Mai University, Chiang Mai, Thailand, for providing the computational resources essential to this research.

Conflicts of Interest

The author declare no conflicts of interest.

References

  1. GIS and Network Analysis. In Spatial Analysis and GeoComputation: Selected Essays; Springer: Berlin/Heidelberg, Germany, 2006; pp. 43–60. [CrossRef]
  2. Huang, B.; Cova, T.; Tsou, M.H.; Bareth, G.; Song, C.; Song, Y.; Cao, K.; Silva, E. Comprehensive Geographic Information Systems; Elsevier: Amsterdam, The Netherlands, 2018. [Google Scholar]
  3. Zinoviev, D. Complex Network Analysis in Python: Recognize–Construct–Visualize–Analyze–Interpret; The Pragmatic Bookshelf: Raleigh, NC, USA, 2018. [Google Scholar]
  4. Scully, P. Thailand Province Border-Adjacency Mappings. GitHub Repository. 2021. Available online: https://github.com/pmdscully/thailand_province_border_adjacency (accessed on 1 March 2024).
  5. Scully, P. Thailand Province Border Adjacency Dataset/Code. 2021. Available online: https://petescully.co.uk/2021/02/08/thailand-province-border-adjacency-dataset/ (accessed on 1 March 2024).
  6. Ford, D.; Kaufman, J.; Eiron, I. An Extensible Spatial and Temporal Epidemiological Modelling System. Int. J. Health Geogr. 2006, 5, 4. [Google Scholar] [CrossRef] [PubMed]
  7. Chinpong, K.; Thavornwattana, K.; Armatrmontree, P.; Chienwichai, P.; Lawpoolsri, S.; Silachamroon, U.; Maude, R.J.; Rotejanaprasert, C. Spatiotemporal Epidemiology of Tuberculosis in Thailand from 2011 to 2020. Biology 2022, 11, 755. [Google Scholar] [CrossRef] [PubMed]
  8. Martínez Márquez, R.A.; Patanè, G. Graph Node Scoring for the Analysis and Visualisation of Mobility Networks and Data. Urban Sci. 2024, 8, 155. [Google Scholar] [CrossRef]
  9. Mansourihanis, O.; Maghsoodi Tilaki, M.J.; Yousefian, S.; Zaroujtaghi, A. A Computational Geospatial Approach to Assessing Land-Use Compatibility in Urban Planning. Land 2023, 12, 2083. [Google Scholar] [CrossRef]
  10. Lü, L.; Chen, D.; Ren, X.L.; Zhang, Q.M.; Zhang, Y.C.; Zhou, T. Vital nodes identification in complex networks. Phys. Rep. 2016, 650, 1–63. [Google Scholar] [CrossRef]
  11. Chakravarthy, T.S.; Lokesh, S. A Comprehensive Review of Influence Node Identification in Complex Networks; ACM: New York, NY, USA, 2022; pp. 11–26. [Google Scholar]
  12. Wang, P.; Zeng, C.; Song, Y.; Guo, L.; Liu, W.; Zhang, W. The Spatial Effect of Administrative Division on Land-Use Intensity. Land 2021, 10, 543. [Google Scholar] [CrossRef]
  13. Xu, R.; Chen, Z.; Li, F.; Zhou, C. Identification of Urban Functional Zones Based on POI Density and Marginalized Graph Autoencoder. ISPRS Int. J. Geo-Inf. 2023, 12, 343. [Google Scholar] [CrossRef]
  14. Kang, C.; Jiang, Z.; Liu, Y. Measuring hub locations in time-evolving spatial interaction networks based on explicit spatiotemporal coupling and group centrality. Int. J. Geogr. Inf. Sci. 2022, 36, 360–381. [Google Scholar] [CrossRef]
  15. Bellingeri, M.; Bevacqua, D.; Scotognella, F.; Zhe-Ming, L.; Cassi, D. Efficacy of local attack strategies on the Beijing road complex weighted network. Phys. A Stat. Mech. Its Appl. 2018, 510, 316–328. [Google Scholar] [CrossRef]
  16. Tian, T.; Cheng, Y.; Liang, Y.; Ma, C.; Chen, K.; Hu, X. Hub Node Identification in Urban Rail Transit Network Evolution Using a Ridership-Weighted Network. Transp. Res. Rec. 2024, 2678, 549–569. [Google Scholar] [CrossRef]
  17. Yuan, G.; Sun, L.; Kong, D.; Bai, Z.; Shao, J. Supernetwork Perspective on Studying the Method of Identifying the Important Urban Transport Hub. J. Highw. Transp. Res. Dev. (Engl. Ed.) 2023, 17, 82–91. [Google Scholar] [CrossRef]
  18. Eydi, A.; Shirinbayan, P. Multi-modal and multi-product hierarchical hub location problem with fuzzy demands. Eng. Appl. Artif. Intell. 2023, 123, 106282. [Google Scholar] [CrossRef]
  19. Yıldız, B.; Yaman, H.; Karaşan, O.E. Hub Location, Routing, and Route Dimensioning: Strategic and Tactical Intermodal Transportation Hub Network Design. Transp. Sci. 2021, 55, 1351–1369. [Google Scholar] [CrossRef]
  20. Landherr, A.; Friedl, B.; Heidemann, J. A critical review of centrality measures in social networks. Bus. Inf. Syst. Eng. 2010, 2, 371–385. [Google Scholar] [CrossRef]
  21. Rodrigues, F.A. Network centrality: An introduction. In A Mathematical Modeling Approach from Nonlinear Dynamics to Complex Systems; Springer: Berlin/Heidelberg, Germany, 2018; pp. 177–196. [Google Scholar]
  22. Malang, K.C.; Wang, S.; Phaphuangwittayakul, A.; Lv, Y.; Yuan, H.; Zhang, X. Identifying influential nodes of global terrorism network: A comparison for skeleton network extraction. Phys. A Stat. Mech. Its Appl. 2020, 545, 123769. [Google Scholar] [CrossRef]
  23. Ait Rai, K.; Machkour, M.; Antari, J. Influential nodes identification in complex networks: A comprehensive literature review. Beni-Suef Univ. J. Basic Appl. Sci. 2023, 12, 18. [Google Scholar] [CrossRef]
  24. Lai, Q.; Zhang, H.H. Analysis of identification methods of key nodes in transportation network. Chin. Phys. B 2022, 31, 068905. [Google Scholar] [CrossRef]
  25. Rhoads, D.; Rames, C.; Solé-Ribalta, A.; González, M.C.; Szell, M.; Borge-Holthoefer, J. Sidewalk networks: Review and outlook. Comput. Environ. Urban Syst. 2023, 106, 102031. [Google Scholar] [CrossRef]
  26. Li, H.; Shang, Q.; Deng, Y. A generalized gravity model for influential spreaders identification in complex networks. Chaos Solitons Fractals 2021, 143, 110456. [Google Scholar] [CrossRef]
  27. Li, Z.; Ren, T.; Ma, X.; Liu, S.; Zhang, Y.; Zhou, T. Identifying influential spreaders by gravity model. Sci. Rep. 2019, 9, 8387. [Google Scholar] [CrossRef]
  28. Mukhtar, M.F.; Abal Abas, Z.; Baharuddin, A.S.; Norizan, M.N.; Fakhruddin, W.F.W.W.; Minato, W.; Rasib, A.H.A.; Abidin, Z.Z.; Rahman, A.F.N.A.; Anuar, S.H.H. Integrating local and global information to identify influential nodes in complex networks. Sci. Rep. 2023, 13, 11411. [Google Scholar] [CrossRef] [PubMed]
  29. Chen, D.; Su, H. Identification of influential nodes in complex networks with degree and average neighbor degree. IEEE J. Emerg. Sel. Top. Circuits Syst. 2023, 13, 734–742. [Google Scholar] [CrossRef]
  30. Souravlas, S.; Sifaleras, A.; Tsintogianni, M.; Katsavounis, S. A classification of community detection methods in social networks: A survey. Int. J. Gen. Syst. 2021, 50, 63–91. [Google Scholar] [CrossRef]
  31. Miller, J.; Ting, T. EoN (Epidemics on Networks): A fast, flexible Python package for simulation, analytic approximation, and analysis of epidemics on networks. J. Open Source Softw. 2019, 4, 1731. [Google Scholar] [CrossRef]
  32. Kendall, M.G. A new measure of rank correlation. Biometrika 1938, 30, 81–93. [Google Scholar] [CrossRef]
  33. Esfandiari, S.; Fakhrahmad, S.M. Identifying influential nodes in complex networks by adjusted feature contributions and neighborhood impact. J. Supercomput. 2025, 81, 1–39. [Google Scholar] [CrossRef]
  34. Qiu, L.; Zhang, J.; Tian, X. Ranking influential nodes in complex networks based on local and global structures. Appl. Intell. 2021, 51, 4394–4407. [Google Scholar] [CrossRef]
  35. Ullah, A.; Sheng, J.; Wang, B.; Din, S.U.; Khan, N. Leveraging neighborhood and path information for influential spreaders recognition in complex networks. J. Intell. Inf. Syst. 2024, 62, 377–401. [Google Scholar] [CrossRef]
Figure 1. Process of generating regional datasets, which includes collecting location data, constructing adjacency pairs based on regional boundaries, and finally generating adjacency matrix.
Figure 1. Process of generating regional datasets, which includes collecting location data, constructing adjacency pairs based on regional boundaries, and finally generating adjacency matrix.
Algorithms 18 00356 g001
Figure 2. Comparison of Kendall’s correlation coefficient of different measures on public real networks dataset in range of β = [ 0.5 β c , 1.5 β c ] and R = 2 .
Figure 2. Comparison of Kendall’s correlation coefficient of different measures on public real networks dataset in range of β = [ 0.5 β c , 1.5 β c ] and R = 2 .
Algorithms 18 00356 g002
Figure 3. Comparison of Kendall’s correlation coefficient of different measures on the public real networks dataset in range of β = [ 0.5 β c , 1.5 β c ] and R = 3 .
Figure 3. Comparison of Kendall’s correlation coefficient of different measures on the public real networks dataset in range of β = [ 0.5 β c , 1.5 β c ] and R = 3 .
Algorithms 18 00356 g003
Figure 4. Comparison of imprecision function of different measures on public real networks dataset with β = β c and R = 2 .
Figure 4. Comparison of imprecision function of different measures on public real networks dataset with β = β c and R = 2 .
Algorithms 18 00356 g004
Figure 5. Comparison of imprecision function of different measures on public real networks dataset with β = β c and R = 3 .
Figure 5. Comparison of imprecision function of different measures on public real networks dataset with β = β c and R = 3 .
Algorithms 18 00356 g005
Figure 6. The nodes in province network with their province labels and communities.
Figure 6. The nodes in province network with their province labels and communities.
Algorithms 18 00356 g006
Figure 7. The nodes of top 20% in province network with their province labels and communities.
Figure 7. The nodes of top 20% in province network with their province labels and communities.
Algorithms 18 00356 g007
Figure 8. The nodes in the district network with their district labels and communities.
Figure 8. The nodes in the district network with their district labels and communities.
Algorithms 18 00356 g008
Figure 9. The nodes in the first community which contains the vital hubs in the network.
Figure 9. The nodes in the first community which contains the vital hubs in the network.
Algorithms 18 00356 g009
Table 1. The name, type, and description for each network in public real networks dataset.
Table 1. The name, type, and description for each network in public real networks dataset.
NetworkTypeDescription
DolphinsSocialBottlenose dolphin social interactions in New Zealand waters
USAirTransportationUndirected transportation network representing the US Air route system from 1997
EECCommunicationEuropean researchers exchange of emails
EmailCommunicationEmail communication network where users send emails and communicate with each other
EuroroadTransportationEuropean road network system spanning multiple countries
BlogsSocialA communication network of blogs
KarateSocialSocial network of friendships between 34 members of a karate club at a US university in the 1970s.
GDcitingCommunicationA network of meeting articles that appeared in 1994–2000
CeleganBiologicalCaenorhabditis elegans molecular interaction networks
Table 2. Basic properties of public real networks, including number of nodes (N), edges (E), average degree ( k ), shortest path length ( d ), clustering coefficient ( c ), and epidemic threshold ( β c ).
Table 2. Basic properties of public real networks, including number of nodes (N), edges (E), average degree ( k ), shortest path length ( d ), clustering coefficient ( c ), and epidemic threshold ( β c ).
NetworkNE k d c β c
Dolphins621595.1293.3570.2590.172
USAir332212612.8072.7380.6250.023
EEC98616,06432.5842.5870.4070.014
Email113354519.6223.6060.2200.057
Euroroad117414172.4142.4180.0170.500
Blogs122216,71427.3552.7380.3200.012
Karate34784.5882.4080.5710.148
GDciting2596404.9421.5250.2300.144
Celegan2484683.7741.5800.0710.208
Table 3. List of 77 provinces with corresponding coordinates of their central location.
Table 3. List of 77 provinces with corresponding coordinates of their central location.
OrderProvinceLatitudeLongitude
0Bangkok13.765171100.539168
1Samut Prakan13.600400100.597082
76Narathiwat6.425175101.823515
Table 4. List of 357 adjacent province pairs.
Table 4. List of 357 adjacent province pairs.
OrderOriginDestination
0BangkokSamut Prakan
1BangkokNonthaburi
357NarathiwatYala
Table 5. Adjacency matrix illustrating the connectivity between provinces such as Bangkok, Samut Prakan, and Narathiwat.
Table 5. Adjacency matrix illustrating the connectivity between provinces such as Bangkok, Samut Prakan, and Narathiwat.
BangkokSamut PrakanNarathiwat
Bangkok010
Samut Prakan100
Narathiwat000
Table 6. List of districts in Thailand along with the geographic coordinates (latitude and longitude) of their central locations.
Table 6. List of districts in Thailand along with the geographic coordinates (latitude and longitude) of their central locations.
OrderDistrict TupleLatitudeLongitude
0(Phra Nakhon, Bangkok)13.765096100.499357
1(Dusit, Bangkok)13.777345100.520936
927(Cho-airong, Narathiwat)6.225381101.811457
Table 7. Lists pairs of adjacent districts, detailing each origin-destination relationship to showcase the direct geographic or administrative connectivity between districts.
Table 7. Lists pairs of adjacent districts, detailing each origin-destination relationship to showcase the direct geographic or administrative connectivity between districts.
OrderOriginDestination
0(Mae Sariang, Mae Hong Son)(Hot, Chiang Mai)
1(Mae Sariang, Mae Hong Son)(Omkoi, Chiang Mai)
6191(Wang Sombun, Sa Kaeo)(Soi Dao, Chanthaburi)
Table 8. Adjacency matrix for districts in Thailand, where a 1 indicates direct adjacency between districts and a 0 denotes no adjacency.
Table 8. Adjacency matrix for districts in Thailand, where a 1 indicates direct adjacency between districts and a 0 denotes no adjacency.
(Phra Nakhon, Bangkok)(Dusit, Bangkok)(Cho-airong, Narathiwat)
(Phra Nakhon, Bangkok)010
(Dusit, Bangkok)100
(Cho-airong, Narathiwat)000
Table 9. Basic properties of the province and district networks in the ThaiNet dataset, including number of nodes (N), edges (E), average degree ( k ), shortest path length ( d ), clustering coefficient ( c ), and epidemic threshold ( β c ).
Table 9. Basic properties of the province and district networks in the ThaiNet dataset, including number of nodes (N), edges (E), average degree ( k ), shortest path length ( d ), clustering coefficient ( c ), and epidemic threshold ( β c ).
NetworkNE k d c β c
Province771794.6495.5860.5050.230
District92830576.58816.5940.4910.149
Table 10. The Kendall’s correlation coefficient of different measures over public real networks. Where β = β c and R = 2 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
Table 10. The Kendall’s correlation coefficient of different measures over public real networks. Where β = β c and R = 2 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
NetworkDCCCBCECDC+GGCLGIDCGM++HSGMNPICNHMHCGC
Dolphins0.82740.62600.55900.65870.87650.79630.79840.91480.85660.86610.86190.9074
USAir0.76790.80080.57580.88030.89000.74710.85170.89660.78860.80680.87210.8922
EEC0.85240.85040.72540.90420.90520.84040.85770.90070.76480.86990.89690.9058
Email0.80000.80790.64210.86340.89370.80770.85170.88730.86530.83260.89550.9067
Euroroad0.62170.59330.41730.59010.82170.77990.77290.81930.69670.76900.79440.8662
Blogs0.86030.78140.67970.85840.88890.81230.84540.89790.71690.87590.88930.9018
Karate0.78900.75050.65730.84410.81460.72260.71780.91980.86670.84770.90640.8825
GDciting0.76860.77770.55050.82630.90990.77270.84530.90510.86360.84100.90360.9241
Celegan0.72460.81820.54620.80690.86640.80220.79580.8670.86870.82250.88700.9118
Table 11. The Kendall’s correlation coefficient of different measures over public real networks. Where β = β c and R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
Table 11. The Kendall’s correlation coefficient of different measures over public real networks. Where β = β c and R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
NetworkDCCCBCECDC+ GGCLGIDCGM++HSGMNPICNHMHCGC
Dolphins0.82740.62600.55900.65870.87650.77090.79840.91480.85660.86610.86190.9000
USAir0.76790.80080.57580.88030.89000.70770.85170.89640.78860.80680.88660.8956
EEC0.85240.85040.72540.90420.90520.82260.85770.89850.76480.86990.89690.9038
Email0.80000.80790.64210.86340.89370.77700.85170.88040.86530.83260.88980.8989
Euroroad0.62170.59330.41730.59010.82170.81670.77290.83890.69670.76900.80600.8833
Blogs0.86030.78140.67970.85840.88890.79110.84540.89700.71690.87590.89490.9012
Karate0.78900.75050.65730.84410.81460.70340.71780.91260.86670.84770.89550.8982
GDciting0.76860.77770.55050.82630.90990.75930.84530.90890.86360.84100.90950.9226
Celegan0.72460.81820.54620.80690.86640.80950.79580.87760.86870.82250.90380.9137
Table 12. Imprecision function of different measures over public real networks, where R = 2 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
Table 12. Imprecision function of different measures over public real networks, where R = 2 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
NetworkDCCCBCECDC+ GGCLGIDCGM++HSGMNPICNHMHCGC
Dolphins0.10310.23220.30820.09320.10220.13260.18290.09090.08630.09080.08100.1007
USAir0.12500.12260.23580.13510.12930.13850.13890.12470.12860.12620.12750.1340
EEC0.19440.18290.25670.16810.17140.19310.17600.17640.21320.18150.17790.1683
Email0.22540.21540.27340.22080.20370.21470.22400.20380.20940.21510.20340.2030
Euroroad0.17870.30340.37500.21040.12080.15350.21760.12720.16850.14300.14370.1127
Blogs0.20930.26060.29870.20440.18360.22430.20020.19220.21320.19700.19370.1823
Karate0.08120.13170.07080.08830.07830.08760.31770.06460.08120.06350.06350.0783
GDciting0.19110.18970.36790.15120.14580.18120.14550.16000.16560.16260.14760.1484
Celegan0.21280.19150.35510.10580.10950.14710.14330.12060.14870.13740.11930.0991
Table 13. Imprecision function of different measures over public real networks, where R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
Table 13. Imprecision function of different measures over public real networks, where R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
NetworkDCCCBCECDC+GGCLGIDCGM++HSGMNPICNHMHCGC
Dolphins0.10310.23220.30820.09320.10220.13810.18290.08630.08630.09080.08100.0977
USAir0.12500.12260.23580.13510.12930.13720.13890.12470.12860.12620.12820.1340
EEC0.19440.18290.25670.16810.17140.19320.17600.17640.21320.18150.17700.1683
Email0.22540.21540.27340.22080.20370.21770.22400.20720.20940.21510.20610.2058
Euroroad0.17870.30340.37500.21040.12080.14440.21760.12380.16850.14300.13990.1091
Blogs0.20930.26060.29870.20440.18360.22490.20020.19390.21320.19700.19170.1831
Karate0.08120.13170.07080.08830.07830.08760.31770.06460.08120.06350.07880.0766
GDciting0.19110.18970.36790.15120.14580.19030.14550.15880.16560.16260.14920.1474
Celegan0.21280.19150.35510.10580.10950.16600.14330.12420.14870.13740.11510.1014
Table 14. Imprecision function average of different measures over public real networks, where R = 2 and R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
Table 14. Imprecision function average of different measures over public real networks, where R = 2 and R = 3 for a truncation radius. The measure with highest accuracy for each network is highlighted in bold and the measure with the second best is underlined.
MeasureDCCCBCECDC+GGCLGIDCGM++HSGMNPICNHMHCGC
R = 20.16900.20330.28240.15300.13830.16360.19400.14000.15720.14630.14140.1363
R = 30.16900.20330.28240.15300.13830.16660.19400.14000.15720.14630.14080.1359
Table 15. Top 10 provinces in the province network ranked by different measures.
Table 15. Top 10 provinces in the province network ranked by different measures.
RankDCCCBCECHCGC
NodeScoreNodeScoreNodeScoreNodeScoreNodeProvinceRegionScore
1140.118460.2533610.321160.27346LopburiCentral217,858.6
2280.1184580.2476550.3062180.245428Khon KaenNorth
eastern
216,276.7
3500.1184470.2460620.3046470.235718Nakhon
Ratchasima
North
eastern
200,406.2
4180.105340.2452690.2874280.228647Nakhon SawanCentral200,112.5
560.1053500.2452670.2293540.225854PhetchabunNorthern191,681.5
6470.1053560.2428500.216440.218250TakNorthern172,389.4
7400.092190.2397280.193090.18974Phra Nakhon
Si Ayutthaya
Central152,853.1
8570.0921480.2397560.1929570.188316Nakhon NayokCentral133,072.0
9540.0921180.2397580.1702160.186358Nakhon PathomCentral130,613.8
1040.0921540.2390180.163730.18229SaraburiCentral127,022.9
Table 16. Top 10 districts in the district network ranked by different measures.
Table 16. Top 10 districts in the district network ranked by different measures.
RankDCCCBCECHCGC
NodeScoreNodeScoreNodeScoreNodeScoreNodeDistrictProvinceScore
1140.02161270.08617760.272860.25376Pathum WanBangkok1.110 × 10 8
210.02053400.08547770.2695140.250314Thon BuriBangkok1.093 × 10 8
360.01941010.08527710.268110.24011DusitBangkok1.076 × 10 8
400.01831830.08517700.266700.233727Sa ThonBangkok9.467 × 10 7
5270.01837050.08497720.2653120.23283Bang RakBangkok9.421 × 10 7
6320.01731180.08477730.2638270.23170Phra NakhonBangkok9.341 × 10 7
7530.01732030.08477740.262430.229912SamphanthawongBangkok8.930 × 10 7
8120.01737090.08448440.2567170.227617Khlong SanBangkok8.745 × 10 7
9240.01732150.08418410.253170.211524Bang PhlatBangkok7.736 × 10 7
10380.01732160.08407690.2479300.198930Bang Kho LaemBangkok7.590 × 10 7
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

Tepsan, W.; Phaphuangwittayakul, A.; Sokantika, S.; Harnpornchai, N. Identifying Hubs Through Influential Nodes in Transportation Network by Using a Gravity Centrality Approach. Algorithms 2025, 18, 356. https://doi.org/10.3390/a18060356

AMA Style

Tepsan W, Phaphuangwittayakul A, Sokantika S, Harnpornchai N. Identifying Hubs Through Influential Nodes in Transportation Network by Using a Gravity Centrality Approach. Algorithms. 2025; 18(6):356. https://doi.org/10.3390/a18060356

Chicago/Turabian Style

Tepsan, Worawit, Aniwat Phaphuangwittayakul, Saronsad Sokantika, and Napat Harnpornchai. 2025. "Identifying Hubs Through Influential Nodes in Transportation Network by Using a Gravity Centrality Approach" Algorithms 18, no. 6: 356. https://doi.org/10.3390/a18060356

APA Style

Tepsan, W., Phaphuangwittayakul, A., Sokantika, S., & Harnpornchai, N. (2025). Identifying Hubs Through Influential Nodes in Transportation Network by Using a Gravity Centrality Approach. Algorithms, 18(6), 356. https://doi.org/10.3390/a18060356

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

Article Metrics

Back to TopTop