More applications of the d -neighbor equivalence: acyclic and - - PowerPoint PPT Presentation

more applications of the d neighbor equivalence acyclic
SMART_READER_LITE
LIVE PREVIEW

More applications of the d -neighbor equivalence: acyclic and - - PowerPoint PPT Presentation

More applications of the d -neighbor equivalence: acyclic and connectivity constraints Benjamin Bergougnoux , Mamadou Moustapha Kant IRIF, CNRS, Universit Paris Diderot, France LIMOS, CNRS, Universit Clermont Auvergne, France


slide-1
SLIDE 1

More applications of the d-neighbor equivalence: acyclic and connectivity constraints

Benjamin Bergougnoux⋆, Mamadou Moustapha Kanté†

⋆ IRIF, CNRS, Université Paris Diderot, France † LIMOS, CNRS, Université Clermont Auvergne, France

ESA, Munich, October 11, 2019

slide-2
SLIDE 2

Width measures

▸ Tree-width is nice but unbounded in any dense graph class. ▸ Many NP-hard problems are tractable on some dense graph classes. → Explainable with clique-width, rank-width, mim width.

2 / 29

slide-3
SLIDE 3

Divide a graph

Recursively decompose your graph...

G

We recursively cut the vertex set in two

3 / 29

slide-4
SLIDE 4

Divide a graph

Recursively decompose your graph... into simple cuts. → We describe the simplicity of a cut with a function f: cut → N.

Different notions of simplicity = different width measures.

3 / 29

slide-5
SLIDE 5

Divide a graph

Width of a decomposition D ∶= max f(cut) among the cuts of D.

G

3 / 29

slide-6
SLIDE 6

Divide a graph

Width of a graph G ∶= min width of the decompositions of G.

G G G G

3 / 29

slide-7
SLIDE 7

Module-width

Defined from the function mw(A) ∶= ∣{N(v) ∩ A ∶ v ∈ A}∣.

A A

Linearly equivalent to clique-width:

[Rao 2006]

For all graphs G, we have mw(G) ≤ cw(G) ≤ 2mw(G).

4 / 29

slide-8
SLIDE 8

Rank-width

Defined from the function rw(A) ∶= the rank of adjacency matrix between A and A over GF(2).

A A

  1 1 1 1 1 1  

5 / 29

slide-9
SLIDE 9

Maximum Induced Matching width (mim-width)

Defined from the function mim(A) ∶= the size of a maximum induced matching in the bipartite graph between A and A.

A A

6 / 29

slide-10
SLIDE 10

Generality / Modeling power

Tree, partial k-tree Clique, hereditary distance permutation, interval, k-polygon, ... cliques, hereditary distance trees, partial k-trees

tree-width clique-width rank-width mim-width

7 / 29

slide-11
SLIDE 11

Computation complexity

▸ NP-hard for all these widths measures. ▸ Efficient algorithms for tree-width and rank-width. → Running time: 2O(k) ⋅ nO(1). ▸ Tough open questions for clique-width and mim-width.

8 / 29

slide-12
SLIDE 12

Algorithmic applications

MSO2 MSO1

tree-width clique-width rank-width mim-width

9 / 29

slide-13
SLIDE 13

Intuition: conquer

G

10 / 29

slide-14
SLIDE 14

Intuition: conquer

S1 S2 S

Combination Reduction

11 / 29

slide-15
SLIDE 15

Intuition: conquer

In general

If it is enough to keep N partial solutions at each step, then we can solve the problem in time N O(1) ⋅ nO(1).

12 / 29

slide-16
SLIDE 16

One algorithm to rule them all

Theorem [B., Kanté 2019]

We have a meta-algorithm for the connected and acyclic variants of (σ,ρ)-dominating set problems. ▸ Connected dominating set, ▸ Connected vertex cover, ▸ Node-weighted Steiner tree, ▸ Feedback vertex set, ▸ Maximum induced tree, ▸ Longest induced path, ▸ Maximum induced linear forest, ▸ Max. induced tree of ∆ ≤ 42,...

13 / 29

slide-17
SLIDE 17

One algorithm to rule them all

Theorem [B., Kanté 2019]

We have a meta-algorithm for the connected and acyclic variants of (σ,ρ)-dominating set problems.

Corollary [B., Kanté 2019]

These problems are solvable in time: tree-width 2O(tw) ⋅ nO(1) clique-width 2O(cw) ⋅ nO(1) rank-width 2O(rw2) ⋅ nO(1) mim-width nO(mim)

  • ⇒ Polytime in interval graphs, permutations graphs, k-trapezoid,...

13 / 29

slide-18
SLIDE 18

Key: d-neighbor equivalence

necd(A): # of equivalence classes of the d-neighbor equivalence over A.

Theorem [Bui-Xuan, Telle, Vatshelle 2013]

It is enough to keep necd(A) ⋅ necd(A) partial solutions at each cut (A,A), for any (σ,ρ)-Dominating Set problem.

Lemma [Vatshelle 2012]

necd(A) is upper bounded by: tree-width 2d⋅tw ⋅ nO(1) clique-width 2d⋅cw ⋅ nO(1) rank-width 2d⋅rw2 ⋅ nO(1) mim-width nd⋅mim

14 / 29

slide-19
SLIDE 19

Key: d-neighbor equivalence

necd(A): # of equivalence classes of the d-neighbor equivalence over A.

Theorem [Bui-Xuan, Telle, Vatshelle 2013]

It is enough to keep necd(A) ⋅ necd(A) partial solutions at each cut (A,A), for any (σ,ρ)-Dominating Set problem.

Corollary [Bui-Xuan, Telle, Vatshelle 2013]

We can solve these problems in time: tree-width 2O(tw) ⋅ nO(1) clique-width 2O(cw) ⋅ nO(1) rank-width 2O(rw2) ⋅ nO(1) mim-width nO(mim)

14 / 29

slide-20
SLIDE 20

Our result

Theorem [B., Kanté 2019]

It is enough to keep necd(A) ⋅ necd(A) ⋅ nec1(A)2 partial solutions at each cut (A,A), for any connected variant of a (σ,ρ)-Dominating Set problem.

Corollary [B., Kanté 2019]

We can solve these problems in time: tree-width 2O(tw) ⋅ nO(1) clique-width 2O(cw) ⋅ nO(1) rank-width 2O(rw2) ⋅ nO(1) mim-width nO(mim)

15 / 29

slide-21
SLIDE 21

Connected Dominating set and 1-neighbor equivalence

16 / 29

slide-22
SLIDE 22

Connected Dominating set and 1-neighbor width

Connected dominating set

Finding a vertex set D of minimum weight which dominates all the vertices and which induces a connected graph.

17 / 29

slide-23
SLIDE 23

1-neighbor equivalence relation

X,Y ⊆ A are 1-neighbor equivalent in A if N(X) ∩ A = N(Y ) ∩ A.

A X Y A

nec1(A) ∶= # of equivalence classes over A.

Theorem [B. and Kanté 2018]

It is enough to keep nec1(A)3nec1(A) partial solutions for each cut (A,A) to solve Connected dominating set.

18 / 29

slide-24
SLIDE 24

Dealing with domination

A set of partial solutions for each equivalence class R′ of the 1- neighbor equivalence over A.

A A

Y

19 / 29

slide-25
SLIDE 25

Dealing with domination

A A

The sets Y ∈ R′ have the same neighborhood in A.

Y

19 / 29

slide-26
SLIDE 26

Dealing with domination

Y ′

A A

The sets Y ∈ R′ have the same neighborhood in A.

19 / 29

slide-27
SLIDE 27

Dealing with domination

X

Partial solutions associated with R′ : → X ⊆ A such that X ∪ Y dominates A, for (all) Y ∈ R′

A A

Y

19 / 29

slide-28
SLIDE 28

Dealing with domination

Partial solutions associated with R′ : → X ⊆ A such that X ∪ Y dominates A, for (all) Y ∈ R′

A A

Y X′

19 / 29

slide-29
SLIDE 29

Dealing with domination

∅ V (G)

At the root of the decomposition, the cut is (V (G), ∅) : → A partial solution is a dominating set.

X

19 / 29

slide-30
SLIDE 30

Dealing with domination

A A

Y

Two partial solutions associated with R′ are equivalent for the dom- ination if they are 1-neighbor equivalent!

X

19 / 29

slide-31
SLIDE 31

Dealing with domination

A A

Y

Two partial solutions associated with R′ are equivalent for the dom- ination if they are 1-neighbor equivalent!

X′

19 / 29

slide-32
SLIDE 32

Lemma [Bui-Xuan, Telle and Vatshelle, 2013]

For Dominating set, it is enough to keep nec1(A) ⋅ nec1(A) partial solutions at each step. One partial solution: ▸ for each 1-neighbor equivalence class R′ of A, and ▸ for each 1-neighbor equivalence class R of A

20 / 29

slide-33
SLIDE 33

Dealing with connectivity

▸ We need an equivalence relation between sets of partial solutions.

21 / 29

slide-34
SLIDE 34

Dealing with connectivity

▸ We need an equivalence relation between sets of partial solutions. ▸ For all Y ∈ R′ and for all sets of partial solutions S, we define: best(S,Y ) ∶= min{weight(X) ∶ X ∈ S and G[X ∪ Y ] is connected}.

R′-representativity

We say that S⋆ R′-represents S if, for all Y ∈ R′, we have best(S,Y ) = best(S⋆,Y ).

21 / 29

slide-35
SLIDE 35

Representative set

▸ At the root (V (G),∅): an {∅}-representative set of the set of all partial solutions must contain an optimal solution. → best(S,∅) ∶= min{weigth(X) ∶ X ∈ S and G[X] is connected}.

22 / 29

slide-36
SLIDE 36

Representative set

▸ At the root (V (G),∅): an {∅}-representative set of the set of all partial solutions must contain an optimal solution. → best(S,∅) ∶= min{weigth(X) ∶ X ∈ S and G[X] is connected}.

Theorem [B., Kanté 2019]

There exists a function reduce: ▸ Input: a set of partial solutions S ⊆ 2A. ▸ Output: S⋆ ⊆ S such that ∣S⋆∣ ≤ nec1(A)2 and S⋆R′-represents S. ▸ Running time: ∣S∣ ⋅ nec1(A)O(1) ⋅ n2.

22 / 29

slide-37
SLIDE 37

Sketch of proof

Inspiration [Bodlaender, Cygan, Kratsch, Nederlof 2013]

Rank based approach: technique to obtained 2O(tw) ⋅ n time algorithms for many connectivity problems. Let M be the (S,R′)-matrix: M[X,Y ] ∶= ⎧ ⎪ ⎪ ⎨ ⎪ ⎪ ⎩ 1 if G[X ∪ Y ] is connected,

  • therwise.

▸ In GF(2): a basis of the row space of M of minimum weight R′-represents S. ▸ But M is too big to be computed.

23 / 29

slide-38
SLIDE 38

Sketch of proof

P: the set of pairs (R′

1,R′ 2) of 1-neighbor equivalence classes in A.

R′ S

M

R′ S

=

P

C

P

C

GF(2)

▸ A basis of C is also a basis of M. ▸ ∣P∣ = nec1(A)2. ▸ C is computable in time ∣S∣ ⋅ ∣P∣ ⋅ n2.

24 / 29

slide-39
SLIDE 39

Trick

vY There is 2|CC(X∪Y )|−1 ways of dividing X ∪ Y such that vY is on

  • ne side.

25 / 29

slide-40
SLIDE 40

Trick

vY There is 2|CC(X∪Y )|−1 ways of dividing X ∪ Y such that vY is on

  • ne side.

C · C[X, Y ] = 2|CC(X∪Y )|−1

25 / 29

slide-41
SLIDE 41

Trick

C[X, (R′

1, R′ 2)]=1 if and only if

∈ R′

1

∈ R′

2

X Y

25 / 29

slide-42
SLIDE 42

Trick

C[(R′

1, R′ 2), Y ]=1 if and only if

∈ R′

1

∈ R′

2

vY

Y

25 / 29

slide-43
SLIDE 43

Trick

C · C[X, Y ] = 2|CC(X∪Y )|−1 C · C = M

GF(2)

25 / 29

slide-44
SLIDE 44

Acyclicity

Theorem [B., Kanté 2019]

It is enough to keep necd(A) ⋅ necd(A) ⋅ nec1(A)2 ⋅ X partial solutions at each cut (A,A), for any acyclic and acyclic+connected variant of a (σ,ρ)-Dominating Set problem.

Corollary [B., Kanté 2019]

We can solve these problems in time: tree-width 2O(tw) ⋅ nO(1) clique-width 2O(cw) ⋅ nO(1) rank-width 2O(rw2) ⋅ nO(1) mim-width nO(mim)

26 / 29

slide-45
SLIDE 45

Overview

Thanks to the d-neighbor equivalence, we obtain the best algorithms: ▸ for many problems → (σ,ρ)-Dominating Set problems and their variants. ▸ for many width-measures → tree-width, clique-width, rank-width, mim-width, Q-rank-width. The algorithms for clique-width and tree-width are optimal under ETH. → What about rank-width: is 2O(rw2) ⋅ nO(1) optimal?

27 / 29

slide-46
SLIDE 46

Hamiltonian cycle, Max Cut and Edge Dominating Set

Can we use the d-neighbor equivalence for W[1]-hard problems parameterized by clique-width? ▸ We can solve these 3 problems in time 2O(tw) ⋅ n and nO(cw). → Optimal under ETH. ▸ Using the d-neighbor equivalence width d a constant is useless.

Theorem [B., Kanté 19]

For Max Cut, it is enough to keep necn(A) partial solutions at each cut (A,A).

Corollary [B., Kanté 19]

We can solve Max Cut in time nO(cw), nO(rwQ) and n2O(rw).

28 / 29

slide-47
SLIDE 47

The dream

Towards a “Courcelle’s theorem” which gives efficient algorithms?

A problem Algorithm for tw Algorithm for cw Constraints basket Best Best

Example:

We want a set of vertices X of minimum weight satisfying:

DominatingSet(X) ∧ Acyclic(X) ∧ Connected(X).

Thm ⇒ We can find one in time: 2O(tw) ⋅ n, 2O(cw) ⋅ n, 2O(rw2) ⋅ n3.

29 / 29