Professional Documents
Culture Documents
Example: Figure 6: (A) A Circuit To Be Partitioned (B) Its Corre-Sponding Graph
Example: Figure 6: (A) A Circuit To Be Partitioned (B) Its Corre-Sponding Graph
1 2
3
4
5
6
1
2
3
4
5
6
G
G
2
1
(a) (b)
Figure 6: (a) A circuit to be partitioned (b) Its corre-
sponding graph
Chapter 2: Partitioning p.30
Example - contd
Step 1: Initialization.
Let the initial partition be a random division of vertices
into the partition A={2,3,4} and B={1,5,6}.
A
= A ={2,3,4}, and B
= B ={1,5,6}.
= A
{4}={2,3}, B
= B
Both A
and B
and B
are given by
D
2
= D
2
+ 2c
24
2c
21
= 1 + 2(1 1) = 1
D
5
= D
5
+ 2c
51
2c
54
= +0 + 2(0 1) = 2
D
6
= D
6
+ 2c
61
2c
64
= +0 + 2(0 1) = 2
Chapter 2: Partitioning p.33
Example - contd
i
and then recompute
the gains:
g
25
= D
2
+ D
5
2c
25
= (1) + (2) 2(0) = 3
g
26
= D
2
+ D
6
2c
26
= (1) + (2) 2(0) = 3
g
35
= D
3
+ D
5
2c
35
= (1) + (2) 2(0) = 3
g
36
= D
3
+ D
6
2c
36
= (1) + (2) 2(0) = 3
= A
{3} = {2},
B
= B
{6} = {5}.
Chapter 2: Partitioning p.34
Example - contd
2
= D
2
+ 2c
23
2c
26
= 1 + 2(1 0) = 1
D
5
= D
5
+ 2c
56
2c
53
= 2 + 2(1 0) = 0
Step 5: Determine k.
We see that g
1
= +2, g
1
+ g
2
= 1, and
g
1
+ g
2
+ g
3
= 0.
Therefore, X = {a
1
} = {4} and Y = {b
1
} = {1}.
i=1
(2n 2i) = O(n
2
)
Hence, if D
a
k
+ D
b
l
< g
ij
for some i, j then g
kl
< g
ij
.