Efficient bandwidth allocation in WDM optical networks

73
Efficient bandwidth allocation in WDM optical networks םםםםםם: םםם םםםםם םםםם םם םםםםםם םםםםםםםםםם םםםםםםם, םםםםם2004

description

Efficient bandwidth allocation in WDM optical networks. מציגים: ערן מזרחי איתי בן אליעזר אלגוריתמים מבוזרים, ינואר 2004. Introduction. We consider the problem of resource allocation in WDM optical networks. - PowerPoint PPT Presentation

Transcript of Efficient bandwidth allocation in WDM optical networks

Page 1: Efficient bandwidth allocation in WDM optical networks

Efficient bandwidth allocation in WDM optical

networks

מציגים:

ערן מזרחי

איתי בן אליעזר

2004אלגוריתמים מבוזרים, ינואר

Page 2: Efficient bandwidth allocation in WDM optical networks

Introduction

We consider the problem of resource allocation in WDM optical networks.

In such networks we assign a wavelength to each communication path, such that no two paths on one edge use the same wavelength.

We will limit our discussion to networks with tree topology.

In tree networks the routing of communication paths is trivial (exactly one route between each two nodes).

So we are left with the problem of wavelength allocation.

For practical reasons we would like to use a minimal number of wavelengths.

Page 3: Efficient bandwidth allocation in WDM optical networks

Results

The main result we will show is a polynomial time algorithm which allocates a maximum of 5L/3 wavelengths, where L is maximum number of paths on one edge.

We will show this using a reduction to the problem of coloring a constrained bipartite graph.

Finally we will also show two lower bound results: Any greedy algorithm will need at least 5L/3

wavelengths in the worst case. Any algorithm will need at least 5L/4

wavelengths in the worst case.

Page 4: Efficient bandwidth allocation in WDM optical networks

Wavelength allocation problem (cont.)

Terminology Colors – We will refer to wavelengths as colors.

Input A directed tree which represents our optical

network topology. By directed tree we mean a tree which between each two vertices which are connected, there are two directed edges in opposite directions.

A set of communication paths – paths on the directed tree.

We will denote by L the maximal number of communications paths on one directed edge.

Page 5: Efficient bandwidth allocation in WDM optical networks

Wavelength allocation problem (cont.)

Without loss of generality will assume that the load of each edge is exactly L. For each edge which has a load of only k<L, we can add L-k dummy paths and at the end remove theses dummy paths from our final solution.

Output Legal wavelength assignment – A color for each

path, such that no two paths on the same directed edge have the same color.

Page 6: Efficient bandwidth allocation in WDM optical networks

Constrained bipartite coloring problem

Terminology L-regular graph – A graph which the degree of

each node is exactly L. Legitimate coloring of a graph – A coloring in

which no two edges with the same color touch the same vertex.

L-regular bipartite graph constrained by K colors –A L-regular bipartite graph G=({X0,…Xm},{W0,…Wm},E) which:

all the edges which touch either X0 or W0 are legally colored and the rest of the edges are not colored.

The total number of colors used for the already colored edges is exactly K.

Page 7: Efficient bandwidth allocation in WDM optical networks

Constrained bipartite coloring problem (cont.)

Input A L-regular bipartite graph constrained by K. We will assume the above bipartite graph does

not contain horizontal edges – meaning edges of the form (Xi,Wi).

Output Legitimate coloring of the bipartite graph which

converges with the input coloring of X0 and W0 edges.

Page 8: Efficient bandwidth allocation in WDM optical networks

Coming Soon…

Wavelength allocation algorithm: Reduction to a constrained bipartite

graph coloring problem. Division of the bipartite graph into

triplets. Coloring the triplets.

Lower bounds Greedy algorithm General algorithm

Page 9: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring

Let us show how we can solve the wavelengths allocation problem using a solution to the bipartite coloring problem:

We color the paths by going over the vertices in DFS order and for each vertex we color all the paths that touch the vertex which are not already colored.

For each vertex v, when we start processing v, all the paths between v and its father (in the DFS tree) are already colored.

The paths between v and its descendants (or paths between v`s descendants which go through v) are not colored and these are the paths we need to color.

Page 10: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

Page 11: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

For each path from uj to v add (fj,ij) to E.

Page 12: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

For each path from v to uj add (oj,tj) to E.

Page 13: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

For each path from uj to ul add (fj,tl) to E.

Page 14: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

We apply the above three rules for each path.

Page 15: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

We color the uncolored edges of the bipartite graph.

Page 16: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring example

u0

u1u2

V

f0

f1

f2

o0

o1

o2

t0

t1

t2

i0

i1

i2

The coloring of the bipartite is legal coloring of the path.

Page 17: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

As we traverse the vertices in DFS order we inductively assume that: Invariant 1: For each vertex v we reach:

The number of colors used for the already colored paths (which touch v) is at the most 4L/3 colors.

Invariant 2: All the paths which have been colored so far, are colored legally (no two paths in the same direction are colored with the same color).

Invariant 3: All the paths which have been colored so far, are colored using at most 5L/3 colors.

Page 18: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

We color the uncolored paths which touch v maintaining the above three invariants in recursive way:

Initialization – We started our DFS from a leaf r. Thereby r will have only one child v in the DFS tree. We color all the paths between r and v with at

most L colors (which is trivial since L is the maximal number of paths in each direction).

From this invariants 1,2,3 hold for v.

Page 19: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

Step – Given a vertex v we build a partially colored bipartite graph Gv. We then color Gv and use the same coloring for the paths which touch v.

Let us denote by u0 the father of v in the DFS tree and by uj the j-th child of v in the DFS tree. k is the number of children v has.

We build Gv=({f0,…,fk,o0,…,ok},{t0,…,tk,i0,…,ik},E) in the following way: For each path from uj to v add (fj,ij) to E.

For each path from v to uj add (oj,tj) to E.

For each path from uj to ul add (fj,tl) to E.

Page 20: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

The coloring of Gv will be shown later. Theorem 1 summarizes the results of coloring we will show:

We will now show that based on theorem 1, if invariants 1,2,3 hold for v, we can color the rest of v`s paths in such a way that the 3 invariants will hold for v`s children.

Theorem 1 – An L-regular bipartite graph constrained by αL colors can be colored so that:A.The total number of colors used by the

coloring is at most (1+α/2)L colors.B.Each pair of opposite vertices sees no more

than max(αL,(1+α/4)L) colors.

Page 21: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

According to invariant 1 for v, the number of colors constrained αL is at the most 4L/3 => α ≤ 4/3.

Invariant 1 holds for every child uj of v:

The edges in Gv which represent paths that touch uj are edges which touch either fj or tj.

According to part B of theorem 1 the pair (fj,tj) sees at the most:max(αL,(1+α/4)L) ≤ max(4L/3,(1+1/3)L) = 4L/3colors.

Page 22: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

We can apply the coloring given by theorem 1 in such a way that invariant 3 (and 2) will be preserved: We will use a global pool of 5L/3 colors. For newly colored edges in Gv (and their

corresponding paths) we choose arbitrary colors from:{global color pool} – {colors already used in Gv}

According to part A of theorem 1 the number of colors used for the coloring of Gv is at most (1+α/2)L ≤ 5L/3 colors.

Therefore the global pool of 5L/3 will suffice for assigning new colors to newly colored paths and invariant 3 is preserved.

Page 23: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

Invariant 2 is preserved: Any two previously colored paths can not collide

(be the same color and pass through the same edge) since invariant 2 held before this step.

A previously colored path which does not pass through v can not collide with a newly colored one (which must pass through v) because they have no common edges.

So all the is left to show is that newly colored edges do not collide with each other.

Page 24: Efficient bandwidth allocation in WDM optical networks

Reduction to a bipartite coloring (cont.)

Any two paths which pass through the edge (uj,v) will be represented in Gv by edges which touch fj and therefore can not be given the same color by a legal coloring of Gv.

Similarly any two paths which pass through (v,uj) will be represented by edges which touch tj and therefore will we be colored differently.

Page 25: Efficient bandwidth allocation in WDM optical networks

Constrained bipartite terminology

From here on, we will denote the bipartite graph as

G = (X={X0,…,Xn,}, W={W0,…,Wn}, E)

A color forced edge (CFE) is an edge which is already colored. Note that such an edge must touch either X0 or W0.

A line is a pair of opposite vertices (Xi,Wi).

double color – A color c is a double color if there are two color forced edges with the color c.

single color – A color c is a single color if there is only one color forced edge with the color c.

Page 26: Efficient bandwidth allocation in WDM optical networks

Constrained bipartite terminology (cont.)

D = number of double colors. S = number of single colors αL = number of constraining colors.

Formally we will define: α = (D+S)/L => αL = D + S 2D + S = 2L (since our bipartite graph is L-

regular).

Page 27: Efficient bandwidth allocation in WDM optical networks

Constrained bipartite terminology (cont.)

For example: L = 2 (x0,w4), (x0,w1) and

(x2,w0) are the color forced edges (CFEs).

(x0,w4) is a double colored edges.

(x0,w1) and (x2,w0) are single colored edges.

D = 1; S = 2 α = 3/2

X0

x2

x4

X1

x3

x5

w0

w2

w4

w1

w3

w5

Page 28: Efficient bandwidth allocation in WDM optical networks

Perfect matchings

A matching of a graph G is a set of edges of G such that no two of them share a vertex in common. A perfect matching is a matching with |V|/2 edges.

We extract L prefect matchings from our L-regular bipartite graph. It is a classical result from graphs theory that this can be done efficiently.

Each such matching will have two CFEs – one which touches X0 and the other touches W0.Note that these can not be the same edge because we build the bipartite graph so it does not contains edges which are lines.

Page 29: Efficient bandwidth allocation in WDM optical networks

Perfect matchings (cont.)

A double color is called separated if its two color forced edges appear in different matchings.

A double color is called preserved if its two color forced edges appear in the same matching.

For convenience, we will mark a matching [a,b] where:a is the color of its first CFE (the one which touches X0).b is the color of its second CFE (the one which touches W0).

Page 30: Efficient bandwidth allocation in WDM optical networks

Matchings classification

We classify the matchings according to the type of their two color forced edges:

Matching Type Type of firstCFE

Type of second CFE

SS single single

TT separated separated

ST single separated

TS separated single

PP preserved preserved

Page 31: Efficient bandwidth allocation in WDM optical networks

Chains and cycles of matchings

We partition the ST,TS and TT matchings into groups. Each group is either a chain or a cycle of matchings.

Chain of matchings

ST TT TT … TT TSWhere each two adjacent matching share a double color.

For example

([1,4],[4,5],[5,3],[3,6],[6,2]) is chain.

Where 1,2 are single colorsand 3,4,5,6 are double colors.

Page 32: Efficient bandwidth allocation in WDM optical networks

Chains and cycles of matchings

Cycle of matchings:

TT TT … TTWhere each two adjacent matching share a double color and the first and last matching also share a double color.

For example:

([1,4],[4,2],[2,3],[3,1]) is cycle.

Where 1,2,3,4 are double colors.

Page 33: Efficient bandwidth allocation in WDM optical networks

Minimal cycles and chains

A sequence of matchings is minimal if it does not contain any two parallel color-forced edges.

A non-minimal chain/cycle of matchings can be split to be minimal in the following way:

Assume:([1,2],…,[5,6],[6,7],…,[10,11],[11,12]…,[15,1]) is cycle, where the second CFE of [5,6] and the second CFE of[10,11] are parallel. Lets us swap these two edges between the two matchings and we will get:([1,2],…,[5,11],[6,7],…,[10,6],[11,12]…,[15,1])which can be split into two cycles:([1,2],…,[5,11],[11,12]…,[15,1]) and ([6,7],…,[10,6]).

Page 34: Efficient bandwidth allocation in WDM optical networks

Minimal cycles and chains (cont.)

The case which the first CFEs of two matching are parallel is identical. For the matching from our previous example will get:

([1,2],…,[4,5],[5,6],…,[9,10],[10,11],…,[15,1])

=> ([1,2],…,[4,5],[10,6],…,[9,10],[5,11],…,[15,1])

=> ([1,2],…,[4,5],[5,11],…,[15,1]) and ([10,6],…,[9,10])

This will also work for chains, splitting each non-minimal chain to a chain and one or more cycles.

Page 35: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets

Next we will group the matching into triplets: A triplet is a group of three matching such that it

contains two single color forced edges and four double color forced edges.

The extraction of triplets is done from the chains and cycles we have prepared in the previous steps.

We start this step with: chains cycles standalone PP and SS matchings

Page 36: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets (cont.)

First from each chain with a length of at least 3 we take the ST TT from its start with the TS at its end to form aST TT TS triplet.

ST TT TT … TT TS, …

ST TS, …

TT TT .. TT, …

SS, …

PP, …

Triplets

Page 37: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets (cont.)

Next we group consecutive TT TT pairs from the cycles and stripped chains with standalone SS matchings to form TT TT SS triplets.

ST TS, …

TT TT, ... , TT TT, TT

SS , … , SS

PP, TT, …

Triplets

Page 38: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets (cont.)

Next we group pairs of standalone TTs (which include PPs, and leftover TTs from the previous two steps) with standalone SS matchings to form TT TT SS triplets.

ST TS, …

SS , … , SS , …

PP , … , TTTriplets

Page 39: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets (cont.)

If we run out of SS matching in either of the previous two steps we continue grouping triplets in the following way:

We group one TT with a ST TS chain (of length 2) so we get a TT ST TS triplet.

ST TS , …

TT , … Triplets

Page 40: Efficient bandwidth allocation in WDM optical networks

Extracting Triplets (cont.)

Now lets analyze what we have left: If α = 4/3 then S = D = 2/3 and therefore the above

algorithm will group all the matchings into triplets. If α > 4/3 then S > D and therefore we will be left with

extra SS, ST or TS matchings with no corresponding TT/PP matching.These matchings can be easily colored without using new colors (by coloring all the uncolored edges with a single color of the matching).

If α < 4/3 then S < D and therefore we will be left with extra TT matchings. These matching will be dealt with separately – we will not detail how, in this presentation.

Page 41: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets - Overview

We will color the triplets while upholding the following two conditions:

Condition 1 – Each triplet will use at most one new color per triplet.

Condition 2 – Each line sees at most max{(1+α/4)L,αL} colors.

For α ≥ 4/3, condition 2 is enforced by making sure that if a line sees a new color it does not see one of the old colors and therefore sees a maximum of max{(1+α/4)L,αL}=αL colors.

Page 42: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets - Overview (cont.)

Lemma – The total number of colors used is at most (1+α/2)L.

Proof: 2D + S = 2L D + S = αL => D = (2-α)L According to condition 1 the maximum number of

new colors is D/2 (because we have D/2 triplets, and each uses a maximum of 1 new color).

The total number of colors used is at most:

D + S + D/2 = αL + (2-α)L/2 = (1+α/2)L

Page 43: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets – Overview (cont.)

From the above lemma and condition 2, theorem 1 directly follows:

Theorem 1 – An L-regular bipartite graph constrained by αL colors can be colored so that:A.The total number of colors used by the

coloring is at most (1+α/2)L colors.B.Each pair of opposite vertices sees no more

than max(αL,(1+α/4)L) colors.

Now “all” that is left to show how we color the triplets while upholding the two conditions we stated.

Page 44: Efficient bandwidth allocation in WDM optical networks

Active colors

Next for each triplet we select 4 unique active colors.

The active colors in each triplet will be active only in this triplet.

For each triplet we will select: The 2 single colors of the triplet. 2 of the 4 double colors of the triplet – in such a

way that no double color is chosen to be active in more than one triplet.

The details of how we select the active double colors are not detailed here.

Page 45: Efficient bandwidth allocation in WDM optical networks

Triplet Types

We color the triplets according to their type. We will divide the triplets into four types: Type A – Triplets consisting of one SS matching and

two standalone TT matchings (one or both of which may actually be PP matchings).

Type B – Triplets consisting of one SS matching and two consecutive TT matchings from the same cycle or chain.

Type C – Triplets consisting of a ST TS chain (of length 2) and one TT (which may actually be a PP matchings).

Type D – Triplets consisting of ST TT TS which where stripped from the start and end of a chain.

Page 46: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets

We will color the uncolored edges of each triplet with the 4 unique active colors and maybe an additional new color.

This ensure two triplets do not color uncolored edges with the same color and therefore the coloring of edges in different triplets can not collide.

We will show the coloring algorithm only for triplets of type A.

Consider a type A triplet [s,t] [a,b] [c,d]. Type A implies: s and t are single colors a,b,c,d are double colors a ≠ d and b ≠ c (otherwise this is actually of type B).

Page 47: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets – easy cases

First the easy cases: If the triplet is a SS TT PP then c=d (or a=b) and

lets assume that a (or c) is the other active double color.

We color the uncolored edges of the SS matching using s or t.

We color the uncolored edges of the TT matching using a (or c).

We color the uncolored edges of the PP matching using c (or a).

If the triplet is a SS PP PP the above method works.

Page 48: Efficient bandwidth allocation in WDM optical networks

Coloring the triplets – hard cases

Otherwise a,b,c and d are distinct colors. We consider the matchings [a,b] and [c,d] as one

cycle cover of the bipartite graph. For the sake of clarity we will assume that the

cycle cover of the two matchings consists of only one cycle.

The coloring we will show can easily be adapted to the case when the cycle cover is of more than one cycle.

We will denote a and d as the active colors.

Page 49: Efficient bandwidth allocation in WDM optical networks

We start coloring by alternating the two active double colors a and d. Collisions are handled using the two single active colors:

Coloring the triplets – hard cases (cont.)

X0 W0c

a d

bd a d

da t

a

The uncolored edges of the SS matching are colored using the other single active color s.

ad

Page 50: Efficient bandwidth allocation in WDM optical networks

Another type of collision we might run into:

Coloring the triplets – hard cases (cont.)

The uncolored edges of the SS matching can still be colored using the other single active color s.

X0 W0c

a d

bd a d

da t

d

ad

t

Page 51: Efficient bandwidth allocation in WDM optical networks

A bit harder type of collision we might run into:

Coloring the triplets – hard cases (cont.)

The uncolored edges of the SS matching are then colored using the color s, except for the edge (v,w) which will be colored by d.

X0 W0c

a d

bd a d

da s

d

at

t

a

a

uvw

d

Page 52: Efficient bandwidth allocation in WDM optical networks

If an edge (u,v) is restricted by all four active colors we will have to add a new color n:

Coloring the triplets – hard cases (cont.)

X0 W0c

a

bd a d

da n

a

The uncolored edges of the SS matching can be colored using the new color n – this is because (u,v) is touch by (X0,v) and (u,W0) and thereby can not be touched by any more edges from SS.

ad

td

s

v u

Page 53: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm

We will show a family of binary direct trees for which 5L/4 color are necessary (and sufficient).

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

First lets consider the

graph on the right.

In this graph there are at the most two parallel edges between each two vertices.

Therefore L=2.

Page 54: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

Now we show that

three colors are

needed.

Edges a and b

are parallel, so

they need different

colors (therefore at

least two colors

are needed).

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 55: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

Let us try to color it with only two colors:

c and b are parallel, and therefore c must be red.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 56: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

c and d are parallel, and therefore d must be green.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 57: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

e and d are parallel, and thus e can not be green.

e and a are parallel, and thus e can not be red.

Therefore two colors are not enough to color the graph.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 58: Efficient bandwidth allocation in WDM optical networks

5L/4Lower bound for a general algorithm (cont.)

Three colors are needed and sufficient to color the graph.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 59: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

Now, consider that every edge represents L/2 parallel paths.

The load of the graph is L. The L/2 parallel paths in

the same edge must have different colors.

Using the same technique we used to color the graph before, we can color the new graph with 3L/2 colors.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 60: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

But there is a better graph coloring:

a={1,..,L/2}

b={L/2+1,..,L}

c={1,..,L/4}U{L+1,..,5L/4}

d={1+L/4,..,3L/4}

e={1+3L/4,..,5L/4} The coloring is legal, since

edges that are parallel use different colors.

ae

e

e

e

a

a

cc

dd

dd

b

bb

b

Page 61: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

Now we will show that 5L/4 colors are needed to color this graph.

There are 5L/2 paths to be colored. Every color can be used just once in each set of colors

(because all the colors in the same set are parallel). A color can not appear in three different sets (for the

same reasons we couldn’t color the L=2 graph with 2 colors).

Therefore every color can be used at most in two sets of colors and color at the most 2 different paths.

Therefore we need at least 5L/4 colors.

Page 62: Efficient bandwidth allocation in WDM optical networks

5L/4 Lower bound for a general algorithm (cont.)

This proof is correct only for even L. For odd L we can add a dummy and then the

solution is correct again. For odd L we need 5L/4+1 colors.

Page 63: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm

A greedy algorithm (in our case) is an algorithm that considers vertices of the tree one in a time in DFS order. While processing a vertex v, it colors all the paths that touch v and are still uncolored.

We will show that any local greedy algorithm needs at least 5L/3 colors to color a tree in the worst case.

Given a local greedy algorithm and a load L, we will build a binary tree that will require at least 5L/3 colors.

We build this tree in DFS order and use the algorithms decisions at each node to decide how we continue building our tree.

Page 64: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

C0

C1

Initialization We start with a root C0 which

has one son C1.

We build L paths in each direction between C0 and his child C1.

We run the algorithm to color the paths between C0 and C1.

Note that the algorithm will need at least L colors to color the paths between C0 and C1.

L paths

L paths

Page 65: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

F

BA

C

Step i In step i, we process the

node Ci after the algorithm has colored the edges between Ci-1 and Ci.

We denote αiL as the number of colors between Ci and its father (Ci-1).

For convince we will refer toCi as C, to αi as α and toCi-1 as F.

We add two sons A and B to C.

αL colors

Page 66: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

Out of the αL colors between C and F we can chose two groups of colors K2 and K3 such that: K2 are αL/2 colors used for

paths on (C,F). K3 are αL/2 colors used for

paths on (F,C). K2 ∩ K3= Ø

We do this by taking the S/2 single colors from (C,F) and any D/2 doubles colors to K2 and the rest of the colors to K3 (D/2+S/2 = αL/2).

BA

C

|K3| = αL/2

F

αL/2 = |K2|

Page 67: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

We continue the paths which match K2 and K3 to/from A and B.

We add (1-α/2)L paths from B to A. We will mark the colors the algorithm assigns these paths K1.

Since the paths from K1 parallel to both K2’s paths and K3’s paths, the algorithm will have to use new colors for K1:

K1∩(K2UK3(=Ø

B

A

C

|K3| = αL/2

F

αL/2 = |K2|

|K1| = (1-α/2)L

Page 68: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

Next we add L paths from A to B. We mark the colors that the algorithm will assign these paths as K4.

Now we will show that we can select either A or B as C` such that the number of colors used between C and C` are at least (1+α/4)L.

B

A

C

K3

F

K2

K1

K4

Page 69: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

The “best” the algorithm can do to minimize the colors between A and C is to select:

K4 = K1UK2

Thus only L colors will be used between A and C.

But in such a case:K4 ∩ K3= Ø

and therefore there are:|K4|+|K3|=L+αL/2=(1+α/2)L

colors between B and C.B

A

C

K3

F

K2

K1

K4

Page 70: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

The “best” the algorithm can do to minimize the colors between A and C and between B and C is to select:

K4 = K1 U ½ K2 U ½ K3

Therefore either between A and C or between B and C there are at least:|K4|+½|K2/3| = L+½*αL/2 =

(1+α/4)L

colors.

B

A

C

K3

F

K2

K1

K4

Page 71: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

Now we choose either A or B as Ci+1 such that the number of colors between Ci and Ci+1 are at least:

(1+αi/4)L = αi+1L => αi+1 = (1+αi/4)

And we continue to the next step. Let us remember that we started with α1L=L => α1=1.

Note that for coloring the paths which touch C the algorithm must use at least:

Mi = |K1|+|K2|+|K3| = (1-αi/2)L+αiL/2+αiL/2 = (1+αi/2)L colors

(since K1,K2 and K3 are all exclusive).

Page 72: Efficient bandwidth allocation in WDM optical networks

5L/3 Lower bound for a greedy algorithm (cont.)

αi+1 = (1+αi/4)

α1=1.

=> αn->∞= 4/3

Therefore the total number of colors used is at least:

Mn->∞ = (1+αn->∞/2)L = 5/3L

For ε=1/3 there is a n which Mn > 5/3L – ε = 5/3L – 1/3

Since the total number of colors used is an integer, after n steps we get that at least 5L/3 colors are needed to color the binary tree we have built.

Page 73: Efficient bandwidth allocation in WDM optical networks

References

“Constrained Bipartite Edge Coloring with Applications to Wavelength Routing”by Christos Kaklamanis, Pino Persiano, Thomas Erlebach, Klaus Jansen.

“Improved Access to Optical Bandwidth in Trees” by Vijay Kumar, Eric J. Schwabe.