Abstract
This article presents the multilayered complex network formulation for three different supply chain network archetypes on an urban road grid and describes how 500 instances were randomly generated for each archetype. Both the supply chain network layer and the urban road network layer are directed unweighted networks. The shortest path set is calculated for each of the 1 500 experimental instances. The datasets are used to empirically explore the impact that the supply chain's dependence on the transport network has on its vulnerability in Viljoen and Joubert (2017) [1]. The datasets are publicly available on Mendeley (Joubert and Viljoen, 2017) [2].
Keywords: Multilayered complex networks, Supply chain vulnerability, Urban road networks
Specifications Table
| Subject area | Complex Network Theory, Logistics and Supply Chain Management, Transport Planning |
|---|---|
| More specific subject area | Multilayered Complex Networks, Supply Chain Vulnerability, Urban Road Networks |
| Type of data | Extensible Markup Language (XML) files, compressed. |
| How data was acquired | The 500 random instances for each of the three supply chain network archetypes were generated using the JUNG library in Java. The shortest path sets were calculated using Dijkstra's algorithm and the JUNG library in Java. |
| Data format | Raw |
| Experimental factors | N/A |
| Experimental features | The datasets were used as input to an iterative disruption simulation that explores the impact that a supply chain's dependence on the urban road network has on its vulnerability. |
| Data source location | Not applicable. Data are randomly generated. |
| Data accessibility | The data are available in this article and publicly on Mendeley[2] |
Value of the data
-
•
The dataset can be used to empirically test a number of complex network phenomena such as targeted attack & random error, spreading and synchronisation on three supply chain network archetypes layered on the urban road grid.
-
•
The shortest path sets open up opportunities for research pertaining to supply chain optimisation and city planning.
-
•
The dataset is a first example of a multilayered complex network that combines a supply chain (logical layer) with an urban road network (physical layer) and can be used as a prototype for modelling other parts of the supply chain.
1. Data
The data accompanying this article include the Extensible Markup Language (XML) files required to construct the 1500 unique multilayered complex network instances (500 instances for each of three supply chain archetypes). Each XML file contains all the information pertaining to one specific multilayered instance. It also contains the shortest path sets calculated for each instance. All datasets are publicly available from Mendeley [2]. The detailed Document Type Definition (DTD), which contains the declarations that describes the formal acceptable structure of the XML file, is available on http://www.matsim.org/files/dtd/multilayerNetwork_v1.dtd.
2. Experimental design, materials and methods
2.1. Data definitions and mathematical formulation
The generic multilayered network formulation is based on the notation presented in [3]. This formulation is then adapted for this specific scenario where one layer represents the supply chain network and the other the urban road grid.
2.2. Generic multilayered formulation
The multilayer network is a pair where is a family of individual graphs which each represent a layer of . In the generic formulation, as presented in [1], and refer to layers of such that and . The set of nodes in layer are denoted by where is the number of nodes in . The edges are denoted by . The set of interconnections between nodes in and with are defined by
Therefore the elements of are interlayer connections while elements of are the intralayer connections.
2.3. Scenario-specific formulation
As presented in [1], we adapt the generic formulation to improve readability. Indices referring to layers are superscripts instead of subscripts so as not to cause confusion with node indices. We let be the multilayered network where . The first layer represents the supply chain network where the nodes represent logistics facilities and the links represent the relationships between these facilities based on the movement of freight. This is also referred to as the logical layer. The second layer () represents the urban road network and is thus a physical layer.
In , denotes the supply chain network archetype with where is the Fully Connected (FC) network, is the Single Hub (SH) network and is the Double Hub (DH) network. The node set of is defined as:
and the edges by:
where
An FC network, , assumes that all nodes in the network are directly connected to all other nodes so that each node is directly connected to every other node by where . Fig. 1a) shows an example of with three nodes. An SH network, assumes that there is one hub node with all other nodes connecting directly to the hub but not to one another as illustrated in Fig. 1b). A DH network, , assumes that there are two hub nodes with half of the remaining nodes connected directly to the first hub and the other half connected directly to the second as illustrated in Fig. 1c). is a directed, unweighted network for all .
Fig. 1.
Examples of the three supply chain network archetypes (reproduced from [1]).
In [1] each of the supply chain network archetypes have 12 nodes (i.e. ). Therefore the Single and Double Hub archetypes both have 22 edges in and while the Fully Connected archetype has .
represents the urban road network and is a simplified grid network with 100 intersections organised in a 10 × 10 configuration as shown in Fig. 2. The node set is defined by:
and the edges by:
where
Fig. 2.

Graphic representation of the urban road grid (adapted from [1]).
This is also a directed, unweighted network and thus nodes are connected with two directed, opposite arcs, , instead of one undirected edge, . The assumption is that when a road segment in one direction fails, the associated lane in the opposite direction is not necessarily affected.
In each node is connected to four neighbours unless it is on the boundaries of the grid, in which case it is only connected to three neighbours or on the corners of the grid in which case it has only two neighbours.
2.3.1. Associating the network layers
To create an instance of the multilayered network the interlayer connections, , need to be defined. This is done by associating each node with a node . The simplifying assumption is made that every logistics facility corresponds to the intersection closest to it. Any grid node may be associated with at most one node in . The interlayer adjacency matrix is denoted by , where.
The pseudocode below (Algorithm 1) shows how the associations are randomly generated to produce .
Algorithm 1:
Random generation of
![]() |
The algorithm used to generate is similar and shown in the pseudocode below (Algorithm 2).
Algorithm 2:
Random generation of
![]() |
Finally the algorithm used to generate is slightly different as it has to constrain the assignment of nodes to hubs. The two hubs are first associated with grid nodes. Thereafter, a node is assigned to a hub if and only if the shortest path distance along from that node to the hub is less than or equal to the distance from that node to the other hub. The pseudocode below (Algorithm 3) presents the algorithm.
Algorithm 3:
Random generation of
![]() |
The experiments conducted in [1] required large samples of for each of the three archetypes.
We therefore generated 500 instances for each archetype with . We did not explicitly prevent the generation of identical as the likelihood was negligible.
The data required to reconstruct each instance is contained in an XML file. The datafile includes the following:
-
1.
Node set and edgelist of
-
2.
Node set and edgelist of ;
-
3.
The association between nodes in and ; and
-
4.
The shortest path sets unique to each instance (discussed in the next section).
A template of the .xml file structure is shown in Fig. 4.
Fig. 4.
Template of the data file structure for an instance .
2.3.2. Calculating shortest path sets
The shortest path sets of an instance of is its unique fingerprint as it is a function of the random association of to . The characteristics of these shortest path sets are examined in [1]. Apart from the fact that these sets characterise , they are computationally cumbersome to calculate. For these two reasons the sets are included in the input data.
To explain how the shortest path sets were calculated, we use the example of a Double Hub instance of with . Suppose was placed on as shown in Fig. 3a) and the shortest path had to be calculated between origin and destination as indicated. The logical shortest path on consists of three segments and is highlighted in Fig. 3b). However, freight travelling between and must make use of the road network and is therefore also constrained by . Fig. 3c) shows that there are three alternative shortest paths, each of length three, corresponding to segment one of the logical path. Similarly, there are 20 alternative paths of length six for segment two (Fig. 3d) and two alternative paths of length two for segment three (Fig. 3e). The length of the shortest path on is the sum of the lengths of the shortest paths for each segment () while the total number of shortest paths is the product of the number of paths for each segment () (Fig. 3f). The shortest path set between and in is the collection of the 120 unique path sequences and is denoted by.
Fig. 3.
Example of calculating a shortest path set on (reproduced from [1]).
Metrics pertaining to shortest path sets refer to a specific instance of , therefore the subscripts relating to the layers and supply chain archetype are dropped for simplicity's sake. Generally we define:
where is the subset of all shortest path sets between node-pairs that are directly connected in such that:
and is the subset of all the shortest path sets between node-pairs that are indirectly connected in such that:
and where is the number of alternative shortest paths between any node-pair.
Enumerating and storing for all is too cumbersome. Instead we only calculate and store . In the example of Fig. 3 that would mean we only calculate and store , and but not as this set can always be constructed from the others when required. We calculate the shortest path sets using Dijkstra's algorithm in Java.
Acknowledgements
Our gratitude to the National Research Foundation of South Africa (Grant UID: 105519) for partially funding the doctoral research that led to this article.
Footnotes
Supplementary data associated with this article can be found in the online version at 10.1007/s11067-017-9370-1.
Contributor Information
Nadia M. Viljoen, Email: nadia.viljoen@up.ac.za.
Johan W. Joubert, Email: johan.joubert@up.ac.za.
Transparency document. Supplementary material
Supplementary material
References
- 1.N.M. Viljoen and J.W. Joubert, Networks and Spatial Economics, 2017. 10.1007/s11067-017-9370-1.
- 2.J.W. Joubert and N.M. Viljoen, Multilayer complex networks, v3. Mendeley Data, 2017. Available online from 〈http://dx.doi.org/10.17632/268byhmvv5.3〉.
- 3.Boccaletti S., Bianconi G., Criado R., Del Genio C.I., Gómez-Gardeñes J., Romance M., Señdina-Nadal I., Wang Z., Zanin M. The structure and dynamics of multilayer networks. Phys. Rep. 2014;544(1):1–122. doi: 10.1016/j.physrep.2014.07.001. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Supplementary material






