• Tidak ada hasil yang ditemukan

General Bounds on Interleaving Numbers

or Construction 4.2 (depending on which is applicable) to find a zigzag row in H;

thirdly, remove the zigzag row inH to get a [d|StA|+1e(|St|+ 1)1]×l2 torusT; finally, find non-negative integers xandy such thatl1 =x(|St|+ 1) +y[d|SA

t|+1e(|St|+ 1)1], and get an l1 ×l2 torus by tiling x copies of B and y copies of T vertically. The resulting interleaving on the l1×l2 torus is a t-interleaving.

2

requirement on the torus’ size is loosened to some extent (Theorem 3.8), then its t-interleaving number is at most |St|+ 2. Does that mean for a torus of any size, its t-interleaving number is always at most |St|plus a small constant? The answer is no.

The following theorem shows bounds ont-interleaving numbers.

Theorem 3.12 (1) The t-interleaving numbers of two-dimensional tori are |St|+ O(t2) in general. And that upper bound is tight, even if the following restriction is enforced on the tori — the number of rows or the number of columns of the torus approaches infinity. (2) When both l1 and l2 are of the order Ω(t2), the t-interleaving number of an l1×l2 torus is |St|+O(t).

Proof: (1) Firstly, let’s show that the t-interleaving numbers of two-dimensional tori are |St|+O(t2) in general. Let G be an l1 × l2 torus. First we assume that t is even and l1 t, l2 t. Let K1 = blt1c, K2 = blt2c. We see G as being tiled by small blocks in the way shown in Fig. 3.12, where the blocks are labelled by ‘A’ or ‘B’. (Note that two blocks both labelled as ‘A’ are not necessary of the same size. And two blocks both labelled as ‘B’ are not necessary of the same size, either.) For every block labelled as ‘A’ (respectively, ‘B’), the four blocks around it (to its left, right, up and down) are all labelled as ‘B’ (respectively, ‘A’). Each block consists of eitherd2Kl11eorb2Kl11crows, and eitherd2Kl22eorb2Kl22ccolumns. (Note that d2Kl1

1e=dK1t+(l2K1modt)

1 e= 2t +dl12Kmodt

1 e, b2Kl1

1c= 2t +bl12Kmodt

1 c,d2Kl2

2e= 2t +dl22Kmodt

2 e, b2Kl22c = 2t +bl22Kmod2 tc.) We see each block as a torus of its corresponding size. (So for a block whose size is α×β, it vertices are denoted by (i, j) for i= 0,1,· · · , α−1 and j = 0,1,· · ·, β, in the same way a torus’ vertices are normally denoted.) Now we interleave all the blocks following these two rules: (i) only integers in the set {1,2,· · · ,d2Kl11e · d2Kl22e}are used to interleave any block ‘A’, and only integers in the set {d2Kl1

1e · d2Kl2

2e+ 1,d2Kl1

1e · d2Kl2

2e+ 2,· · · ,2· d2Kl1

1e · d2Kl2

2e} are used to interleave any block ‘B’; (ii) for all the blocks labelled by ‘A’ (respectively, ‘B’) and for any i and j, the vertices denoted by (i, j) in them (provided they exist) are all labelled by the same integer. It is very easy to see that G is t-interleaved in this way, using 2· d2Kl1

1e · d2Kl2

2e = 2(2t +dl12Kmodt

1 e)(2t +dl22Kmodt

2 e)2(2t +dt−12 e)(2t +dt−12 e) = 2t2 =

A B A A B

B A B A B

B

B A A

B

A

A B A A B

B A B

l1

l2 G

Figure 3.12: See Gas being tiled by small blocks.

|St|+ 32t2 distinct integers. So G’s t-interleaving number is |St|+O(t2).

Now we assume t is even, and l1 < t or l2 < t. Without loss of generality, let’s say l1 < t. Then we see G as being tiled horizontally by smaller toriA1,A2,· · ·, An, where eachAi— fori= 1,2,· · · , n−1 — is anl1×ttorus, andAnis anl1×(l2 modt) torus. We interleave A1, A2, · · ·, An−1 in exactly the same way, and assign l1 ×t distinct integers to each of them. We interleaveAnwith a disjoint set ofl1×(l2 modt) integers. ClearlyGist-interleaved in this way, usingl1·t+l1·(l2 modt) =|St|+O(t2) distinct integers. So again, G’s t-interleaving number is |St|+O(t2).

Finally we assumetis odd. We can (t+1)-interleaveGusing|St+1|+O((t+1)2) =

(t+1)2

2 +O((t+ 1)2) = t2+12 +O(t2) =|St|+O(t2) distinct integers. t+ 1 is even, and a (t + 1)-interleaving is also a t-interleaving. So G’s t-interleaving number is still

|St|+O(t2).

Now let’s show that the above bound on t-interleaving numbers, |St|+O(t2), is tight, no matter if t is even or odd. Consider an l1×l2 torus where l1 is the largest even integer that is no greater than b32tc, and l2 is any integer greater than or equal to b34tc. We are firstly going to show that a t-interleaving can place an integer at most twice in any b34tc consecutive columns of the torus.

Assume a t-interleaving places an integer on three vertices in b34tc consecutive columns of the torus. Without loss of generality, let’s say those three nodes are v0,0, vi1,j1 and vi2,j2, where 0 ≤j1 ≤ b34tc −1 and 0≤j2 ≤ b34tc −1. Since the interleaving

is at-interleaving, the Lee distance between any two of those three vertices is at least t. Let a= l21 andb =b34tc −1. It is not difficult to see that the Lee distance between vi1,j1 andva,bis at most min{(a−i1) modl1,(i1−a) modl1}+(b−j1) = l21min{(0

i1) mod l1,(i10) mod l1}+(b−j1) = l21+b−[min{(0−i1) mod l1,(i10) modl1}+j1].

Since the Lee distance between v0,0 and vi1,j1 is at most min{(0−i1) modl1,(i1 0) modl1}+j1, we know that min{(0−i1) mod l1,(i10) modl1}+j1 ≥t. Therefore the Lee distance between vi1,j1 and va,b is at most l21 +b−t ≤ b32tc/2 +b34tc −1−t

< t2. Similarly, the Lee distance between vi2,j2 and va,b is also less than 2t. Therefore the Lee distance between vi1,j1 and vi2,j2 is less than t, which is a contradiction. So a t-interleaving cannot place an integer on more than two vertices in b34tc consecutive columns of the torus.

Anyb34tcconsecutive columns of thel1×l2torus containl1×b34tc ≥(32t−2)×(34t−1)

= 98t23t+ 2 vertices, where each integer can be placed on at most two vertices by a t-interleaving. Therefore the t-interleaving number of the torus is at least 98t23t+22 =

9

16t232t+ 1 = t22+1+161t232t+12 ≥ |St|+161t232t+12 =|St|+ Θ(t2), which matches the upper bound |St|+O(t2). Since here l2 can be any integer that is no less than b34tc, the upper bound is tight even if the number of columns (or equivalently, the number of rows) of the torus approaches infinity. The first part of this theorem has been proved by now.

(2) Let’s prove the second part of this theorem. In the previous part of this proof, a method for t-interleaving an l1×l2 torus has been proposed for the case ‘t is even and l1 ≥t,l2 ≥t’. That method uses 2(2t+dl12Kmodt

1 e)(2t+dl22Kmodt

2 e) distinct integers.

(Note that K1 = blt1c and K2 =blt2c.) When both l1 and l2 are of the order Ω(t2), bothK1 and K2 are of the order of Ω(t) — and then 2(2t+dl12Kmod1 te)(2t+dl22Kmod2 te) = 2(2t +O(1))(2t +O(1)) = t22 +O(t) =|St|+O(t). When t is odd, we can t-interleave an l1 ×l2 torus, where l1 = Ω(t2) = Ω((t + 1)2) and l2 = Ω(t2) = Ω((t+ 1)2), by (t+1)-interleaving it using|St+1|+O(t+1) = (t+1)2 2+O(t) = t2+12 +O(t) = |St|+O(t) distinct integers. So no matter if t is even or odd, when both l1 and l2 are of the order Ω(t2), the t-interleaving number of an l1×l2 torus is|St|+O(t).

2