기본 정보
- 저자
- DOI
- 10.3390/s18113912
- 저널
- Sensors
- 발행년도
- 2018
- 발행기관
- Multidisciplinary Digital Publishing Institute
- 피인용수
- 5
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.3390/s18113912
- 토픽
- Graphene research and applications
- OpenAlex ID
- W2900885752
평가 내용
- 관련도
- 사업분야
- 산업용 섬유 · (9) 타이어코드
- 부 분야
- –
- R&D 측면
- –
- 확신도
- –
- 근거 용어
- –
- 판단 근거
- 임베딩 유사도 기반 평가로 '산업용 섬유 > 타이어코드' 분야에 선정된 논문입니다.
- R&D 활용 포인트
- –
- 평가 입력
- –
초록
Modern supercomputers include hundreds of thousands of processors and they are thus massively parallel systems. The interconnection network of a system is in charge of mutually connecting these processors. Recently, the torus has become a very popular interconnection network topology. For example, the Fujitsu K, IBM Blue Gene/L, IBM Blue Gene/P, and Cray Titan supercomputers all rely on this topology. The pairwise disjoint-path routing problem in a torus network is addressed in this paper. This fundamental problem consists of the selection of mutually vertex disjoint paths between given vertex pairs. Proposing a solution to this problem has critical implications, such as increased system dependability and more efficient data transfers, and provides concrete implementation of green and sustainable computing as well as security, privacy, and trust, for instance, for the Internet of Things (IoT). Then, the correctness and complexities of the proposed routing algorithm are formally established. Precisely, in an n-dimensional k-ary torus ( n < k , k ≥ 5 ), the proposed algorithm connects c ( c ≤ n ) vertex pairs with mutually vertex-disjoint paths of lengths at most 2 k ( c − 1 ) + n ⌊ k / 2 ⌋ , and the worst-case time complexity of the algorithm is O ( n c 4 ) . Finally, empirical evaluation of the proposed algorithm is conducted in order to inspect its practical behavior.
본문 74,967자
본문 펼치기
# _sensors_
_Article_
## Torus Pairwise Disjoint-Path Routing †
Antoine Bossard <sup>1,</sup> * and Keiichi Kaneko <sup>2</sup>
1 Graduate School of Science, Kanagawa University, Kanagawa 259-1293, Japan
2 Graduate School of Engineering, Tokyo University of Agriculture and Technology, Tokyo 184-8588, Japan;
k1kaneko@cc.tuat.ac.jp
* Correspondence: abossard@kanagawa-u.ac.jp
- This paper is an extended version of our paper: Bossard, A.; Kaneko, K. On the torus pairwise disjoint-path
routing problem. In Proceedings of the 18th IEEE International Conference on Computer and Information
Technology (CIT), Halifax, NS, Canada, 30 July–3 August 2018; pp. 1739–1746.
[���������](http://www.mdpi.com/1424-8220/18/11/3912?type=check_update&version=1)
Received: 27 September 2018; Accepted: 3 November 2018; Published: 13 November 2018 [�������](http://www.mdpi.com/1424-8220/18/11/3912?type=check_update&version=1)
Abstract: Modern supercomputers include hundreds of thousands of processors and they are thus
massively parallel systems. The interconnection network of a system is in charge of mutually connecting
these processors. Recently, the torus has become a very popular interconnection network topology.
For example, the Fujitsu K, IBM Blue Gene/L, IBM Blue Gene/P, and Cray Titan supercomputers all
rely on this topology. The pairwise disjoint-path routing problem in a torus network is addressed
in this paper. This fundamental problem consists of the selection of mutually vertex disjoint
paths between given vertex pairs. Proposing a solution to this problem has critical implications,
such as increased system dependability and more efficient data transfers, and provides concrete
implementation of green and sustainable computing as well as security, privacy, and trust, for instance,
for the Internet of Things (IoT). Then, the correctness and complexities of the proposed routing
algorithm are formally established. Precisely, in an _n_ -dimensional _k_ -ary torus ( _n_ _<_ _k_, _k_ _≥_ 5),
the proposed algorithm connects _c_ ( _c ≤_ _n_ ) vertex pairs with mutually vertex-disjoint paths of lengths
at most 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_, and the worst-case time complexity of the algorithm is _O_ ( _nc_ <sup>4</sup> ). Finally,
empirical evaluation of the proposed algorithm is conducted in order to inspect its practical behavior.
Keywords: parallel processing; interconnect; system dependability; fault tolerance; algorithm
1. Introduction
Since the development of parallel supercomputers, the number of included processors has been
continuously rising. The hardware component that is responsible for the connection of processors is
the interconnection network (a.k.a., interconnect). Hypercubes [1] were a popular topology for the
interconnection network of massively parallel systems in the eighties. Intel developed, for instance,
the iPSC supercomputer series, with the iPSC/1 device connecting 32 to 128 cores: the iPSC/d5 is
based on a five-dimensional hypercube, hence connecting 2 <sup>5</sup> = 32 cores; the iPSC/6 is based on a
six-dimensional hypercube, hence connecting 64 cores, and the iPSC/d7 128 cores. A similar approach
was followed by the nCUBE company that built, for example, the nCUBE 10 device, which is based on
a 10-dimensional hypercube, hence connecting 1024 cores.
Nowadays, machines of the megaFLOPs era, such as the nCUBE, have been replaced by ones
featuring a computing power of several petaFLOPs, and with even the exaFLOP barrier possibly
being reached as soon as 2020 by the Cray company [2]. Regarding the number of processors
embodied, modern massively parallel systems rely on hundreds of thousands of them. One step
ahead, the Sunway TaihuLight supercomputer, ranked world number one in June 2017 and second
as of June 2018 [3], includes more than one million cores. Considering this very large number of
processors, it is easy to understand that data communication efficiency and interconnection networks
_Sensors_ 2018, _18_ [, 3912; doi:10.3390/s18113912](http://dx.doi.org/10.3390/s18113912) [www.mdpi.com/journal/sensors](http://www.mdpi.com/journal/sensors)
_Sensors_ 2018, _18_, 3912 2 of 16
in general are critical to achieving the highest computing performance. Indeed, in the case of
suboptimal core interconnection and data transfers, bottleneck situations would inevitably arise,
inducing underused cores.
Just as complete networks are not practical as interconnection networks of massively parallel
systems given the prohibitively high number of edges per processor induced, hypercubes are no more
a solution considering the number of nodes involved. Precisely, the vertex degree in the case of a
hypercube becomes rapidly impractical as _n_ edges per vertex are required for the hypercube to connect,
in total, 2 <sup>_n_</sup> vertices. As a result, various topologies designed for interconnection networks have been
introduced. For example, Li et al. proposed the dual-cube [4] and metacube [5] topologies, both based
on hypercubes. The star-graph [6] is another topology example, this time based on permutations, which
was used to introduce other topologies, such as burnt pancake graphs [7].
Topologies based on meshes [8] are another solution for interconnection networks. One of these,
the torus topology [9], is addressed in this paper. Thanks to a simple definition and an advantageous
network order compared with, for instance, hypercubes, the torus network topology is very popular as
interconnect of supercomputers. Indeed, numerous machines listed in the TOP500 world ranking are
based on the torus topology. For example, the Fujitsu K (Tofu interconnect [10,11]), IBM Blue Gene/L,
IBM Blue Gene/P, and Cray Titan (Gemini interconnect [12]) supercomputers [3]. The main topological
properties of tori and those of various other interconnection networks are given in Table 1. In this table,
the network cost is the product of network degree by network diameter.
Table 1. Comparing torus topological properties with other popular interconnection networks [9].
Network Order Degree Diameter Cost Links
( _n_, _k_ )-torus _k_ <sup>_n_</sup> 2 _n_ _n⌊k_ /2 _⌋_ 2 _n_ <sup>2</sup> _⌊k_ /2 _⌋_ _nk_ <sup>_n_</sup>
_n_ -hypercube 2 <sup>_n_</sup> _n_ _n_ _n_ <sup>2</sup> 2 <sup>_n_</sup> _n_
_n_ -dual-cube 2 <sup>2</sup> <sup>_n−_</sup> <sup>1</sup> _n_ 2 _n_ 2 _n_ <sup>2</sup> 2 <sup>2</sup> <sup>_n−_</sup> <sup>2</sup> _n_
_n_ -star graph _n_ ! _n −_ 1 _⌊_ 3( _n −_ 1)/2 _⌋_ ( _n −_ 1) _⌊_ 3( _n −_ 1)/2 _⌋_ _n_ !( _n −_ 1)/2
( _k_, _m_ )-metacube 2 <sup>2</sup> <sup>_km_</sup> <sup>+</sup> <sup>_k_</sup> _m_ + _k_ 2 <sup>_k_</sup> ( _m_ + 1) 2 <sup>_k_</sup> ( _m_ + 1)( _m_ + _k_ ) 2 <sup>2</sup> <sup>_km_</sup> <sup>+</sup> <sup>_k−_</sup> <sup>1</sup> ( _m_ + _k_ )
In this paper, the torus pairwise disjoint-path routing problem is addressed. This critical data
communication problem consists of the selection of mutually vertex-disjoint paths between several
vertex pairs. As detailed next, this problem has numerous applications. Disjoint-path routing in general
is a very desirable property for routing algorithms, and this is for several reasons. First, disjoint-path
routing enables simultaneous data transfers over the network, and for that, without the need to
change switching patterns inside routers, on the one hand optimizing data transfer performance, and,
on the other hand, reducing network usage time. While the former consequence has obvious positive
implications, the latter thus induces concrete implementation of energy-harvesting communications
and networks, which contents green and sustainable computing [13,14], with applications, for instance,
to the Internet of Things (IoT) and cyber–physical systems. In addition, path disjointness enforced at
the hardware level with circuit switching means that an optimum degree of privacy is achieved as
a data transfer is never interrupted by another transmission. This research thus directly addresses
the issues of security, privacy, and trust for the IoT. Second, disjoint-path routing importantly ensures
that the notorious blocking situations of parallel processing, deadlocks, livelocks and starvations,
never occur, thus facilitating, for instance, distributed data processing in sensor applications. Third,
not only efficiency but, by selecting disjoint paths, system dependability is also significantly increased.
Effectively, where multiple nondisjoint paths could be rendered useless by a single faulty vertex
(i.e., the faulty vertex is common to several paths), disjoint paths are much more robust: one faulty
vertex can jeopardize, at most, one path, since any vertex of the network is included in at most one of
the selected paths. Such robustness has positive implications regarding, for instance, the quality of
experience and service in the IoT and cyber–physical systems.
_Sensors_ 2018, _18_, 3912 3 of 16
In an arbitrary _c_ -connected graph _G_ ( _V_, _E_ ), the existence of _c_ disjoint paths for each of the
node-to-node disjoint paths, the node-to-set disjoint paths, and the set-to-set disjoint paths problems are
ensured by Menger’s theorem [15]. In fact, disjoint paths can be obtained by applying the maximum-flow
algorithm assigning unit capacity to each of the edges and the vertices. For _c_ pairs of vertices in arbitrary
graph _G_ ( _V_, _E_ ), the problem whether there are _c_ disjoint paths between the _c_ pairs is NP complete if _c_ is a
variable of the problem input [16]. For any fixed _c_, the problem can be solved in _O_ ( _|V|_ <sup>3</sup> ) [17] though it
is still a hard problem.
Due to higher complexity, the pairwise disjoint-path routing problem is typically addressed last
after introducing algorithms that solve the unicast (a.k.a., point-to-point, one-to-one, or node-to-node),
node-to-node disjoint-path, node-to-set disjoint-path and set-to-set disjoint-path routing problems.
In an _n_ -dimensional _k_ -ary torus, a node-to-node routing algorithm has been described in Reference [18]
and with fault tolerance in Reference [19], the latter selecting paths of lengths at most _n⌊k_ /2 _⌋_ + 1, with
a worst-case time complexity of _O_ ( _k_ <sup>2</sup> ). A node-to-set disjoint-path routing algorithm in a torus has
also been described in Reference [19], with paths of lengths at most _n⌊k_ /2 _⌋_ + 1, and a worst-case time
complexity of _O_ ( _k_ <sup>3</sup> ). A torus set-to-set disjoint-path routing algorithm has been given in Reference [20],
with paths of lengths at most 2( _k_ + 1) _n_, and a worst-case time complexity of _O_ ( _kn_ <sup>3</sup> + _n_ <sup>3</sup> log _n_ ).
As for different topologies, Gu and Peng described a pairwise disjoint-path routing algorithm in
a hypercube [21] and in a star-graph [22]. Bossard and Kaneko solved the same problem in perfect
hierarchical hypercubes [23], as did Sawada et al. in pancake graphs [24], and Park focused on restricted
hypercube-like graphs [25]. The approach in this paper to select mutually vertex-disjoint paths is,
as used in several previous works, to rely on the recursive structure of a torus. Precisely, in an
_n_ -dimensional _k_ -ary torus, given _c_ ( _c ≤_ _n_ ) vertex pairs, the algorithm proposed here selects _c_ mutually
vertex-disjoint paths of lengths at most 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_ with a worst-case time complexity of _O_ ( _nc_ <sup>4</sup> ).
Related research on disjoint-path routing can be found in Reference [26] where it is applied to
data-center networks. Close to disjoint-path routing, independent spanning tree construction has
been researched, for instance, in Möbius cubes in [27]. Other related works include the calculation
of various topological values of the network topology, such as topological indices [28] and the
least eigenvalue [29].
The rest of this paper is organized as follows. Definitions, notations and intermediary results are
established in Section 2. The proposed routing algorithm is described in Section 3 and exemplified
in Section 4. The proof of the algorithm correctness, including the fact that the selected paths are
disjoint, is given in Section 5, which relies on lemmas proved in Section 2. Complexities are formally
established in Section 6 and the proposed algorithm is empirically verified and evaluated in Section 7.
Finally, this paper is concluded in Section 8.
2. Preliminaries
For the sake of clarity, a vertex pair (in this paper, typically a source-destination vertex pair),
denoted by ( _u_, _v_ ), can be considered as the set _{u_, _v}_ . For vertex _u_, define set _N_ ( _u_ ) as the set of the
neighbor vertices of _u_ .
In a graph, a path _p_ is an alternate sequence of vertices and links _u_ 1, ( _u_ 1, _u_ 2), _u_ 2, . . ., ( _un−_ 1, _un_ ), _un_ .
Path _p_ can be similarly written as _u_ 1 _→_ _u_ 2 _→_ . . . _→_ _un_ and abbreviated as _u_ 1 _;_ _un_ when explicit
mention of the vertices between _u_ 1 and _un_ is not required. The length of a path is defined as its number
of links, hence _p_ has length _n −_ 1. Two paths are mutually vertex-disjoint (simply _disjoint_ hereinafter)
if and only if they have no vertex in common.
Definition 1 ([8]) . _An n-dimensional k-ary torus, denoted by (n, k)-torus, is an undirected graph made of the_
_k_ <sup>_n_</sup> _vertices induced by the set {_ 0, 1, . . ., _k −_ 1 _}_ <sup>_n_</sup> _._ _Two vertices a_ = ( _a_ 1, _a_ 2, . . ., _an_ ) _and b_ = ( _b_ 1, _b_ 2, . . ., _bn_ ) _of an_
_(n, k)-torus are adjacent if and only if ∃j_ (1 _≤_ _j ≤_ _n_ ), _∀i_ (1 _≤_ _i ≤_ _n_, _i̸_ = _j_ ), _ai_ = _bi_, _aj_ = ( _bj ±_ 1) mod _k._
_Sensors_ 2018, _18_, 3912 4 of 16
Thus, a vertex of an ( _n_, _k_ )-torus is an _n_ -dimensional vector. Therefore, two vertices of an
( _n_, _k_ )-torus can be compared (i.e., equality testing) in linear _O_ ( _n_ ) time, by simply going through
each of all the _n_ coordinates of the two vertices. A (2, 4)-torus is illustrated in Figure 1.
(0, 3) (1, 3) (2, 3) (3, 3)
(0, 2) (1, 2) (2, 2) (3, 2)
(0, 1) (1, 1) (2, 1) (3, 1)
<u>(0, 0)</u> <u>(1, 0)</u> <u>(2, 0)</u> (3, 0)
Figure 1. A two-dimensional four-ary torus, with vertex addresses in the top right-hand corner of
each vertex [9].
An ( _n_, _k_ )-torus is a recursive topology: for one dimension _δ_ (1 _≤_ _δ_ _≤_ _n_ ), it consists of
_k_ ( _n −_ 1, _k_ )-tori (called _subtori_ ). For instance, considering the horizontal dimension of the (2, 4)-torus of
Figure 1, that is the dimension _δ_ = 1, this torus consists of four (1, 4)-tori: these subtori appear vertically
in the figure. It is said that a path goes through a subtorus _T_ if and only if it includes a vertex of _T_ .
Next, operator _γ_ is defined for convenient vertex coordinate manipulation. In an ( _n_, _k_ )-torus,
for a vertex _u_ = ( _u_ 1, _u_ 2, . . ., _un_ ) and a dimension _δ_ (1 _≤_ _δ_ _≤_ _n_ ), let _γ_ ( _u_, _δ_ ) denote the _δ_ coordinate of
vertex _u_ . For instance, _γ_ ( _u_,4) = _u_ 4. This definition is extended to subtori: let _γ_ ( _T_, _δ_ ) denote the _δ_
coordinate of subtorus _T_ . For instance, considering the torus of Figure 1 and the dimension _δ_ = 1,
we have _γ_ ( _T_, _δ_ ) = 0 where _T_ is the leftmost subtorus (i.e., _T_ consists of the vertices (0, 0), (0, 1), (0, 2)
and (0,3)). Therefore, for dimension _δ_, a subtorus _T_ can be unambiguously specified by the value
of _γ_ ( _T_, _δ_ ).
Then, still considering vertex _u_ and dimension _δ_, candidate paths and the corresponding path sets
for traversing the dimension _δ_ are defined as follows. Note that these paths specify how to traverse a
dimension, thus remaining “open” (i.e., with a start vertex, but no end vertex) for the sake of simplicity.
Definition 2. _Given_ _two_ _vertices_ _a_ = ( _a_ 1, _a_ 2, . . ., _an_ ) _and_ _b_ = ( _b_ 1, _b_ 2, . . ., _bn_ ) _of_ _an_ _(n,_ _k)-torus,_
_define_ _a ⊕_ _b_ = (( _a_ 1 + _b_ 1) mod _k_, ( _a_ 2 + _b_ 2) mod _k_, . . ., ( _an_ + _bn_ ) mod _k_ ) _and_ _a ⊖_ _b_ = (( _a_ 1 _−_ _b_ 1) mod
_k_, ( _a_ 2 _−_ _b_ 2) mod _k_, . . ., ( _an −_ _bn_ ) mod _k_ ) _._
Definition 3. _n unit vectors ei (_ 1 _≤_ _i ≤_ _n) are defined as_ ( _u_ 1, _u_ 2, . . ., _un_ ) _where uj_ = 0 _(_ 1 _≤_ _j ≤_ _n, i̸_ = _j) and_
_ui_ = 1 _._
First, define the path:
_p_ <sup>+</sup> ( _u_, _δ_ ) : _u →_ _u ⊕_ _eδ_ _→_ ( _u ⊕_ _eδ_ ) _⊕_ _eδ_ _→_ . . .
which can be similarly written as _u →_ ( _u_ 1, _u_ 2, . . ., ( _uδ_ + 1) mod _k_, . . ., _un_ ) _→_ ( _u_ 1, _u_ 2, . . ., ( _uδ_ + 2) mod
_k_, . . ., _un_ ) _→_ . . .
Next, define the two path sets:
_P_ 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) :</sup> �1 _≤i≤n_
_i̸_ = _δ_
_u →_ _u ⊕_ _ei_ _→_ ( _u ⊕_ _ei_ ) _⊕_ _eδ_ _→_ (( _u ⊕_ _ei_ ) _⊕_ _eδ_ ) _⊕_ _eδ_ _→_ . . .,
_u →_ _u ⊖_ _ei_ _→_ ( _u ⊖_ _ei_ ) _⊕_ _eδ_ _→_ (( _u ⊖_ _ei_ ) _⊕_ _eδ_ ) _⊕_ _eδ_ _→_ . . .
_Sensors_ 2018, _18_, 3912 5 of 16
and
_u →_ _u ⊕_ _ei_ _→_ ( _u ⊕_ _ei_ ) _⊕_ _ei_ _→_ (( _u ⊕_ _ei_ ) _⊕_ _ei_ ) _⊕_ _eδ_
_→_ ((( _u ⊕_ _ei_ ) _⊕_ _ei_ ) _⊕_ _eδ_ ) _⊕_ _eδ_ _→_ . . .,
_u →_ _u ⊖_ _ei_ _→_ ( _u ⊖_ _ei_ ) _⊖_ _ei_ _→_ (( _u ⊖_ _ei_ ) _⊖_ _ei_ ) _⊕_ _eδ_
_→_ ((( _u ⊖_ _ei_ ) _⊖_ _ei_ ) _⊕_ _eδ_ ) _⊕_ _eδ_ _→_ . . .
_P_ 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) :</sup> �1 _≤i≤n_
_i̸_ = _δ_
Path _p_ <sup>_−_</sup> ( _u_, _δ_ ) and path sets _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>are</sup> <sup>defined</sup> <sup>similarly</sup> <sup>but</sup> <sup>with</sup> <sup>_⊖_</sup> <sup>_eδ_</sup> <sup>instead</sup> <sup>of</sup>
_⊕_ _eδ_ (details in the appendix). In other words, path _p_ <sup>+</sup> ( _u_, _δ_ ) (resp. _p_ <sup>_−_</sup> ( _u_, _δ_ )) makes no detour when
traversing dimension _δ_, while the paths of _P_ 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) (resp.</sup> <sup>_P_</sup> 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)) make a</sup>
Path _p_ <sup>_−_</sup> ( _u_, _δ_ ) and path sets _P_ 1 <sup>_−_</sup>
traversing dimension _δ_, while the paths of _P_ 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) (resp.</sup> <sup>_P_</sup> 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)) make a</sup>
detour of one and two links, respectively.
- _p_ <sup>+</sup> ( _u_, _δ_ )
- _p_ <sup>_−_</sup> ( _u_, _δ_ )
- _∪_ _P_ 1+ <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup>
- _∪_ _P_ 1 _−_ <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup>
and
Finally, define the two path sets:
_P_ <sup>+</sup> ( _u_, _δ_ ) =
_P_ <sup>_−_</sup> ( _u_, _δ_ ) =
The paths of _P_ <sup>+</sup> ( _u_, _δ_ ) and _P_ <sup>_−_</sup> ( _u_, _δ_ ) in the case of a (3, 5)-torus are illustrated in Figure 2, where _δ_
is the dimension used to distinguish subtori.
_~~<u>u</u>~~_
_~~<u>u</u>~~_
_~~<u>u</u>~~_
( a )
( b )
( c )
Figure 2. Considered paths (represented by arrows) for traversing the subtori of a (3, 5)-torus from the
vertex _u_ . ( a ) _p_ <sup>_−_</sup> ( _u_, _δ_ ), _p_ <sup>+</sup> ( _u_, _δ_ ), ( b ) _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and (</sup> <sup>c</sup> <sup>)</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>).</sup>
For the sake of conciseness, for torus vertex _u_ and dimension _δ_, paths _p_ <sup>+</sup> ( _u_, _δ_ ) and _p_ <sup>_−_</sup> ( _u_, _δ_ ),
as well as path sets _P_ 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are abbreviated to</sup> <sup>_p_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> <sup>1(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and</sup>
_P_ 2( _u_, _δ_ ), respectively, when no ambiguity arises.
Next, a torus point-to-point routing algorithm is recalled. Unicast routing in a torus can be
achieved simply with a dimension-order routing algorithm. A dimension-order routing algorithm for
packet forwarding in two dimensional meshes is presented by Duato et al. [8]. It can be easily adjusted
for routing in an _n_ -dimensional torus as listed in Algorithm 1. The maximum length of a path selected
by this algorithm between any two vertices is thus _n⌊k_ /2 _⌋_ .
To conclude this section, we introduce two essential lemmas on which the algorithm proposed in
this paper is based (Section 3).
Lemma 1. _In an (n, k)-torus (n ≥_ 2 _, k ≥_ 5 _), given c ≤_ _n vertex pairs_ ( _si_, _di_ ) _satisfying {si_, _di} ∩{sj_, _dj}_ = ∅
_(_ 1 _≤_ _i_, _j ≤_ _c, i̸_ = _j) with thus si_ = _di_ _allowed, and one subtorus T on a dimension δ (_ 1 _≤_ _δ ≤_ _n), disjoint paths_
_(at the exception that the paths for si_ _and di_ _(_ 1 _≤_ _i ≤_ _c) need not be disjoint) that route each of all vertices si_, _di_
_to T can be found in O_ ( _nc_ <sup>2</sup> ) _time._ _Maximum path length is k_ + 1 _._
_Sensors_ 2018, _18_, 3912 6 of 16
<u>Algorithm 1:</u> <u>Point-to-point simple routing in a torus with a dimension-order routing algorithm.</u>
Input : Source vertex _s_ = ( _s_ 1, _s_ 2, . . ., _sn_ ) and destination vertex _d_ = ( _d_ 1, _d_ 2, . . ., _dn_ ) of an
( _n_, _k_ )-torus.
Output : A shortest path _s ; d_ .
_R_ := _s_ ; // Result initial value (path of length 0).
_u_ := _s_ ;
for _i_ := 1 to _n_ do
∆ := _di −_ _si_ ;
if (∆ _<_ 0 AND _|_ ∆ _| <_ _k_ /2) OR (∆ _>_ 0 AND _|_ ∆ _| >_ _k_ /2) then
_⊙_ := _⊖_ ; // Define _⊙_ as the _⊖_ operation.
else
_⊙_ := _⊕_ ; // Define _⊙_ as the _⊕_ operation.
end
while _γ_ ( _u_, _i_ ) _̸_ = _di_ do
_u_ := _u ⊙_ _ei_ ;
_R_ := _R →_ _u_ ; // One link added to the path.
end
end
return _R_ ;
Proof. First, assume without loss of generality that _si_ is to be routed to _T_, and that _γ_ ( _si_, _δ_ ) _≤_ _γ_ ( _T_, _δ_ ).
The same discussion holds for _di_ and for the case _γ_ ( _si_, _δ_ ) _>_ _γ_ ( _T_, _δ_ ). We show that there always remains
at least one path of _P_ <sup>+</sup> ( _si_, _δ_ ) that is not blocked by another source vertex, destination vertex or their
respective paths towards _T_ .
First, the paths of _P_ <sup>+</sup> ( _si_, _δ_ ) consist of shortest path _p_ <sup>+</sup> ( _si_, _δ_ ), and of the two sets _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>and</sup>
_P_ 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>).</sup> <sup>The paths of these two sets are not disjoint:</sup> <sup>a neighbor</sup> <sup>_u_</sup> <sup>of</sup> <sup>_si_</sup> <sup>is included in one single path</sup>
of each of the two path sets. Hence, if _u_ = _sj_ ( _i̸_ = _j_ ), two candidate paths are blocked by one single
vertex ( _sj_ ). The reason for considering _P_ 1 and _P_ 2 paths is that vertex _di_ can indirectly block a candidate
path for _si_ . Effectively, _di_ may trigger the selection of a non-shortest path for a vertex _sj_ towards _T_
( _i̸_ = _j_ ), and thus in total _di_ and _sj_ each block one path for _si_ . See Figure 3.
Vertex _di_ on its own is not a blocker for _si_ . Thus, we consider the case where _di_ is an indirect
blocker through vertex say _sj_ .
So, by considering the paths of _P_ 1 and _P_ 2, we ensure that either there remains one of the two
paths, ( _si_ _→_ _u →_ . . .) _∈_ _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and (</sup> <sup>_si_</sup> <sup>_→_</sup> <sup>_u →_</sup> <sup>. . .)</sup> <sup>_∈_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) that is not blocked by</sup> <sup>_di_</sup> <sup>,</sup> <sup>_sj_</sup> <sup>, or, if not,</sup>
First, the paths of _P_ <sup>+</sup> ( _si_, _δ_ ) consist of shortest path _p_ <sup>+</sup> ( _si_, _δ_ ), and of the two sets _P_ 1 <sup>+</sup>
paths, ( _si_ _→_ _u →_ . . .) _∈_ _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) and (</sup> <sup>_si_</sup> <sup>_→_</sup> <sup>_u →_</sup> <sup>. . .)</sup> <sup>_∈_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) that is not blocked by</sup> <sup>_di_</sup> <sup>,</sup> <sup>_sj_</sup> <sup>, or, if not,</sup>
_di_, _sj_ block two nondisjoint paths of _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>).</sup> <sup>In the first situation, we necessarily have</sup>
_di_, _sj_ block two nondisjoint paths of _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>).</sup> <sup>In the first situation, we necessarily have</sup>
_sj_, _di_ _∈_ / _N_ ( _si_ ), thus _p_ <sup>+</sup> ( _si_, _δ_ ) and one path of _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are blocked</sup> <sup>_but_</sup> <sup>the path</sup> <sup>_si_</sup> <sup>_→_</sup> <sup>_u →_</sup> <sup>. . . of</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup>
_sj_, _di_ _∈_ / _N_ ( _si_ ), thus _p_ <sup>+</sup> ( _si_, _δ_ ) and one path of _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are blocked</sup> <sup>_but_</sup> <sup>the path</sup> <sup>_si_</sup> <sup>_→_</sup> <sup>_u →_</sup> <sup>. . . of</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup>
remains unblocked. In the second situation, two nondisjoint paths are blocked by _di_, _sj_ ; thus, _di_, _sj_
count as one blocker for _si_ (they block only one of the _disjoint_ candidate paths). Therefore, it is sound
to assume that _di_ does not count as a blocker for _si_ .
At the exception of _di_, each of all 2( _n −_ 1) other blockers for _si_ (i.e., ( _S ∪_ _D_ ) _\ {si_, _di}_ ) can
block at most one of the disjoint candidate paths. In total, it is possible to select 2( _n −_ 1) + 1
disjoint paths from _si_ to _T_ (i.e., considering the candidate paths _{p_ <sup>+</sup> ( _si_, _δ_ ) _} ∪_ _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)).</sup>
Therefore, considering that at most 2( _n −_ 1) of these disjoint paths are blocked, there always remain
[2( _n −_ 1) + 1] _−_ 2( _n −_ 1) = 1 path to route _si_ to _T_ . See Figure 4.
At the exception of _di_, each of all 2( _n −_ 1) other blockers for _si_ (i.e., ( _S ∪_ _D_ ) _\ {si_, _di}_ ) can
block at most one of the disjoint candidate paths. In total, it is possible to select 2( _n −_ 1) + 1
disjoint paths from _si_ to _T_ (i.e., considering the candidate paths _{p_ <sup>+</sup> ( _si_, _δ_ ) _} ∪_ _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>_∪_</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)).</sup>
Maximum path length would be obtained if _si_ is routed to _T_ with a path of _P_ 2, hence of length
( _k −_ 1) + 2 = _k_ + 1. To route _si_ to _T_, we first enumerate the paths of _{p_ <sup>+</sup> ( _si_, _δ_ ) _} ∪_ _P_ 1 <sup>+(</sup> <sup>_si_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) (starting</sup>
with _p_ <sup>+</sup> ( _si_, _δ_ )). If all are blocked, it means that _di_ is an (indirect) blocker, thus inducing the check of
at most one path of _P_ 2 (i.e., if the first checked path of _P_ 2 is blocked, the second one will always do).
_Sensors_ 2018, _18_, 3912 7 of 16
Hence, the worst-case time complexity to route _si_ to _T_ is _O_ ( _nc_ ), and, in total, _O_ ( _nc_ <sup>2</sup> ) is required to
route all vertices _si_, _di_ (1 _≤_ _i ≤_ _c_ ) to _T_ .
_<u>sj</u>_
_di_
_<u>si</u>_
Figure 3. Vertex _di_ can be indirectly a blocker for vertex _si_ (selected paths in blue) [9].
_<u>sl</u>_
_<u>si</u>_
_<u>si</u>_
_<u>sj</u>_
_<u>sj</u>_
Figure 4. A vertex of ( _S ∪_ _D_ ) _\ {si_, _di}_ can block at most one of the disjoint candidate paths for a vertex
_si_ (selected paths in blue) [9].
Lemma 2. _In_ _an_ _(n,_ _k)-torus_ _(n_ _≥_ 3 _,_ _k_ _≥_ 5 _),_ _given_ 3 _≤_ _c_ _≤_ _n_ _vertex_ _pairs_ ( _si_, _di_ ) _satisfying_
_{si_, _di} ∩{sj_, _dj}_ = ∅ _(_ 1 _≤_ _i_, _j_ _≤_ _c, i̸_ = _j) with thus si_ = _di_ _allowed, and two subtori T_, _T_ <sup>_′_</sup> _on a dimension_
_δ (_ 1 _≤_ _δ ≤_ _n), disjoint paths (at the exception that the paths for si_ _and di_ _(_ 1 _≤_ _i ≤_ _c) need not be disjoint) that_
_route the vertices of one pair to T_ <sup>_′_</sup> _without going through T and the vertices of the other pairs to T without going_
_through T_ <sup>_′_</sup> _can be found in O_ ( _nc_ <sup>2</sup> ) _time._ _Maximum path length is k._
Proof. Assume that, given the pair ( _si_, _di_ ) routed to _T_ <sup>_′_</sup>, there exists vertex _sj_ ( _i̸_ = _j_ ) that cannot be
disjointly routed to _T_ without going through _T_ <sup>_′_</sup>, that is, each of all candidate paths to _T_ for _sj_ as per
Lemma 1 are blocked. See Figure 5. If such a vertex _sj_ does not exist, all vertices _st_, _dt_ (1 _≤_ _t ≤_ _c_, _t̸_ = _i_ )
can be routed to _T_ provided that if there exists a unique pair ( _sj_, _dj_ ) ( _j̸_ = _i_ ) with 3 disjoint candidate
paths to _T_ without going through _T_ <sup>_′_</sup> blocked by the paths for ( _si_, _di_ ) it is routed first to _T_, (i.e., before all
the other pairs ( _st_, _dt_ ) (1 _≤_ _t ≤_ _c_, _t̸_ = _i_, _t̸_ = _j_ )), and there is thus nothing to prove.
For _sj_ to be fully blocked, vertex _si_ or _di_ ( _i̸_ = _j_ ) needs to be on dimension _δ_, that is, blocking path
_p_ ( _sj_, _δ_ ). By definition of the candidate paths (see Lemma 1), this vertex _si_ or _di_ is the only one that
can block two candidate paths for _sj_, as all the other vertices _sl_, _dl_ ( _l̸_ = _j_, _l̸_ = _i_ ) can block, at most, one
candidate path for _sj_ . Hence, the 2( _n −_ 1) + 1 candidate paths for _sj_ are blocked by at least 2( _n −_ 1)
vertices _si_ or _di_ ( _i̸_ = _j_ ). In other words, for vertex _sj_ to be fully blocked, vertex _si_ or _di_ _needs_ to be
on _p_ ( _sj_, _δ_ ), the unique direct path to _T_ for _sj_ . Since at least 2( _n −_ 1) vertices _si_ or _di_ are required to
fully block _sj_, it means that one of these 2( _n −_ 1) blockers blocks _p_ ( _sj_, _δ_ ) in addition to one of the
two candidate paths for _sj_ on another dimension, say _α_ ( _α̸_ = _δ_ ). All other 2( _n −_ 1) _−_ 1 blockers are
positioned 2 per dimension _β_ ( _β̸_ = _δ_, _β̸_ = _α_ ), at the exception of one blocker that is on the dimension
_α_ (on the other side of _sj_ compared with the blocker that blocks two paths at once for _sj_ ). Hence,
there exists one unique such vertex of _S ∪_ _D_ (here _sj_ ) that is not routable to _T_ .
So, for a vertex _sj_ to be fully blocked, _T ∩_ ( _S ∪_ _D_ ) = ∅ is induced, otherwise it would mean that
at least one pair vertex needs not be routed at all (i.e., a path of zero length will do for that vertex),
and, thus, all other vertices can be routed to _T_, _T_ <sup>_′_</sup> by Lemma 1.
Furthermore, since _c ≥_ 3, either there exists a pair ( _st_, _dt_ ) with _{st_, _dt} ⊂_ _N_ ( _sj_ ) that can be routed to
_T_ <sup>_′_</sup> without going through _T_ (in place of the pair ( _si_, _di_ )) with the paths _p_ ( _st_, _δ_ ) and _p_ ( _dt_, _δ_ ) (see Figure 6a).
Or, if _dj_ blocks one of these two paths, the pair ( _sj_, _dj_ ) can be routed to _T_ <sup>_′_</sup> without going through _T_ (in
_Sensors_ 2018, _18_, 3912 8 of 16
place of the pair ( _si_, _di_ )) with the paths _p_ ( _sj_, _δ_ ) and _p_ ( _dj_, _δ_ ) (see Figure 6b). Because of the uniqueness
of such a vertex _sj_ not routable to _T_, we have shown that it is possible to disjointly route one pair to _T_ <sup>_′_</sup>
and the other pairs to _T_ .
Considering the two subtori _T_ and _T_ <sup>_′_</sup>, the value of _|γ_ ( _T_, _δ_ ) _−_ _γ_ ( _T_ <sup>_′_</sup>, _δ_ ) _|_ is at most _k −_ 1. Given that
the pair vertices are to be routed towards _T_ (resp. _T_ <sup>_′_</sup> ) not going through _T_ <sup>_′_</sup> (resp. _T_ ), and by Lemma 1,
the maximum path length is ( _k −_ 2) + 2 = _k_ .
Regarding time complexity, pair vertices can be routed to _T_ and _T_ <sup>_′_</sup> as follows. Let ( _si_, _di_ ) be the
pair routed to _T_ <sup>_′_</sup> . By Lemma 1, this takes _O_ ( _nc_ ) time. If either _si_ or _di_ blocks a path _p_ ( _u_, _δ_ ) for _u_ a vertex
of a pair ( _sj_, _dj_ ) (1 _≤_ _j ≤_ _c_, _j̸_ = _i_ ), do as follows, and otherwise each of all pairs except the one routed
to _T_ <sup>_′_</sup> is routed to _T_ with a path as per Lemma 1 that does not go through _T_ <sup>_′_</sup> . Check if _u_ is routable to _T_
with a path as per Lemma 1 that does not go through _T_ <sup>_′_</sup> ; this takes _O_ ( _nc_ ) time. If _u_ is routable to _T_,
starting with the pair ( _sj_, _dj_ ), each of all pairs except ( _si_, _di_ ) is routed to _T_ with a path as per Lemma 1
that does not go through _T_ <sup>_′_</sup> . If _u_ not routable to _T_, discard the paths for ( _si_, _di_ ) to _T_ <sup>_′_</sup> and instead route
an arbitrary pair ( _st_, _dt_ ) ( _t̸_ = _i_, _t̸_ = _j_ ) to _T_ <sup>_′_</sup> with the paths _p_ ( _st_, _δ_ ), _p_ ( _dt_, _δ_ ) not going through _T_, with the
possibility that _dj_ blocks ( _st_, _dt_ ) when routed to _T_ <sup>_′_</sup>, in which case it is the pair ( _sj_, _dj_ ) that is routed to
_T_ <sup>_′_</sup>, with the paths _p_ ( _sj_, _δ_ ), _p_ ( _dj_, _δ_ ) not going through _T_ . Each of all pairs except the one routed to _T_ <sup>_′_</sup> is
routed to _T_ with a path as per Lemma 1 that does not go through _T_ <sup>_′_</sup> . Hence, the induced total time
complexity is that of Lemma 1: _O_ ( _nc_ <sup>2</sup> ).
_T_ <sup>_′_</sup> _T_
_st_ _si_
_<u>di</u>_ _α_
_sj_
6- _δ_
_dt_ �
_sj_
_<u>di</u>_
_β_ �
Figure 5. Illustration of the case _n_ = _c_ = 3 with the pair ( _si_, _di_ ) blocking 3 paths for the pair ( _sj_, _dj_ )
when routed to the subtorus _T_ <sup>_′_</sup> . Vertex _sj_ is not routable to subtorus _T_ without going through _T_ <sup>_′_</sup> .
(Dimension names are given on the right for reference.)
_T_ <sup>_′_</sup> _T_
_T_ <sup>_′_</sup> _T_
_dj_
_st_
_st_
_dj_
_si_
_si_
_sj_ _di_
_<u>dt</u>_
( a )
_di_
_dt_
_<u>sj</u>_
( b )
Figure 6. Illustration of the case _n_ = _c_ = 3 with the pair ( _si_, _di_ ) blocking 3 paths for the pair ( _sj_, _dj_ )
when routed to the subtorus _T_ <sup>_′_</sup> . Vertex _sj_ is not routable to the subtorus _T_ . ( a ) Pair ( _st_, _dt_ ) is routed to
_T_ <sup>_′_</sup> in place of ( _si_, _di_ ). ( b ) Pair ( _st_, _dt_ ) is not routable to _T_ <sup>_′_</sup> (because of _dj_ ), so pair ( _sj_, _dj_ ) is routed to _T_ <sup>_′_</sup>
in place of ( _si_, _di_ ).
3. Routing Algorithm
In an ( _n_, _k_ )-torus ( _n <_ _k_, _k ≥_ 5), given _c_ pairs ( _si_, _di_ ) (1 _≤_ _i ≤_ _c ≤_ _n_ ) satisfying _{si_, _di} ∩{sj_, _dj}_ =
∅ (1 _≤_ _i_, _j_ _≤_ _c_, _i̸_ = _j_ ); thus, _si_ = _di_ allowed, this problem consists in finding a path connecting each
( _si_, _di_ ) pair (1 _≤_ _i ≤_ _c_ ), and such that the selected _c_ paths are mutually vertex-disjoint. The algorithm
execution trace of a sample instance of the pairwise routing problem is given in Section 4.
First, one should note that a torus of dimension 1 (i.e., _n_ = 1) is isomorphic to a ring. Hence,
in this case, _c_ = 1, and it is trivial to connect the unique source-destination vertex pair by traversing
the ring. So, we henceforth assume that _n_ _≥_ 2. The main idea of the proposed routing algorithm is
to follow a divide-and-conquer approach by considering the ( _n_, _k_ )-torus as a _k_ -set of ( _n −_ 1, _k_ )-tori,
_Sensors_ 2018, _18_, 3912 9 of 16
connecting one source-destination pair in one such subtorus, and solving the problem recursively for
the remaining pairs in another, distinct subtorus. We proceed according to the following cases.
_3.1._ _Base Case:_ _c_ = 1
This is point-to-point routing in a torus, and thus dimension-order routing can be applied to find
a shortest path _s_ 1 _; d_ 1.
_3.2._ _General Case:_ _n ≥_ 3
Step 1 Find a subtorus _T_ <sup>_′_</sup> such that the following three conditions hold:
_∀γ_ = _{si_, _dj} ∈_ _S × D_, _i̸_ = _j_, _γ̸_ _⊂_ _T_ <sup>_′_</sup>
_̸_ <sup>_̸_</sup>
_̸_
_∀γ_ <sup>_′_</sup> = _{si_, _sj} ∈_ _S_ <sup>2</sup>, _i̸_ = _j_, _γ_ <sup>_′̸_</sup> _⊂_ _T_ <sup>_′_</sup>
_̸_ <sup>_̸_</sup>
_̸_
_∀γ_ <sup>_′′_</sup> = _{di_, _dj} ∈_ _D_ <sup>2</sup>, _i̸_ = _j_, _γ_ <sup>_′′̸_</sup> _⊂_ _T_ <sup>_′_</sup>
In other words, subtorus _T_ <sup>_′_</sup> either includes no source vertex and no destination vertex,
includes at most one source vertex and no destination vertex, includes at most one destination
vertex and no source vertex, or includes one single source vertex, say _si_, and one single
destination vertex _di_ .
The selection of subtorus _T_ <sup>_′_</sup> sets dimension _δ_ to reduce the original ( _n_, _k_ )-torus to a set of _k_
( _n −_ 1, _k_ )-subtori.
Step 2 First, source-destination pair _ρ_ is selected as follows. If _T_ <sup>_′_</sup> _∩_ ( _S ∪_ _D_ ) = ∅, any pair will do,
so select one arbitrarily, say _ρ_ = ( _si_, _di_ ) (1 _≤_ _i_ _≤_ _c_ ). If _∃i_ (1 _≤_ _i_ _≤_ _c_ ), _T_ <sup>_′_</sup> _∩_ ( _S ∪_ _D_ ) = _{si}_,
let _ρ_ = ( _si_, _di_ ). Otherwise, that is _∃i_ (1 _≤_ _i_ _≤_ _c_ ), _T_ <sup>_′_</sup> _∩_ ( _S ∪_ _D_ ) = _{di}_, let _ρ_ = ( _si_, _di_ ). In the
remaining of this section, assume without loss of generality that _ρ_ = ( _si_, _di_ ), in other words
that the source-destination pair to be connected inside _T_ <sup>_′_</sup> is ( _si_, _di_ ).
Second, considering selected pair _ρ_ = ( _si_, _di_ ), select subtorus _T_ distinct from _T_ <sup>_′_</sup>, such that
_ρ ∩_ _T_ = ∅.
Step 3 Route one source-destination pair to _T_ <sup>_′_</sup> and the other pairs towards _T_ as per Lemma 2.
Step 4 If for the pair ( _si_, _di_ ) that is routed to _T_ <sup>_′_</sup>, say with the paths _ps_ : _si_ _;_ _si_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′_</sup> <sup>and</sup> <sup>_pd_</sup> <sup>:</sup> <sup>_di_</sup> <sup>_;_</sup>
<sup>_̸_</sup>
If for the pair ( _si_, _di_ ) that is routed to _T_ <sup>_′_</sup>, say with the paths _ps_ : _si_ _;_ _si_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′_</sup> <sup>and</sup> <sup>_pd_</sup> <sup>:</sup> <sup>_di_</sup> <sup>_;_</sup>
_di_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′_</sup> <sup>, we have</sup> <sup>_U̸_</sup> <sup>=</sup> <sup>∅</sup> <sup>with</sup> <sup>_U_</sup> <sup>= (</sup> <sup>_ps ∩_</sup> <sup>_pd_</sup> <sup>)</sup> <sup>_\ T′_</sup> <sup>, consider the vertex</sup> <sup>_u ∈_</sup> <sup>_U_</sup> <sup>that is the closest</sup>
_di_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′_</sup> <sup>, we have</sup> <sup>_U̸_</sup> <sup>=</sup> <sup>∅</sup> <sup>with</sup> <sup>_U_</sup> <sup>= (</sup> <sup>_ps ∩_</sup> <sup>_pd_</sup> <sup>)</sup> <sup>_\ T′_</sup> <sup>, consider the vertex</sup> <sup>_u ∈_</sup> <sup>_U_</sup> <sup>that is the closest</sup>
to _si_ . Select the subpath _si_ _;_ _u_ of _ps_ and the subpath _di_ _;_ _u_ of _pd_, and discard the subpath
_u ; si_ <sup>_′_</sup> <sup>of</sup> <sup>_ps_</sup> <sup>and the subpath</sup> <sup>_u ; d_</sup> _i_ <sup>_′_</sup> <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Otherwise, apply the algorithm recursively in</sup> <sup>_T′_</sup> <sup>to</sup>
_u ; si_ <sup>_′_</sup> <sup>of</sup> <sup>_ps_</sup> <sup>and the subpath</sup> <sup>_u ; d_</sup> _i_ <sup>_′_</sup> <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Otherwise, apply the algorithm recursively in</sup> <sup>_T′_</sup> <sup>to</sup>
connect _si_ to _di_ .
Step 5 For each pair ( _sj_, _dj_ ) routed to _T_, say with the paths _ps_ : _sj_ _;_ _s_ <sup>_′_</sup> _j_ <sup>_∈_</sup> <sup>_T_</sup> <sup>and</sup> <sup>_pd_</sup> <sup>:</sup> <sup>_dj_</sup> <sup>_;_</sup> <sup>_d′_</sup> _j_ <sup>_∈_</sup> <sup>_T_</sup> <sup>,</sup>
_i_ <sup>_′_</sup> <sup>of</sup> <sup>_ps_</sup> <sup>and the subpath</sup> <sup>_u ; d_</sup> _i_ <sup>_′_</sup>
<sup>_′_</sup> _j_ <sup>_∈_</sup> <sup>_T_</sup> <sup>and</sup> <sup>_pd_</sup> <sup>:</sup> <sup>_dj_</sup> <sup>_;_</sup> <sup>_d′_</sup> _j_
For each pair ( _sj_, _dj_ ) routed to _T_, say with the paths _ps_ : _sj_ _;_ _s_ <sup>_′_</sup> _j_ <sup>_∈_</sup> <sup>_T_</sup> <sup>and</sup> <sup>_pd_</sup> <sup>:</sup> <sup>_dj_</sup> <sup>_;_</sup> <sup>_d′_</sup> _j_ <sup>_∈_</sup> <sup>_T_</sup> <sup>,</sup>
such that _U̸_ = ∅ with _U_ = ( _ps ∩_ _pd_ ) _\ T_, consider the vertex _u_ _∈_ _U_ that is the closest to _sj_ .
Select the subpath _sj_ _; u_ of _ps_ and the subpath _dj_ _; u_ of _pd_, and discard the subpath _u ; s_ <sup>_′_</sup> _j_
of _ps_ and the subpath _u ; d_ <sup>_′_</sup> _j_ <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Define</sup> <sup>_E_</sup> <sup>the set of all such source-destination pairs.</sup>
of _ps_ and the subpath _u ; d_ <sup>_′_</sup> _j_ <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Define</sup> <sup>_E_</sup> <sup>the set of all such source-destination pairs.</sup>
Step 6 For each source-destination pair not in _E_, apply the algorithm recursively in _T_ .
An illustration of the algorithm general case is given in Figure 7.
_3.3._ _Special Case:_ _n_ = 2 _and c_ = 2
Select subtorus _T_ <sup>_′_</sup> as in Step 1 of the general case, and deduce a pair _ρ_ as in Step 2 of the general
case. Route pair _ρ_ to _T_ <sup>_′_</sup> without going through _T_, and the other pair to _T_ with at most one possible
path going through _T_ <sup>_′_</sup> (this may require exchanging the roles of _T_ and _T_ <sup>_′_</sup> as explained in the proof of
correctness below).
For each of the two pairs ( _si_, _di_ ) (1 _≤_ _i_ _≤_ 2), if the selected paths _ps_ : _si_ _;_ _si_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′ ∪_</sup> <sup>_T_</sup> <sup>and</sup>
_pd_ : _di_ _; di_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′ ∪_</sup> <sup>_T_</sup> <sup>are not disjoint, that is both include a same vertex</sup> <sup>_u_</sup> <sup>, discard the subpath</sup> <sup>_u ; s_</sup> _i_ <sup>_′_</sup>
of _ps_ and the subpath _u_ _;_ _di_ <sup>_′_</sup> <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Otherwise, complete the connection of</sup> <sup>_si_</sup> <sup>to</sup> <sup>_di_</sup> <sup>by traversing the</sup>
For each of the two pairs ( _si_, _di_ ) (1 _≤_ _i_ _≤_ 2), if the selected paths _ps_ : _si_ _;_ _si_ <sup>_′_</sup>
_i_ <sup>_′_</sup> <sup>_∈_</sup> <sup>_T′ ∪_</sup> <sup>_T_</sup> <sup>are not disjoint, that is both include a same vertex</sup> <sup>_u_</sup> <sup>, discard the subpath</sup> <sup>_u ; s_</sup> _i_ <sup>_′_</sup>
_i_ <sup>_′_</sup> <sup>of</sup> <sup>_pd_</sup> <sup>.</sup> <sup>Otherwise, complete the connection of</sup> <sup>_si_</sup> <sup>to</sup> <sup>_di_</sup> <sup>by traversing the</sup>
_Sensors_ 2018, _18_, 3912 10 of 16
subtorus of _si_ <sup>_′_</sup>
subtorus of _si_ <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> _i_ <sup>_′_</sup> <sup>.</sup> <sup>The subtori</sup> <sup>_T′_</sup> <sup>,</sup> <sup>_T_</sup> <sup>are 1-dimensional and thus isomorphic to a ring.</sup> <sup>It is thus trivial to</sup>
connect _si_ <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> _i_ <sup>_′_</sup> <sup>, possibly avoiding one vertex.</sup>
_i_ <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> _i_ <sup>_′_</sup>
_i_ <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> _i_ <sup>_′_</sup>
_i_ <sup>_′_</sup> <sup>, possibly avoiding one vertex.</sup>
_k_ subtori induced by the dimension _δ_
. . .
_sj_
_s_ <sup>_′_</sup> _j_
_dj_
_si_ _si_ <sup>_′_</sup>
_di_ <sup>_′_</sup>
dimension _δ_
_di_
_T_ _T_ <sup>_′_</sup>
Figure 7. Disjointly connecting one source-destination pair inside subtorus _T_ <sup>_′_</sup> and the other pairs
inside subtorus _T_ [9].
4. Execution Trace Example
In this section, considering the following disjoint pairwise routing problem instance, a possible
execution trace of the proposed routing algorithm is detailed. In a (4, 5)-torus, let _S_ = _{s_ 1 = (2,1, 0,4),
_s_ 2 = (0, 2, 1, 2), _s_ 3 = (2, 4, 0, 2), _s_ 4 = (4, 4, 4, 1) _}_, _D_ = _{d_ 1 = (0,0, 4,4), _d_ 2 = (3, 2, 0, 2), _d_ 3 = (0,4, 0,3),
_d_ 4 = (0,4, 0,2) _}_ and _{_ ( _s_ 1, _d_ 1), ( _s_ 2, _d_ 2), ( _s_ 3, _d_ 3), ( _s_ 4, _d_ 4) _}_ be the set of vertex pairs to be disjointly
connected. Algorithm steps such as subtorus and subpath selection are given in Table 2. The torus
arity, here _k_ = 5, never changes and does thus not appear in the table.
Table 2. A possible algorithm execution trace in a (4, 5)-torus and the four vertex pairs _{_ ( _s_ 1, _d_ 1),
( _s_ 2, _d_ 2), ( _s_ 3, _d_ 3), ( _s_ 4, _d_ 4) _}_ where _S_ = _{s_ 1 = (2, 1, 0, 4), _s_ 2 = (0, 2, 1, 2), _s_ 3 = (2, 4, 0, 2), _s_ 4 = (4, 4, 4, 1) _}_
and _D_ = _{d_ 1 = (0, 0, 4, 4), _d_ 2 = (3, 2, 0, 2), _d_ 3 = (0, 4, 0, 3), _d_ 4 = (0, 4, 0, 2) _}_ .
_n_ Pairs _δ_ _γ_ ( _T_ <sup>_′_</sup> , _δ_ ) _γ_ ( _T_ , _δ_ ) Selected paths to _T_ <sup>_′_</sup>
3
_d_ 3 _→_ (4, 4, 0, 3) _→_ (3, 4, 0, 3) = _d_ 3 <sup>_′_</sup>
_s_ 2 _→_ (4, 2, 1, 2) _→_ (3, 2, 1, 2) = _s_ 2 <sup>_′_</sup>
_d_ <u>2</u>
_s_ 1 _→_ (1, 1, 0, 4) = _s_ 1 <sup>_′_</sup>
_d_ <u>1</u> _→_ (1, 0, 4, 4) = _d_ <u>1</u> <sup>_′_</sup>
Selected paths to _T_
_s_ 4 _→_ (3, 4, 4, 1) = _s_ 4 <sup>_′_</sup>
4
_d_ 4 _→_ (0, 3, 0, 2) _→_ (4, 3, 0, 2) _→_ (3, 3, 0, 2) = _d_ 4 <sup>_′_</sup>
_s_ 3 _→_ (3, 4, 0, 2) = _s_ 3 <sup>_′_</sup>
4
( _s_ 1, _d_ 1),
( _s_ 2, _d_ 2),
( _s_ 3, _d_ 3),
( _s_ 4, _d_ 4)
1 1 3
Path completion in _T_ <sup>_′_</sup> : _s_ <u>1</u> <sup>_′_</sup> <sup>_→_</sup> <sup>(1, 0, 0, 4)</sup> <sup>_→_</sup> <sup>_d_</sup> <u>1</u> <sup>_′_</sup> <sup>.</sup>
_n_ Pairs _δ_ _γ_ ( _T_ <sup>_′_</sup> , _δ_ ) _γ_ ( _T_ , _δ_ ) Selected paths to _T_ <sup>_′_</sup>
( _s_ 2 <sup>_′_</sup>
3 ( _s_ 3 <sup>_′_</sup>
( _s_ 2 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> <sup>2),</sup>
( _s_ 3 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> 3 <sup>_′_</sup> <sup>),</sup>
_s_ 3 <sup>_′_</sup>
( _s_ 3 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> 3 <sup>_′_</sup> <sup>),</sup>
( _s_ 4 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> 4 <sup>_′_</sup> <sup>)</sup>
3 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> 3 <sup>_′_</sup> <sup>),</sup> 2 0 1
4 <sup>_′_</sup> <sup>,</sup> <sup>_d_</sup> 4 <sup>_′_</sup> <sup>)</sup>
_s_ 2 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 1, 2)</sup> <sup>_→_</sup> <sup>(3, 4, 1, 2)</sup> <sup>_→_</sup> <sup>(3, 0, 1, 2) =</sup> <sup>_s_</sup> 2 <sup>_′′_</sup>
_d_ <u>2</u> _→_ (3, 2, 4, 2) _→_ (3, 3, 4, 2) _→_ (3, 4, 4, 2) _→_ (3, 0, 4, 2) = _d_ <u>2</u> <sup>_′_</sup>
Selected paths to _T_
_s_ 3 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 4, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 3, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 2, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 1, 0, 3) =</sup> <sup>_s_</sup> 3 <sup>_′′_</sup>
_d_ 3 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 2, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 1, 0, 3) =</sup> <sup>_d_</sup> 3 <sup>_′′_</sup>
_d_ 3 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 2, 0, 3)</sup> <sup>_→_</sup> <sup>(3, 1, 0, 3) =</sup> <sup>_d_</sup> 3 <sup>_′′_</sup>
_s_ 4 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 4, 1)</sup> <sup>_→_</sup> <sup>(3, 2, 4, 1)</sup> <sup>_→_</sup> <sup>(3, 1, 4, 1) =</sup> <sup>_s_</sup> 4 <sup>_′′_</sup>
_s_ 4 <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 4, 1)</sup> <sup>_→_</sup> <sup>(3, 2, 4, 1)</sup> <sup>_→_</sup> <sup>(3, 1, 4, 1) =</sup> <sup>_s_</sup> 4 <sup>_′′_</sup>
_d_ <u>4</u> <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 0, 1)</sup> <sup>_→_</sup> <sup>(3, 2, 0, 1)</sup> <sup>_→_</sup> <sup>(3, 1, 0, 1) =</sup> <sup>_d_</sup> <u>4</u> <sup>_′′_</sup>
_d_ <u>4</u> <sup>_′_</sup> <sup>_→_</sup> <sup>(3, 3, 0, 1)</sup> <sup>_→_</sup> <sup>(3, 2, 0, 1)</sup> <sup>_→_</sup> <sup>(3, 1, 0, 1) =</sup> <sup>_d_</sup> <u>4</u> <sup>_′′_</sup>
Path completion in _T_ <sup>_′_</sup> : _s_ <u>2</u> <sup>_′′_</sup> <sup>_→_</sup> <sup>(3, 0, 0, 2)</sup> <sup>_→_</sup> <sup>_d_</sup> <u>2</u> <sup>_′_</sup> <sup>, and en route to</sup> <sup>_T_</sup> <sup>:</sup> <sup>_s_</sup> <u>3</u> <sup>_′_</sup> <sup>_→_</sup> <sup>_d_</sup> <u>3</u> <sup>_′_</sup> <sup>.</sup>
<u>2</u> <sup>_′′_</sup> <sup>_→_</sup> <sup>(3, 0, 0, 2)</sup> <sup>_→_</sup> <sup>_d_</sup> <u>2</u> <sup>_′_</sup> <sup>, and en route to</sup> <sup>_T_</sup> <sup>:</sup> <sup>_s_</sup> <u>3</u> <sup>_′_</sup> <sup>_→_</sup> <sup>_d_</sup> <u>3</u> <sup>_′_</sup> <sup>.</sup>
_n_ Pairs Selected path
2 ( _s_ <u>4</u> <sup>_′′_</sup>
<u>4</u> <sup>_′′_</sup> <sup>,</sup> <sup>_d_</sup> <u>4</u> <sup>_′′_</sup> <sup>)</sup> _s_ <u>4</u> <sup>_′′_</sup>
<u>4</u> <sup>_′′_</sup> <sup>_→_</sup> <sup>_d_</sup> <u>4</u> <sup>_′′_</sup> (base case _c_ = 1: dimension-order routing)
_Sensors_ 2018, _18_, 3912 11 of 16
5. Proof of Correctness
First, dimension-order routing is applied in the base case of the recursion when there is one
single source-destination pair. As recalled in Section 2, this process consists in traversing the torus one
dimension after the other, concretely for each dimension _δ_ starting from source vertex _δ_ coordinate
and traversing dimension _δ_ until reaching destination vertex _δ_ coordinate. This common algorithm is
trivially correct.
For Step 1, it is required to show the existence of a subtorus _T_ <sup>_′_</sup> . Along an arbitrary dimension
_δ_, there are _k_ ( _k >_ _n_ ) subtori _Ti_ (0 _≤_ _i ≤_ _k −_ 1). Amongst them, if there is a subtorus _Ti∗_ that satisfies
_|_ ( _S ∪_ _D_ ) _∩_ _Ti∗_ _| ≤_ 1, we can select it as _T_ <sup>_′_</sup> . Now, let us assume that such a subtorus _Ti∗_ does not exist.
Then, because _|_ ( _S ∪_ _D_ ) _∩_ _Ti| ≥_ 2 (0 _≤_ _i ≤_ _k −_ 1), we have ∑ _i_ <sup>_k_</sup> = <sup>_−_</sup> 0 <sup>1</sup> <sup>_|_</sup> <sup>(</sup> <sup>_S ∪_</sup> <sup>_D_</sup> <sup>)</sup> <sup>_∩_</sup> <sup>_Ti| ≥_</sup> <sup>2</sup> <sup>_k >_</sup> <sup>2</sup> <sup>_n_</sup> <sup>.</sup> <sup>This induces</sup>
_|S ∪_ _D| >_ 2 _n_, which is a contradiction. Hence, _Ti∗_ always exists.
For Step 2, the existence of pair _ρ_ is trivial. Regarding the existence of a subtorus _T̸_ _⊃_ _ρ_, it is
recalled that the selection of _T_ <sup>_′_</sup> fixes dimension _δ_ inducing subtori. Therefore, on the one hand,
excluding _T_ <sup>_′_</sup>, there remain _k −_ 1 candidate subtori for _T_ . On the other hand, selected pair _ρ_ = ( _si_, _di_ )
induces at most two additional unavailable subtori for _T_ (i.e., if _si_, _di_ in the same subtorus, only
1 additional unavailable subtorus is induced, and zero additional unavailable subtorus is induced if
_ρ ⊂_ _T_ <sup>_′_</sup> ). Hence, there remain at least _k −_ 3 available subtori for _T_ . Since _k ≥_ 5, we have _k −_ 3 _≥_ 2.
The feasibility of Step 3 is proved by Lemma 2. For Step 4, at most one source-destination pair is
to be connected recursively inside _T_ <sup>_′_</sup> . Since _n ≥_ 3, the dimension of _T_ <sup>_′_</sup> is at least 2, and the problem can
thus be solved recursively in _T_ <sup>_′_</sup> (this is the base case _c_ = 1 of the algorithm). In Steps 4 and 5, the two
paths to the appropriate subtorus, say _T_, for a pair ( _sj_, _dj_ ) are checked for the inclusion of a common
vertex outside _T_ . The only case for such a common vertex to exist is when the two paths are in the
same direction (i.e., both taken either from _P_ <sup>+</sup> or _P_ <sup>_−_</sup> ), otherwise this would mean that the common
vertex is in _T_ . Hence, the common vertex outside _T_ that is the closest to _sj_ is also the closest to _dj_ .
For Step 6, because one path is connected inside _T_ <sup>_′_</sup> (or on the way to _T_ <sup>_′_</sup> ), the number of paths
to select recursively in _T_ is at most _c −_ 1 _≤_ _n −_ 1. Since _T_ is of dimension _n −_ 1, the problem can be
solved recursively inside _T_ .
Finally, regarding the second base case of the recursion, the special case _c_ = 2, _n_ = 2, two
source-destination pairs need to be connected inside a (2, _k_ )-torus. Each of these two pairs is connected
in a distinct subtorus. The existence of the two subtori _T_ and _T_ <sup>_′_</sup> has already been shown previously for
the general case.
The vertices of pair _ρ_, say ( _s_ 1, _d_ 1), are first routed to _T_ <sup>_′_</sup> without going through _T_ . Since _k_ _≥_ 5,
there always remains at least one path disjoint with the vertices ( _s_ 2, _d_ 2) of the other pair to route ( _s_ 1, _d_ 1)
towards _T_ <sup>_′_</sup> . For the second pair ( _s_ 2, _d_ 2), the paths of ( _s_ 1, _d_ 1) to _T_ <sup>_′_</sup> may fully block (i.e., not routable
as per Lemma 1 to _T_ without going through _T_ <sup>_′_</sup> ) one or both vertices of ( _s_ 2, _d_ 2). If one single vertex
of ( _s_ 2, _d_ 2), say _u_, is fully blocked, route _u_ towards _T_ by going through _T_ <sup>_′_</sup> with the path _q_ : _p_ ( _u_, _δ_ ) to
_T_ through _T_ <sup>_′_</sup> . This path _q_ always remains unblocked since, for _u_ to be fully blocked to _T_, one vertex
of ( _s_ 1, _d_ 1), say _v_, is on _p_ ( _u_, _δ_ ) to _T_, blocking two candidate paths to _T_ for _u_, and the other vertex is
in _N_ ( _u_ ), precisely the neighbor of _u_ that is opposite to the neighbor of _u_ that is included in the path
to _T_ <sup>_′_</sup> for _v_ . Hence, path _p_ ( _u_, _δ_ ) to _T_ through _T_ <sup>_′_</sup> is always disjoint with the paths to _T_ <sup>_′_</sup> selected for
( _s_ 1, _d_ 1). Since with the selection of _s_ 2, _d_ 2 _∈_ / _T_ <sup>_′_</sup>, and by the selection of the path _q_, subtorus _T_ <sup>_′_</sup> includes
one single vertex of the path _q_ . See Figure 8a. If both vertices of ( _s_ 2, _d_ 2) are fully blocked by the
paths to _T_ <sup>_′_</sup> for ( _s_ 1, _d_ 1), it means that ( _T ∪_ _T_ <sup>_′_</sup> ) _∩_ ( _S ∪_ _D_ ) = ∅ and that _s_ 2, _d_ 2 are blocking both _p_ ( _s_ 1)
and _p_ ( _d_ 1) towards _T_ . Hence, route instead ( _s_ 2, _d_ 2) to _T_ <sup>_′_</sup> (with _p_ ( _s_ 2, _δ_ ), _p_ ( _d_ 2, _δ_ ) to _T_ <sup>_′_</sup> ) and ( _s_ 1, _d_ 1) to _T_
(with _p_ ( _s_ 1, _δ_ ), _p_ ( _d_ 1, _δ_ ) to _T_ ). See Figure 8b.
The two subtori _T_, _T_ <sup>_′_</sup> are one-dimensional, that is, isomorphic to a ring. It is thus trivial to
complete the connection of each of the two pairs inside their respective subtori, even if there is one
vertex to be avoided in subtorus _T_ <sup>_′_</sup> : either the clockwise or counter-clockwise ring traversal will do.
_Sensors_ 2018, _18_, 3912 12 of 16
_T_ <sup>_′_</sup> _T_
_d_ 1 _d_ <u>2</u>
_T_ <sup>_′_</sup> _T_
_s_ 1
_d_ 2
_<u>s</u>_ <u>2</u>
(a)
_s_ 1
_s_ 2
(b)
_d_ 1
Figure 8. Illustration of the case _n_ = _c_ = 2 with the pair ( _s_ 1, _d_ 1) originally selected to be routed to _T_ <sup>_′_</sup> .
( a ) The vertex _s_ 2 is fully blocked to _T_ if not going through _T_ <sup>_′_</sup> . ( b ) Both _s_ 2, _d_ 2 are fully blocked to _T_ :
( _s_ 2, _d_ 2) is routed instead to _T_ <sup>_′_</sup>, and ( _s_ 1, _d_ 1) to _T_ .
6. Complexities
Let function _T_ ( _c_, _n_ ) represent the time complexity of the proposed algorithm in an ( _n_, _k_ )-torus
with _c_ source-destination pairs ( _c ≤_ _n_ ). And, let the function _L_ ( _c_, _n_ ) represent the maximum length of
a path selected by the algorithm inside an ( _n_, _k_ )-torus with _c_ source-destination pairs ( _c ≤_ _n_ ).
The base case _c_ = 1 of the recursion induces the selection of a path with a dimension-order routing
algorithm, thus inducing an _O_ ( _nk_ ) time complexity and a maximum path length of _n⌊k_ /2 _⌋_ . Hence,
_T_ (1, _n_ ) = _O_ ( _nk_ ) and _L_ (1, _n_ ) = _n⌊k_ /2 _⌋_ .
For Step 1, subtorus _T_ <sup>_′_</sup> is selected. A subtorus is selectable as _T_ <sup>_′_</sup> if the stated three conditions hold.
The first condition can be checked by iterating the source and destination vertices, testing inclusion
inside the current subtorus. Testing vertex inclusion in a subtorus is achieved by checking the vertex
coordinate for each dimension, inducing then an _O_ ( _n_ ) time complexity. Hence, the first condition
is checked for one subtorus in _O_ ( _nc_ <sup>2</sup> ) time. Checking the second and third conditions induces the
same time complexity. Therefore, since for an arbitrary dimension _δ_ at most _c_ subtori are unavailable
as _T_ <sup>_′_</sup>, it is needed to check at most _c_ subtori for the three conditions, thus inducing an _O_ ( _nc_ <sup>3</sup> ) total
time complexity.
For Step 2, selecting the pair _ρ_ is done by iterating each source-destination pair, each time testing
the inclusion of the pair source and destination vertices inside _T_ <sup>_′_</sup> . A total time complexity of _O_ ( _cn_ )
is thus induced. The time complexity of Step 3 is directly induced by Lemma 2: _O_ ( _nc_ <sup>2</sup> ). For Step 4,
the two paths to _T_ <sup>_′_</sup> are checked similarly, which thus induces an _O_ ( _nk_ ) time complexity. In addition,
if these two paths do not collide, the pair connection is completed in an ( _n −_ 1, _k_ )-torus, thus inducing
an _O_ ( _nk_ ) time complexity. For Step 5, the two paths to _T_ for each pair are checked for inclusion of
a common vertex. The paths for one pair are thus checked in _O_ ( _nk_ ) time. Hence, all pair paths are
checked in _O_ ( _cnk_ ) time. For Step 6, time complexity is _T_ ( _c −_ 1, _n −_ 1).
In the special case _n_ = 2, _c_ = 2, two subtori _T_, _T_ <sup>_′_</sup> are selected as in Step 1 of the general case,
thus inducing an _O_ (1) time complexity. The selection of the paths for the two pairs may require
checking all the candidate paths as per Lemma 1, thus inducing an _O_ ( _n_ ) time complexity. An additional
_O_ ( _nk_ ) is required to check whether the selected pair paths are disjoint. Finally, routing inside
one-dimensional subtori is possible, checking whether the selected path includes the vertex to avoid
( _O_ (1)), thus being _O_ ( _k_ ) time. Hence, in total, this special case is _O_ ( _nk_ ) time. The maximum path length
is obtained when _k_ links are taken to route both the source and destination vertices to the designated
subtorus, and with _k −_ 1 links for routing inside one-dimensional subtori, thus in total 3 _k −_ 1.
The above discussion can be summarized in the following theorem.
Theorem 1. _In an (n, k)-torus (n_ _<_ _k, k_ _≥_ 5 _), given c (_ 1 _≤_ _c_ _≤_ _n) vertex pairs_ ( _si_, _di_ ) _(all pair vertices are_
_distinct, yet si_ = _di_ _is acceptable), it is possible to select c mutually vertex-disjoint paths si_ _; di_ _(_ 1 _≤_ _i ≤_ _c) of_
_lengths at most_ 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_ _in O_ ( _nc_ <sup>4</sup> ) _time._
Proof. A path of maximum length could be selected as follows: each recursive step induces _k_ links
to route the source vertex to the designated subtorus, _k_ links to route the destination vertex to the
_Sensors_ 2018, _18_, 3912 13 of 16
designated subtorus, and this until reaching a base case, either _c_ = 1 with a path of _n⌊k_ /2 _⌋_ links
selected by dimension-order routing, or _n_ = 2, _c_ = 2 with two paths each of length at most 3 _k −_ 1.
This is summarized with the following recursive expression:
_L_ (1, _n_ ) = _n⌊k_ /2 _⌋_ .
_L_ (2, 2) = 3 _k −_ 1.
_L_ ( _c_, _n_ ) = 2 _k_ + _L_ ( _c −_ 1, _n −_ 1).
Hence, the maximum path length is max _{_ 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_, 2 _k_ ( _c −_ 2) + (3 _k −_ 1) _}_, which is
equal to 2 _k_ ( _c −_ 2) + 3 _k −_ 1 if _n_ = 1 and to 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_ otherwise, given that _k ≥_ 5. However,
since in the _n_ = 1 case we have, on the one hand, _c_ = 1 and, on the other hand, _L_ (1, 1) = _⌊k_ /2 _⌋_,
the maximum path length can be expressed as 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_ for any _n_ .
The total worst-case time complexity is given by the following recursive expression:
_T_ (1, _n_ ) = _O_ ( _nk_ ).
_T_ (2, 2) = _O_ ( _nk_ ).
_T_ ( _c_, _n_ ) = _O_ ( _nc_ <sup>3</sup> ) + _T_ ( _c −_ 1, _n −_ 1).
Hence, the total time complexity of the proposed routing algorithm is _O_ ( _nc_ <sup>4</sup> ).
7. Empirical Evaluation
We have implemented the algorithm proposed in this paper in order to realize its empirical
evaluation, and especially to inspect its practical behavior: how the algorithm performs in average.
The computer used for this experiment was equipped with an Intel Core i5-7300U CPU (clocked at
2.60 GHz), 8 GB RAM and ran Windows 10 64-bit.
By using this computer implementation, we have repetitively and automatically solved a large
number of random instances of the pairwise disjoint-path routing problem in a torus. Precisely, in an
( _n_, max _{_ 5, _n_ + 1 _}_ )-torus, we have solved for each value of _n_ (2 _≤_ _n_ _≤_ 7) a total of 10,000 random
routing problem instances. For each of these instances, the correctness of the selected paths has
been checked (e.g., path disjointness), and the maximum length of the selected paths was stored.
Then, for each value of _n_, the average of the stored maximum path lengths for this value of _n_ was
computed. Hence, our results include for each _n_ both the maximum and the average of the obtained
10,000 maximum path lengths. The number of vertex pairs was set to _c_ = _n_ to maximize the routing
difficulty. For each _n_, the maximum and average of the maximum path lengths are given in Figure 9;
the theoretical upper bound on the maximum path length is also given for reference.
Then, we have measured the average execution time for one problem instance: see Figure 10;
the worst-case time complexity is also plotted for reference.
Regarding maximum path lengths, one can first note that there is some distance between the
theoretical upper bound on the maximum path length and the obtained results. This is a good indicator
of the efficiency of the proposed algorithm, especially given that for small values of _n_ the upper bound
is almost tight on the maximum path length. Regarding time complexity, it can be observed from
the obtained results that the average performance of the algorithm is significantly better than the
theoretical worst-case time complexity.
_Sensors_ 2018, _18_, 3912 14 of 16
120
100
80
60
40
20
0
maximum length
average maximum length
theoretical maximum length
1 2 3 4 5 6 7 8
torus dimension n
Figure 9. Empirical evaluation: maximum and average maximum (with standard deviation) path
lengths of paths selected by the proposed algorithm in an ( _n_, max _{_ 5, _n_ + 1 _}_ )-torus.
1
0.8
0.6
0.4
0.2
0
average execution time
0.0001 × nc <sup>4</sup>
1 2 3 4 5 6 7 8
torus dimension n
Figure 10. Empirical evaluation: average execution time to solve one problem instance with the
proposed algorithm in an ( _n_, max _{_ 5, _n_ + 1 _}_ )-torus.
8. Conclusions
The torus topology is very popular for the interconnection network of massively parallel systems
such as the modern supercomputers Fujitsu K, IBM Blue Gene/L, IBM Blue Gene/P, and Cray Titan.
In this paper, an algorithm that solves the pairwise disjoint-path routing problem in a torus has been
proposed. This routing problem consists in the selection of mutually vertex-disjoint paths between
given vertex pairs, and it is critical to maximize system dependability and data communication
efficiency. We have then formally shown that in an _n_ -dimensional _k_ -ary torus, for _c_ ( _c_ _≤_ _n_ ) vertex
_Sensors_ 2018, _18_, 3912 15 of 16
pairs, the described algorithm selects disjoint paths of lengths at most 2 _k_ ( _c −_ 1) + _n⌊k_ /2 _⌋_ with a
worst-case time complexity of _O_ ( _nc_ <sup>4</sup> ). Furthermore, the practical behavior of the proposed algorithm
has been inspected by conducting computer experiments, showing that performance on average was
significantly better than the established formal worst-case complexities.
As for future works, it will be meaningful to investigate whether the theoretical maximum path
length is attainable, and if not, try to refine it. For example, this might be achieved by more wisely
selecting the subtori used for disjoint routing. Even though the selection of subtorus _T_ <sup>_′_</sup> may not leave
many options, the selection of subtorus _T_ that was used to solve the problem recursively could be
done such that shorter paths to route pair vertices to _T_ are selected.
Author Contributions: Conceptualization, A.B. and K.K.; Formal analysis, A.B. and K.K.; Investigation, A.B. and
K.K.; Methodology, A.B. and K.K.; Software, A.B.
Funding: This research was partly supported by a Grant-in-Aid for Scientific Research (C) of the Japan Society for
the Promotion of Science under Grant no. 17K00093.
Acknowledgments: The authors sincerely thank the reviewers for their insightful comments and suggestions.
Conflicts of Interest: The authors declare no conflicts of interest.
Appendix A. Additional Details of Candidate Paths
In an ( _n_, _k_ )-torus, given vertex _u_ = ( _u_ 1, _u_ 2, . . ., _un_ ) and dimension _δ_ (1 _≤_ _δ_ _≤_ _n_ ), path _p_ <sup>_−_</sup> ( _u_, _δ_ )
and path sets _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are defined similarly to</sup> <sup>_p_</sup> <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>), and</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>), respectively,</sup>
and path sets _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are defined similarly to</sup> <sup>_p_</sup> <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup> <sup>_P_</sup> 1 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>), and</sup> <sup>_P_</sup> 2 <sup>+(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>), respectively,</sup>
as described in Section 2. The formal definitions of the path _p_ <sup>_−_</sup> ( _u_, _δ_ ) and the path sets _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup>
as described in Section 2. The formal definitions of the path _p_ <sup>_−_</sup> ( _u_, _δ_ ) and the path sets _P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>),</sup>
_P_ 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are given below.</sup>
2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>) are given below.</sup>
_p_ <sup>_−_</sup> ( _u_, _δ_ ) : _u →_ _u ⊖_ _eδ_ _→_ ( _u ⊖_ _eδ_ ) _⊖_ _eδ_ _→_ . . .
_P_ 1 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>:</sup> �1 _≤i≤n_
_i̸_ = _δ_
_u →_ _u ⊕_ _ei_ _→_ ( _u ⊕_ _ei_ ) _⊖_ _eδ_ _→_ (( _u ⊕_ _ei_ ) _⊖_ _eδ_ ) _⊖_ _eδ_ _→_ . . .,
_u →_ _u ⊖_ _ei_ _→_ ( _u ⊖_ _ei_ ) _⊖_ _eδ_ _→_ (( _u ⊖_ _ei_ ) _⊖_ _eδ_ ) _⊖_ _eδ_ _→_ . . .
_u →_ _u ⊕_ _ei_ _→_ ( _u ⊕_ _ei_ ) _⊕_ _ei_ _→_ (( _u ⊕_ _ei_ ) _⊕_ _ei_ ) _⊖_ _eδ_
_→_ ((( _u ⊕_ _ei_ ) _⊕_ _ei_ ) _⊖_ _eδ_ ) _⊖_ _eδ_ _→_ . . .,
_u →_ _u ⊖_ _ei_ _→_ ( _u ⊖_ _ei_ ) _⊖_ _ei_ _→_ (( _u ⊖_ _ei_ ) _⊖_ _ei_ ) _⊖_ _eδ_
_→_ ((( _u ⊖_ _ei_ ) _⊖_ _ei_ ) _⊖_ _eδ_ ) _⊖_ _eδ_ _→_ . . .
_P_ 2 <sup>_−_</sup> <sup>(</sup> <sup>_u_</sup> <sup>,</sup> <sup>_δ_</sup> <sup>)</sup> <sup>:</sup> �1 _≤i≤n_
_i̸_ = _δ_
References
1. Seitz, C.L. The cosmic cube. _Commun._ _ACM_ 1985, _28_, 22–33. [[CrossRef]](http://dx.doi.org/10.1145/2465.2467)
2. Meritt, R. Cray Studies Exascale Computing in Europe. Available online: [http://www.eetimes.com/](http://www.eetimes.com/document.asp?doc_id=1268565)
[document.asp?doc_id=1268565 (accessed on 27 September 2018).](http://www.eetimes.com/document.asp?doc_id=1268565)
3. TOP500 Team. TOP500 list refreshed, US Edged Out of Third Place. 2017. Available online: [https://www.](https://www.top500.org/news/top500-list-refreshed-us-edged-out-of-third-place/)
[top500.org/news/top500-list-refreshed-us-edged-out-of-third-place/ (accessed on 27 September 2018).](https://www.top500.org/news/top500-list-refreshed-us-edged-out-of-third-place/)
4. Li, Y.; Peng, S.; Chu, W. Efficient collective communications in dual-cube. _J. Supercomput._ 2004, _28_, 71–90.
[[CrossRef]](http://dx.doi.org/10.1023/B:SUPE.0000014803.83151.dc)
5. Li, Y.; Peng, S.; Chu, W. Metacube—A versatile family of interconnection networks for extremely large-scale
supercomputers. _J. Supercomput._ 2010, _53_, 329–351. [[CrossRef]](http://dx.doi.org/10.1007/s11227-009-0297-2)
6. Akers, S.; Krishnamurthy, B. A group-theoretic model for symmetric interconnection networks. _IEEE Trans._
_Comput._ 1989, _C-38_, 555–566. [[CrossRef]](http://dx.doi.org/10.1109/12.21148)
7. Gates, W.; Papadimitriou, C. Bounds for sorting by prefix reversal. _Discret._ _Math._ 1979, _27_, 47–57. [[CrossRef]](http://dx.doi.org/10.1016/0012-365X%0x2879%0x2990068-2)
8. Duato, J.; Yalamanchili, S.; Ni, L. _Interconnection Networks:_ _An Engineering Approach_ ; Morgan Kaufmann:
Burlington, MA, USA, 2003.
9. Bossard, A.; Kaneko, K. On the torus pairwise disjoint-path routing problem. In Proceedings of the 18th
IEEE International Conference on Computer and Information Technology (CIT), Halifax, NS, Canada,
30 July–3 August 2018; pp. 1739–1746.
_Sensors_ 2018, _18_, 3912 16 of 16
10. Ajima, Y.; Inoue, T.; Hiramoto, S.; Takagi, Y.; Shimizu, T. The Tofu interconnect. _IEEE Micro_ 2012, _32_, 21–31.
[[CrossRef]](http://dx.doi.org/10.1109/MM.2011.98)
11. Ajima, Y.; Inoue, T.; Hiramoto, S.; Uno, S.; Sumimoto, S.; Miura, K.; Shida, N.; Kawashima, T.; Okamoto, T.;
Moriyama, O.; et al. Tofu interconnect 2: System-on-chip integration of high-performance interconnect.
In Proceedings of the 29th International Supercomputing Conference, Leipzig, Germany, 22–26 June 2014;
pp. 498–507.
12. Cray Inc. Cray XE6 Brochure. 2010. Available online: [http://www.cray.com/products/computing/xe-series](http://www.cray.com/products/computing/xe-series)
(accessed on 27 September 2018).
13. Murugesan, S. Harnessing green IT: Principles and practices. _IT Prof._ 2008, _10_, 24–33. [[CrossRef]](http://dx.doi.org/10.1109/MITP.2008.10)
14. [Green500. June 2017 list. Available online: https://www.top500.org/green500/ (accessed on 27 September 2018).](https://www.top500.org/green500/)
15. Menger, K. Zur allgemeinen Kurventheorie. _Fund._ _Math._ 1927, _10_, 96–115. [[CrossRef]](http://dx.doi.org/10.4064/fm-10-1-96-115)
16. Karp, R.M. On the complexity of combinatorial problems. _Networks_ 1975, _5_, 45–68. [[CrossRef]](http://dx.doi.org/10.1002/net.1975.5.1.45)
17. Robertson, N.; Seymour, P.D. Graph minors. XIII. The disjoint paths problem. _J. Comb._ _Theory Ser._ _B_ 1995,
_63_, 65–110. [[CrossRef]](http://dx.doi.org/10.1006/jctb.1995.1006)
18. Jerebic, I.; Trobec, R. Optimal routing in toroidal networks. _Inf._ _Process._ _Lett._ 1992, _43_, 285–291. [[CrossRef]](http://dx.doi.org/10.1016/0020-0190%0x2892%0x2990113-A)
19. Gu, Q.-P.; Peng, S. Fault tolerant routing in toroidal networks. _IEICE Trans._ _Inf._ _Syst._ 1996, _E79-D_, 162–168.
20. Kaneko, K.; Bossard, A. A set-to-set disjoint paths routing algorithm in tori. _Int._ _J. Netw._ _Comput._ 2017, _7_,
173–186. [[CrossRef]](http://dx.doi.org/10.15803/ijnc.7.2_173)
21. Gu, Q.-P.; Peng, S. An efficient algorithm for the _k_ -pairwise disjoint paths problem in hypercubes. _J. Parallel_
_Distrib._ _Comput._ 2000, _60_, 764–774. [[CrossRef]](http://dx.doi.org/10.1006/jpdc.2000.1632)
22. Gu, Q.-P.; Peng, S. An efficient algorithm for _k_ -pairwise disjoint paths in star graphs. _Inf._ _Process._ _Lett._ 1998,
_67_, 283–287. [[CrossRef]](http://dx.doi.org/10.1016/S0020-0190%0x2898%0x2900121-5)
23. Bossard, A.; Kaneko, K. _k_ -pairwise disjoint paths routing in perfect hierarchical hypercubes. _J. Supercomput._
2014, _67_, 485–495. [[CrossRef]](http://dx.doi.org/10.1007/s11227-013-1013-9)
24. Sawada, N.; Kaneko, K.; Peng, S. Pairwise disjoint paths in pancake graphs. In Proceedings of the 8th
International Conference on Parallel and Distributed Computing, Applications and Technologies, Adelaide,
Australia, 3–6 December 2007; pp. 376–382.
25. Park, J.-H. Paired many-to-many disjoint path covers in restricted hypercube-like graphs. _Theor._ _Comput._ _Sci._
2016, _634_, 24–34. [[CrossRef]](http://dx.doi.org/10.1016/j.tcs.2016.04.007)
26. Wang, X.; Fan, J.; Jia, X.; Lin, C.-K. An efficient algorithm to construct disjoint path covers of DCell networks.
_Theor._ _Comput._ _Sci._ 2016, _609_, 197–210. [[CrossRef]](http://dx.doi.org/10.1016/j.tcs.2015.09.022)
27. Cheng, B.; Fan, J.; Jia, X.; Jia, J. Parallel construction of independent spanning trees and an application in
diagnosis on Möbius cubes. _J. Supercomput._ 2013, _65_, 1279–1301. [[CrossRef]](http://dx.doi.org/10.1007/s11227-013-0883-1)
28. Liu, J.; Zhao, J.; Wang, S.; Javaid, M.; Cao, J. On the topological properties of the certain neural networks.
_J. Artif._ _Intell._ _Soft Comput._ _Res._ 2018, _8_, 257–268. [[CrossRef]](http://dx.doi.org/10.1515/jaiscr-2018-0016)
29. Wang, C.; Yu, G.; Sun, W.; Cao, J. The least eigenvalue of the graphs whose complements are connected and
have pendent paths. _J. Artif._ _Intell._ _Soft Comput._ _Res._ 2018, _8_, 303–308. [[CrossRef]](http://dx.doi.org/10.1515/jaiscr-2018-0020)
_⃝_ c 2018 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access
article distributed under the terms and conditions of the Creative Commons Attribution
[(CC BY) license (http://creativecommons.org/licenses/by/4.0/).](http://creativecommons.org/licenses/by/4.0/.)
섹션 본문
섹션 본문이 없습니다.
참고문헌 24건
- On the Computational Complexity of Combinatorial Problems Networks · Wiley · 1975 10.1002/net.1975.5.1.45
- The cosmic cube Communications of the ACM · Association for Computing Machinery · 1985 10.1145/2465.2467
- An Efficient Algorithm for the k-Pairwise Disjoint Paths Problem in Hypercubes Journal of Parallel and Distributed Computing · Elsevier BV · 2000 10.1006/jpdc.2000.1632
- Bounds for sorting by prefix reversal Discrete Mathematics · Elsevier BV · 1979 10.1016/0012-365x(79)90068-2
- Parallel construction of independent spanning trees and an application in diagnosis on Möbius cubes The Journal of Supercomputing · Springer Science+Business Media · 2013 10.1007/s11227-013-0883-1
- Graph Minors .XIII. The Disjoint Paths Problem Journal of Combinatorial Theory Series B · Elsevier BV · 1995 10.1006/jctb.1995.1006
- An efficient algorithm for k-pairwise disjoint paths in star graphs Information Processing Letters · Elsevier BV · 1998 10.1016/s0020-0190(98)00121-5
- The Tofu Interconnect IEEE Micro · Institute of Electrical and Electronics Engineers · 2011 10.1109/mm.2011.98
- Optimal routing in toroidal networks Information Processing Letters · Elsevier BV · 1992 10.1016/0020-0190(92)90113-a
- Metacube—a versatile family of interconnection networks for extremely large-scale supercomputers The Journal of Supercomputing · Springer Science+Business Media · 2009 10.1007/s11227-009-0297-2
- A group-theoretic model for symmetric interconnection networks IEEE Transactions on Computers · Institute of Electrical and Electronics Engineers · 1989 10.1109/12.21148
- Efficient Collective Communications in Dual-Cube The Journal of Supercomputing · Springer Science+Business Media · 2004 10.1023/b:supe.0000014803.83151.dc
- k-pairwise disjoint paths routing in perfect hierarchical hypercubes The Journal of Supercomputing · Springer Science+Business Media · 2013 10.1007/s11227-013-1013-9
- Harnessing Green IT: Principles and Practices IT Professional · IEEE Computer Society · 2008 10.1109/mitp.2008.10
- Fault tolerant routing in toroidal networks 2002 10.1109/aispas.1995.401342
- An efficient algorithm to construct disjoint path covers of DCell networks Theoretical Computer Science · Elsevier BV · 2015 10.1016/j.tcs.2015.09.022
- A Set-to-Set Disjoint Paths Routing Algorithm in Tori International Journal of Networking and Computing · IJNC Editorial Committee · 2017 10.15803/ijnc.7.2_173
- The Least Eigenvalue of the Graphs Whose Complements Are Connected and Have Pendent Paths Journal of Artificial Intelligence and Soft Computing Research · Polish Neural Network Society, the University of Social Sciences in Lodz & Czestochowa University of Technology · 2018 10.1515/jaiscr-2018-0020
- On the Topological Properties of the Certain Neural Networks Journal of Artificial Intelligence and Soft Computing Research · Polish Neural Network Society, the University of Social Sciences in Lodz & Czestochowa University of Technology · 2018 10.1515/jaiscr-2018-0016
- Tofu Interconnect 2: System-on-Chip Integration of High-Performance Interconnect Lecture notes in computer science · Springer Science+Business Media · 2014 10.1007/978-3-319-07518-1_35
- Torus Pairwise Disjoint-Path Routing Sensors · Multidisciplinary Digital Publishing Institute · 2018 10.3390/s18113912
- Paired many-to-many disjoint path covers in restricted hypercube-like graphs Theoretical Computer Science · Elsevier BV · 2016 10.1016/j.tcs.2016.04.007
- Pairwise Disjoint Paths in Pancake Graphs 2007 10.1109/pdcat.2007.4420193
- Zur allgemeinen Kurventheorie Fundamenta Mathematicae · Polish Academy of Sciences · 1927 10.4064/fm-10-1-96-115