This repository has been archived by the owner on Jan 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
fig-bmlrp-routes.tex
149 lines (133 loc) · 4.59 KB
/
fig-bmlrp-routes.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
\begin{figure*}[!t]
\centering
\newcommand{\nodescl}{1}
\newcommand{\edgescl}{1}
\input{graphs.tex}
\subfloat[Level-$i$ network] {
\begin{tikzpicture}
\wn[draw=blue] (n0) at (\coordscl{0}, \coordscl{0}) {0};
\wn (n1) at (\coordscl{1}, \coordscl{0}) {1};
\wn (n2) at (\coordscl{2}, \coordscl{0}) {2};
\wn (n3) at (\coordscl{3}, \coordscl{0}) {3};
\bn (n4) at (\coordscl{0}, \coordscl{1}) {4};
\wn (n5) at (\coordscl{1}, \coordscl{1}) {5};
\bn (n6) at (\coordscl{2}, \coordscl{1}) {6};
\bn (n7) at (\coordscl{3}, \coordscl{1}) {7};
\wn (n8) at (\coordscl{0}, \coordscl{2}) {8};
\wn (n9) at (\coordscl{1}, \coordscl{2}) {9};
\wn (n10) at (\coordscl{2}, \coordscl{2}) {10};
\wn (n11) at (\coordscl{3}, \coordscl{2}) {11};
\draw[dashed]
(n0) -- (n1)
(n0) -- (n4)
;
\draw
(n1) -- (n2)
(n2) -- (n3)
(n2) -- (n6)
(n6) -- (n5)
(n7) -- (n6)
(n4) -- (n8)
(n11) -- (n7)
(n8) -- (n9)
(n9) -- (n10)
(n10) -- (n11)
(n1) -- (n5)
(n3) -- (n7)
(n4) -- (n5)
;
\end{tikzpicture}
\label{fig:bmlrp-routes-all}
}%
%
\hfil%
%
\subfloat[Graph $G_0$ of node 1] {
\begin{tikzpicture}
\wn[draw=blue] (n0) at (\coordscl{0}, \coordscl{0}) {0};
\Wn[draw=green] (n1) at (\coordscl{1}, \coordscl{0}) {1};
\Wn (n2) at (\coordscl{2}, \coordscl{0}) {2};
\wn (n3) at (\coordscl{3}, \coordscl{0}) {3};
\Bn (n4) at (\coordscl{0}, \coordscl{1}) {4};
\Wn (n5) at (\coordscl{1}, \coordscl{1}) {5};
\Bn (n6) at (\coordscl{2}, \coordscl{1}) {6};
\bn (n7) at (\coordscl{3}, \coordscl{1}) {7};
\draw[dashed]
(n0) -- (n1);
\draw[ultra thick]
(n1) -- (n2)
(n4) -- (n5)
(n1) -- (n5)
(n2) -- (n6)
(n5) -- (n6)
;
\draw
(n2) -- (n3)
(n3) -- (n7)
;
\end{tikzpicture}
\label{fig:bmlrp-routes-nb1}
}%
%
\hfil%
%
\subfloat[Graph $G_0$ of node 4] {
\begin{tikzpicture}
\wn[draw=blue] (n0) at (\coordscl{0}, \coordscl{0}) {0};
\wn (n1) at (\coordscl{1}, \coordscl{0}) {1};
\wn (n2) at (\coordscl{2}, \coordscl{0}) {2};
\Bn[draw=green] (n4) at (\coordscl{0}, \coordscl{1}) {4};
\Wn (n5) at (\coordscl{1}, \coordscl{1}) {5};
\bn (n6) at (\coordscl{2}, \coordscl{1}) {6};
\bn (n7) at (\coordscl{3}, \coordscl{1}) {7};
\Wn (n8) at (\coordscl{0}, \coordscl{2}) {8};
\wn (n9) at (\coordscl{1}, \coordscl{2}) {9};
\wn (n10) at (\coordscl{2}, \coordscl{2}) {10};
\wn (n11) at (\coordscl{3}, \coordscl{2}) {11};
\draw[dashed]
(n0) -- (n4);
\draw[ultra thick]
(n4) -- (n5)
(n4) -- (n8)
;
\draw
(n1) -- (n2)
(n1) -- (n5)
(n2) -- (n6)
(n5) -- (n6)
(n7) -- (n11)
(n8) -- (n9)
(n9) -- (n10)
(n10) -- (n11)
;
\end{tikzpicture}
\label{fig:bmlrp-routes-nb2}
}%
%
\hfil%
%
\subfloat[Graph $G$ of node 0] {
\begin{tikzpicture}
\wn[draw=blue] (n0) at (\coordscl{0}, \coordscl{0}) {0};
\wn (n1) at (\coordscl{1}, \coordscl{0}) {1};
\wn (n2) at (\coordscl{2}, \coordscl{0}) {2};
\bn (n4) at (\coordscl{0}, \coordscl{1}) {4};
\wn (n5) at (\coordscl{1}, \coordscl{1}) {5};
\bn (n6) at (\coordscl{2}, \coordscl{1}) {6};
\wn (n8) at (\coordscl{0}, \coordscl{2}) {8};
\draw
(n0) -- (n1)
(n1) -- (n2)
(n0) -- (n4)
(n1) -- (n5)
(n2) -- (n6)
(n4) -- (n5)
(n5) -- (n6)
(n4) -- (n8)
;
\end{tikzpicture}
\label{fig:bmlrp-routes-visible}
}
\caption{Routes propagation}
\label{fig:bmlrp-routes}
\end{figure*}