98
平平平平平平平平平平平平平 明明明明明明明明明明明明明 明明明明 明明明明明Qianping Gu (Simon Fraser 明 ) 明明明明 明明明明明明明明明明明 ()

平面グラフ分枝幅と分枝分割

Embed Size (px)

DESCRIPTION

平面グラフ分枝幅と分枝分割. 明治大学理工学部情報科学科 玉木久夫. 共同研究者: Qianping Gu (Simon Fraser 大 ) 吉武由実(明治大学理工学研究科). 内容. Part 1 グラフの分枝幅と分枝分割:定義と背景 平面グラフの分枝分割アルゴリズム O( n 4 ) 時間アルゴリズム( Seymour & Thomas 94) O( n 3 ) 時間への改良( Gu & Tamaki 05) Part 2 平面グラフの分枝幅 - PowerPoint PPT Presentation

Citation preview

Page 1: 平面グラフ分枝幅と分枝分割

平面グラフ分枝幅と分枝分割

明治大学理工学部情報科学科玉木久夫

共同研究者:Qianping Gu (Simon Fraser 大 )

吉武由実(明治大学理工学研究科)

Page 2: 平面グラフ分枝幅と分枝分割

内容Part 1

• グラフの分枝幅と分枝分割:定義と背景• 平面グラフの分枝分割アルゴリズム   O(n4) 時間アルゴリズム( Seymour & Thom

as 94)   O(n3) 時間への改良( Gu & Tamaki 05)

Part 2• 平面グラフの分枝幅  ねずみ捕りゲームによる特徴づけと O(n2)

時間アルゴリズム ( Seymour & Thomas 94) 特徴づけの理解: 実際的な改良へ向けて

Page 3: 平面グラフ分枝幅と分枝分割

Part 1

Page 4: 平面グラフ分枝幅と分枝分割

Branch-decomposition( 分枝分割 )

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

bg

d

ca

f

e

Page 5: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

bg

d

ca

fe

Page 6: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

b gd

ca f

e

Page 7: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

b gd

c

a f

e

Page 8: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

b gd

c

a f

e

Page 9: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Conceptual definition: a recursive binary decomposition of E(G)

bg

d

c

a f

e

Page 10: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Formal definition:a ternary tree with leaf set E(G)

bg

d

c

a f

e

Page 11: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Formal definition:a ternary tree with leaf set E(G)

bg

d

c

a f

e

… abstracts away the starting bipartition

Page 12: 平面グラフ分枝幅と分枝分割

Branch-decomposition

A branch-decomposition of graph G :

a

b d

e

f

gc

G

Formal definition:a ternary tree with leaf set E(G)

bg

d

c

a f

e

… abstracts away the starting bipartition …

Page 13: 平面グラフ分枝幅と分枝分割

Branchwidth (分枝幅)The width of branch-decomposition T of G :

a

b d

e

f

gc

G

The maximum cardinality of the vertex cuts of G associated with the edges of T.

bg

d

c

a f

e

Page 14: 平面グラフ分枝幅と分枝分割

Branchwidth

The width of branch-decomposition T of G :

The maximum cardinality of the vertex cuts of G associated with the tree edges of T.

3

a

b d

e

f

gc

G bg

d

c

a f

e

Page 15: 平面グラフ分枝幅と分枝分割

Branchwidth

The width of branch-decomposition T of G :

G

The maximum cardinality of the vertex cuts of G associated with the tree edges of T.

a

b d

e

f

gc

bg

d

c

a f

e

3 32

3

222

2

22

4

width = 4

Page 16: 平面グラフ分枝幅と分枝分割

Branchwidth

The branchwidth of G :

The minimum width of all the branch-decompositions of G.

Page 17: 平面グラフ分枝幅と分枝分割

Background• Branch-decompositions are introduced by Robertson and Seym

our (1991) in relation to tree-decompositions.

vertex cuts tree edges of a branch-decomposition.

tree nodes of a tree-decomposition,

• bw(G) ≦   tw(G) + 1 (3/2) bw(≦ G)

• Many NP-hard combinatorial problems on graphs can be solved in 2O(bw(G))n time, via DP based on the decomposition.

.

Page 18: 平面グラフ分枝幅と分枝分割

General graphs :  NP-complete to decide whether bw(G) ≦ k for give

n G, k, if k is part of the input.Planar graphs :  The decision problem: O(n2) time Constructing the corresponding decomposition: O(n

4) time

If k is fixed, then the decision and the construction can both be done in linear time on general graphs (Bodlaender & Thilikos 97).

Known results ( Seymour-Thomas 94)

O(n3) : This work

Page 19: 平面グラフ分枝幅と分枝分割

Rest of Part 1

• Carving decomposition• Seymour-Thomas algorithm for planar graphs• Key lemmas for improvement• Algorithm and analysis: some ideas

Page 20: 平面グラフ分枝幅と分枝分割

Carving decomposition (刻み分割) of G• A recursive binary decomposition of V(G)• Formally a ternary tree with leaf set V(G).• The width of carving decomposition T of G is the

maximum cardinality of the edge cuts of G associated with tree edges of T.

1

24

53

G2 3

5

1

4

5

Page 21: 平面グラフ分枝幅と分枝分割

Branch-decomposition vs carving-decomposition

The problem of computing an optimal decomposition of planar graph G can be reduced to that of computing an optimal carving-decomposition of a related planar multi-graph M(G). (Seymour and Thomas 94).

Page 22: 平面グラフ分枝幅と分枝分割

Goal

Tool: O(n2)-time Carving-width decision procedure (Seymour and Thomas 94)

Given a planar multi-graph G and a positive integer k, decides whether the carvingwidth of G exceeds k.

Given a planar multi-graph G with n vertices and O(n) edges, a minimum-width carving decomposition of G can be constructed in O(n3) time.

Page 23: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-decomposition

Start from singleton sets of vertices.

1 2

3

46

5

7

Page 24: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

Page 25: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

46

5

7

Page 26: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

4 65

7

Page 27: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

4 65

7

Page 28: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

4 65

7

Page 29: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

4 65

7

Page 30: 平面グラフ分枝幅と分枝分割

Bottom-up construction of a carving-dec.

Merge two vertex sets into one, at a time.

1 2

3

46

5

7

1 2

3

4 65

7

Page 31: 平面グラフ分枝幅と分枝分割

Bond carving

Bond carving of G: a carving decomposition of G in which every cut

bipartitions V(G) into two connected sets, i.e., every cut is a dual cycle

Lemma (Seymour and Thomas 94)

In the bottom up process, we can only merge adjacent vertex sets

For every planar multi-graph G, the optimal carvingwidth can be achieved by a bond carving.

Page 32: 平面グラフ分枝幅と分枝分割

How to guide the bottom-up construction

We have a contracted multi-graph at each step.

1 2

3

46

5

7

Page 33: 平面グラフ分枝幅と分枝分割

How to guide the bottom-up construction

We have a contracted multi-graph at each step.

1 2

3

6

5

7

Page 34: 平面グラフ分枝幅と分枝分割

How to guide the bottom-up construction

We have a contracted multi-graph at each step.

1 2

3

6

5

7

Use the width decision procedure to ensure that the carvingwidth does not exceed the original width at any step.

We say that two vertex sets X and Y are mergeable if merging them into one does not cause the carvingwidth to exceed the original optimal width

Page 35: 平面グラフ分枝幅と分枝分割

A carving-decomposition algorithm

1. Decide the carvingwidth k of G.

2. M the set of all singleton vertex sets of G.

3. While |M| > 1 do

Find a mergeable pair X , Y of vertex sets in M and replace them by X U Y.

At each iteration, the O(n2)-time decision procedure is called O(n) times for mergeability testing.

O(n4) time in total for n iterations

Page 36: 平面グラフ分枝幅と分枝分割

Our refinement

Reduce the number of calls to the decision procedure througout the execution from O(n2) to O(n).

The answers to all the other mergeability tests are deduced from previous test results in O(n) time each.

Page 37: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, where k is the carving width of G2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

Page 38: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

≦ k

Page 39: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

Page 40: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

Page 41: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

Page 42: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

?

Page 43: 平面グラフ分枝幅と分枝分割

Key lemmaLet X, Y, W, Z be in the current set M of vertex sets, such that1. |G(X U Y)| ≦ k, 2. X and Y are not mergeable,3. No edge of G between W and Z.4. X and W are mergeable and so are Y and Z. Let M’ be obtained from M by merging these two pairsThen, X UW and Y UZ are not mergeable in M’.

X Y

W Z

Page 44: 平面グラフ分枝幅と分枝分割

Proof of the key lemma

We assume that X UW and Y UZ are mergeable and show that X and Y would then be mergeable

YXZW

A

Assume we have

Page 45: 平面グラフ分枝幅と分枝分割

Proof of the key lemma

We assume that X UW and Y UZ are mergeable and show that X and Y would then be mergeable

YXZW

A

X

Z

W

A

Y

X Z

W

A

Y

Assume we have

then, we have

or

Page 46: 平面グラフ分枝幅と分枝分割

Proof of the key lemma

We only need to consider the red cuts below.

(Blue cuts are ok by the assumption of the lemma)

YXZW

A

X

Z

W

A

Y

X Z

W

A

Y

Page 47: 平面グラフ分枝幅と分枝分割

Proof of the key lemma (completed)

cut1 + cut2 = cut3 + cut4 2≦ k

So, either cut1 ≦ k or cut2 ≦ k

Note there are no edges between W and Z by assumption

W Z

X ∪Y

A

2

1 3

4

Page 48: 平面グラフ分枝幅と分枝分割

Finished?

Only one expensive test between a pair, as long as the set of edges between them does not change?

X Y

Page 49: 平面グラフ分枝幅と分枝分割

Finished?

Only one expensive test between a pair, as long as the set of edges between them does not change?

X Y

W1Z1

Page 50: 平面グラフ分枝幅と分枝分割

Finished?

Only one expensive test between a pair, as long as the set of edges between them does not change?

X Y

W1Z1

W2 Z2

Page 51: 平面グラフ分枝幅と分枝分割

Finished?

X Y

W1Z1

W2 Z2

W3Z3

Only one expensive test between a pair, as long as the set of edges between them does not change?

Page 52: 平面グラフ分枝幅と分枝分割

Finished?

X Y

W1Z1

W2 Z2

W3Z3

Problem: once the union of the pair has > k edges out, we cannot apply the lemma any more.

> k

?

Page 53: 平面グラフ分枝幅と分枝分割

Need a better use of the lemma

Forest view of the situation.

YX

Z1

Z2

Z3

W1

W2

W3

?

Page 54: 平面グラフ分枝幅と分枝分割

Need a better use of the lemma

Forest view of the situation.

YX

Z1

Z2

Z3

W1

W2

W3

?

Page 55: 平面グラフ分枝幅と分枝分割

If we can rearrange the subtrees on the side …

YX

Z1

Z2

Z3

W1

W2

W3

?

Page 56: 平面グラフ分枝幅と分枝分割

If we can rearrange the subtrees on the side …

Then we can apply the lemma.

YX

Z1

Z2

Z3

W1

W2

W3

Page 57: 平面グラフ分枝幅と分枝分割

When are the rearrangements are possible?

If the sizes of the red cuts do not exceed the optimal width k.

Z1

Z2

Z3

W1

W2

W3

Page 58: 平面グラフ分枝幅と分枝分割

Barriers

A descending chain in the constructed forest as below is called a barrier if

|G(Z1 U Z2 U … U Zj)| > k,

Z1

Z2

Zj

Page 59: 平面グラフ分枝幅と分枝分割

Barrier-free chains

The ‘side-subtrees’ along a descending chain can be rearranged into one subtree if no prefix of the chain is a barrier.

Z1

Z2

Zj

Z2

Z1

Zj

Page 60: 平面グラフ分枝幅と分枝分割

Our test of mergeability

If |G(X U Y)| > k then answer NO.

YX

?

Page 61: 平面グラフ分枝幅と分枝分割

Our test of mergeability

Otherwise, identify maximal X’ ⊆   X and Y’ ⊆  Y in the forest s.t. EG(X, Y) = EG (X’, Y’) and the test for (X’, Y’) was executed with a negative answer.

YX

?

X’ Y’

Page 62: 平面グラフ分枝幅と分枝分割

Our test of mergeability

If both of the chains from the root for X to the root for X’ and from the root for Y to the root for Y’ are barrier free, then answer NO.

YXX’ Y’

barrer-freebarrer-free

Page 63: 平面グラフ分枝幅と分枝分割

Our test of mergeability

Otherwise, call the O(n2)-time decision procedure.

YXX’ Y’

?

Page 64: 平面グラフ分枝幅と分枝分割

AnalysisLemma:Using our test of mergeability, the O(n2)-time decision procedu

re is called O(n) times.

Proof ideas  F = {(X, Y) | the decision procedure is called for (X, Y)} Equivalence relation      (X, Y) ~ (X’, Y’) ⇔ EG(X, Y) = EG (X’, Y’) The number of equivalence classes in F are O(n). For each equivalence class C, |C| - 1 barriers are associated. We can choose O(n/k) representative barriers, so that

1. To each element of F, one representative barrier is associated.2. O(k) elements of F are associated with each representative barrier.

|F| = O(n)

Page 65: 平面グラフ分枝幅と分枝分割

Total running time

O(n) decision procedure calls,

O(n2) time each … O(n3)

O(n2) cheap tests, O(n) time each … O(n3)

Maintenance of the contracted graphs:

O(n) updates, O(n) time each … O(n2)

Page 66: 平面グラフ分枝幅と分枝分割

Open questions

o(n3) time algorithm for planar branch-/carving-decomposition … difficult

o(n2) time algorithm for planar branch-/carvingwidth … more difficult

Polynomial time algorithm for the treewidth of planar graphs … super difficult.

Page 67: 平面グラフ分枝幅と分枝分割

Part 2

Page 68: 平面グラフ分枝幅と分枝分割

ネズミ捕りゲーム環境: 平面グラフ G, 正整数 k

プレイヤ: ねずみ      ねずみ捕り

– ねずみは G の頂点に住み、辺を通って移動する。– ねずみ捕りは G の面に住み、双対辺を通って移動する。– お互いに、相手が見える。– ねずみ捕りは、騒音を発してねずみの移動を妨害する。G の辺 e が通行不能  e と ねずみ捕りのいる面または辺を

通る、長さ k 未満の閉じた双対歩道が存在する。

e

Page 69: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 70: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 71: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 72: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 73: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 74: 平面グラフ分枝幅と分枝分割

ゲームの手順(1)    が面を選ぶ(2)    が頂点を選ぶ以下のラウンドを繰り返す  (a)     が現在の面に接する辺を選び、その上に移

動  (b)     が通行可能な辺を(いくつでも)通って行

ける頂点を選び移動  (c)     が、辺から今までいたのと反対の面に移動

k = 4

Page 75: 平面グラフ分枝幅と分枝分割

勝敗決定    の勝利(   の捕捉):      が   のいる頂点と接する面に

いて、      のいる頂点の次数が k 未満である。

  の勝利=永久に捕捉を免れる      

k = 4

Page 76: 平面グラフ分枝幅と分枝分割

平面グラフの刻み幅( Carvingwidth )の特徴付け

定理( Seymour&Thomas 94)

G: 平面グラフ  k: 正整数  G の刻み幅が k 以上    ⇔  (G, k) 上のねずみ捕りゲームがねず

み必勝

Page 77: 平面グラフ分枝幅と分枝分割

以下の内容• ねずみ捕りゲームの勝敗決定アルゴリズム  (→ 平面グラフの刻み幅決定アルゴリズム)• 特徴づけ定理の証明

(1)やさしい方向  幅 k 未満の刻み分割 => ねずみ捕りの必勝戦略(2)難しい方向  幅 k 未満の刻み分割の不在 => ねずみの必勝戦略  グラフマイナーシリーズの定理2つを使用

• (2)の理解から得られる実際的な改良の方向

Page 78: 平面グラフ分枝幅と分枝分割

ねずみ捕りゲームの勝敗決定アルゴリズム平面グラフ G とパラメータ k

 :固定e : G の辺 Ge  :ねずみ捕りが e にいるとき

に通行可能な(うるさくない)辺からなる G の全域部分グラフ

ゲームの2部グラフ  B(G, k) 左の頂点 ( f, v) : f は G の面、

v は G の頂点 右の頂点 ( e, C) : e は G の辺、

C は Ge の連結成分  e と f が接し、 v ∈ C のとき   ( f, v) と( e, C) を辺で結ぶ

( f, 1)

( f, 2)

( f, 7)

( f, 3)

( f, 4)

( f, 6)

( f, 8)

( e, {2,3})

( e, {6,7})

( e, {5})( f, 5)

( e, {9})

k = 4

1

54

3

2

8

6

7

9

10f

e

( f, 10)( f, 9)

( e, {1,4})

( e, {8,10})

Page 79: 平面グラフ分枝幅と分枝分割

B(G, k) 上でのゲーム実行初期配置:  が 面 f0 を選び    が頂点 v0 を

選ぶ 左頂点 (f0, v0) が決定

ラウンド: 現在の左頂点 (f, v)

   が、 (f, v) と隣接する 右頂点 (e, C) を選ぶ    ( e を選べば C は自動的に決定)   が、 (e, C) と隣接する左頂点 (f’, v’) を選ぶ    ( f’ は e に関して f と反対側の面)

Page 80: 平面グラフ分枝幅と分枝分割

B(G, k) の頂点の塗り分け黒い頂点:    必勝白い頂点:    必勝仮定:  G のどの頂点も次数 < k規則1:面 f と 頂点 v が接していれば (f, v) を黒く塗る規則2:辺 e と接する面を f1 , f2 とし、 C を Ge のある連

結成分とするとき、 (e, C) と隣接する (f1, v) の形の左頂点がすべて黒、または (e, C) と隣接する (f2, v) の形の左頂点がすべて黒ならば (e, C) を黒く塗る

規則3:左頂点 (f, v) と隣接する右頂点で黒いものがあれば (f, v) を黒く塗る

すべての頂点が白い状態から出発して、規則1、2、3が適用できる限り適用を繰り返す。

Page 81: 平面グラフ分枝幅と分枝分割

必勝戦略左の黒い頂点から:     の必勝戦略   規則2,3の伝播の向きを逆にたどり、

常に黒い頂点にいるようにする。必ず規則1の頂点にたどりつく。

右の白い頂点から:     の必勝戦略   左の隣接頂点で白いものを選ぶ。白い頂点がひとつでもあれば   必勝すべての頂点が黒ならば   必勝

Page 82: 平面グラフ分枝幅と分枝分割

塗り分けアルゴリズムの効率B(G, k) の頂点数:  O(n2) 辺の数:  O(n2)

黒色の伝播に各辺は高々一度使われる。

O(n2)  時間

注: 実際のアルゴリズムでは、面 f についてもねずみ捕りが f にいるときに通行可能な辺からなるグラフ Gf を考えて、2部グラフの頂点は、 (f, C) 、 C は Gf の連結成分、とする。

Page 83: 平面グラフ分枝幅と分枝分割

特徴づけの証明(やさしい方向)幅 k 未満の刻み分割 →    の必勝戦略仮定: G は幅 k 未満の刻み分割を持つ=> G は幅 k 未満の bond carving を持つ

X

Y

X

Y

Page 84: 平面グラフ分枝幅と分枝分割

特徴づけの証明(やさしい方向)

幅 k 未満の bond carving

X

Y

X

Y

Page 85: 平面グラフ分枝幅と分枝分割

特徴づけの証明(やさしい方向)

幅 k 未満の bond carving

X

Y

X

Y

Page 86: 平面グラフ分枝幅と分枝分割

特徴づけの証明(やさしい方向)

幅 k 未満の bond carving

Y

X1

Y

X2

X1 X2

Page 87: 平面グラフ分枝幅と分枝分割

特徴づけの証明(やさしい方向)

幅 k 未満の bond carving

Y

X1

Y

X2

X1 X2

Page 88: 平面グラフ分枝幅と分枝分割

特徴づけの証明(難しい方向)幅 k 未満の刻み分割の不在 => ねずみの必勝戦

組み合わせ的な補題( Graph Minors. X )位相的な補題( Graph Minors. XI )

Page 89: 平面グラフ分枝幅と分枝分割

Tilt: 一般のグラフに対する刻み分割の障害物G における 位数 k の tilt :   B ⊆ 2V(G)  で次の条件を満たすもの(1) | G ( X ) | < k  のとき、またそのときに限り、    X と  V(G) \ X のどちらか一方が B  に属す。(2)もし  X, Y, Z  ∈ B ならば X ∪ Y ∪ Z ≠ V(G) (3)各 v ∈ V(G) に対して { v }∈ B

定理( Robertson & Seymour 91) G の刻み幅が k 以上  G における 位数 k の tilt

が存在する

証明 (<=) 容易(次ページ)    (=>) 難しい

Page 90: 平面グラフ分枝幅と分枝分割

易しい方向の証明G における位数 k の tilt が存在 => G の刻み幅

≧ k

位数 k の tilt B  と 幅 k 未満の刻み分割 Tが両方存在すると仮定して矛盾を導く

B  に基づいて、 T の各辺に方向をつける。

X

Y

X ∈ B

Y ∈ B

Y

X

X

Y

Y

Page 91: 平面グラフ分枝幅と分枝分割

易しい方向の証明 ( つづき)T の葉と接続する辺はかならず中に向かう              

T

X ∪Y ∪ Z = V(X) で tilt の条件( 2 )と矛盾

X

Y

Z

必ず入次数3のノードがある

Page 92: 平面グラフ分枝幅と分枝分割

難しい方向G における位数 k の tilt が存在しない=>  G の幅 k 未満の刻み分割が存在

– 帰納法による構成的証明。– 帰納法のために、刻み分割の概念の一般化が必要。– そのまま実行すると指数時間かかる。

Page 93: 平面グラフ分枝幅と分枝分割

現在位置刻み幅のねずみ捕りゲームによる特徴づけ

難しい方向   幅 k 未満の刻み分割の不在 => ねずみの必勝戦

略  組み合わせ的補題    幅 k 未満の刻み分割の不在        => 位数 k の  tilt の存在  位相的補題

 平面グラフにおいては、 tilt とねずみの必勝戦略は同じもの

 

Page 94: 平面グラフ分枝幅と分枝分割

Tilt = ねずみの必勝戦略G:  平面グラフB : G における位数 k の tilt C : G の長さ k 未満の双対閉路(X, Y): カット C による V(G) の 2 分割X と Y のちょうど一方が B に属す。B に属さない方を、 safeB (C ) であらわす(安全サイド)。

X Y

C

Page 95: 平面グラフ分枝幅と分枝分割

Tilt = ねずみの必勝戦略(続き)平面グラフ G, 正整数 k: 固定f :  G の面Cf : ねずみ捕りが f にいるときに通行不能な辺から

なる、長さ G の双対閉路すべてからなる集合

補題  G における位数 k の tilt B  が存在するならばG のすべての面 f に対して

解釈:ねずみ捕りがどの面にいても、ねずみは tilt B  の処方する安全地帯にいることができる。

証明: ある面  f  に対して補題の intersection が空ならば、

ある C1,C2,C3 に対して safeB (C1 )∩ safeB (C2 ) ∩ safeB (C3 )が空であることが示せる。  Tilt の条件(2)に矛盾。

fC

CC

B )(safe

Page 96: 平面グラフ分枝幅と分枝分割

特徴付け定理の理解=>アルゴリズムの改良• 理論的な改良( o(n2) 幅決定、 o(n3) 分割構

成)はかなり難しそう。 組み合わせ的補題の難しい方向に、平面グラフの場合の全く新しい別証があれば突破口になるかもしれないが。

• 理解と、実験的知見にもとづいたヒューリスティックはいろいろ考えられる。主な目的:使用メモリ量の削減。

Page 97: 平面グラフ分枝幅と分枝分割

例:ねずみの極小戦略• ねずみの極大必勝戦略: ゲームの2部グラ

フの塗り分けから得られる白い頂点の集合• 極小戦略: 各面に f に対して、 Gf の唯一

の連結成分 C があって、 v ∈ C に対する頂点 (f, v) のみを使用する。

• 実験的知見: ねずみ必勝のインスタンスでは(特に k が小さすぎて、楽に逃げ切れる場合) Gf  は巨大コンポーネントを持つ傾向。

•  => ヒューリスティック: 各 Gf  の巨大コンポーネントが極小必勝戦略を構成するかどうかをチェックする。

Page 98: 平面グラフ分枝幅と分枝分割

今後の方向• 特徴づけ定理の理解をさらに深める。• 理解を、アルゴリズムの実際的な改良に利用

していく。• できれば理論的な改良もかんがえたい。