Decomposing Cubic Graphs into Connected Subgraphs of Size Three - - PowerPoint PPT Presentation

decomposing cubic graphs into connected subgraphs of size
SMART_READER_LITE
LIVE PREVIEW

Decomposing Cubic Graphs into Connected Subgraphs of Size Three - - PowerPoint PPT Presentation

Decomposing Cubic Graphs into Connected Subgraphs of Size Three Laurent Bulteau Guillaume Fertin Anthony Labarre Romeo Rizzi Irena Rusu March 24, 2017 The graph decomposition problem Given a set S of graphs, an S -decomposition of a graph G


slide-1
SLIDE 1

Decomposing Cubic Graphs into Connected Subgraphs of Size Three

Laurent Bulteau Guillaume Fertin Anthony Labarre Romeo Rizzi Irena Rusu March 24, 2017

slide-2
SLIDE 2

The graph decomposition problem

Given a set S of graphs, an S-decomposition of a graph G = (V , E) is a partition of E into subgraphs, all of which are isomorphic to a graph in S.

slide-3
SLIDE 3

The graph decomposition problem

Given a set S of graphs, an S-decomposition of a graph G = (V , E) is a partition of E into subgraphs, all of which are isomorphic to a graph in S.

Example (S = connected graphs on four edges)

slide-4
SLIDE 4

The graph decomposition problem

Given a set S of graphs, an S-decomposition of a graph G = (V , E) is a partition of E into subgraphs, all of which are isomorphic to a graph in S.

Example (S = connected graphs on four edges)

slide-5
SLIDE 5

The graph decomposition problem

Given a set S of graphs, an S-decomposition of a graph G = (V , E) is a partition of E into subgraphs, all of which are isomorphic to a graph in S.

Example (S = connected graphs on four edges) S-decomposition

Input: a graph G = (V , E), a set S of graphs. Question: does G admit an S-decomposition? S-decomposition is NP-complete, even when S consists of a single connected graph with three edges [Dor and Tarsi, 1997].

slide-6
SLIDE 6

Graph decompositions for cubic graphs

We study the S-decomposition problem in the case where G is cubic and S is the set of all connected graphs on three edges.

Example

C6 =

slide-7
SLIDE 7

Graph decompositions for cubic graphs

We study the S-decomposition problem in the case where G is cubic and S is the set of all connected graphs on three edges.

Example

C6 = K3 +

slide-8
SLIDE 8

Graph decompositions for cubic graphs

We study the S-decomposition problem in the case where G is cubic and S is the set of all connected graphs on three edges.

Example

C6 = K3 +K1,3+

slide-9
SLIDE 9

Graph decompositions for cubic graphs

We study the S-decomposition problem in the case where G is cubic and S is the set of all connected graphs on three edges.

Example

C6 = K3 +K1,3+ P4

slide-10
SLIDE 10

Graph decompositions for cubic graphs

We study the S-decomposition problem in the case where G is cubic and S is the set of all connected graphs on three edges.

Example

C6 = K3 +K1,3+ P4

S′-decomposition

Input: a cubic graph G = (V , E), a non-empty set S′ ⊆ S. Question: does G admit a S′-decomposition?

slide-11
SLIDE 11

Motivations

◮ Natural graph problem; ◮ The specific class we study (cubic graphs) is often the one

where interesting things happen from a computational complexity point of view;

◮ Applications exist in traffic grooming, graph drawing and

hardness proofs;

slide-12
SLIDE 12

Our contributions

Here is a summary of what is known about decomposing graphs using subsets of { , , }:

Allowed subgraphs Complexity according to graph class cubic arbitrary

  • NP-complete [Dyer and Frieze, 1985]
  • O(1) (impossible)

NP-complete [Holyer, 1981]

  • in P [Kotzig, 1957]

NP-complete [Dyer and Frieze, 1985]

  • NP-complete [Dyer and Frieze, 1985]
  • NP-complete [Dyer and Frieze, 1985]
  • NP-complete [Dyer and Frieze, 1985]
  • NP-complete [Dyer and Frieze, 1985]
slide-13
SLIDE 13

Our contributions

Here is a summary of what is known about decomposing graphs using subsets of { , , }:

Allowed subgraphs Complexity according to graph class cubic arbitrary

  • in P

NP-complete [Dyer and Frieze, 1985]

  • O(1) (impossible)

NP-complete [Holyer, 1981]

  • in P [Kotzig, 1957]

NP-complete [Dyer and Frieze, 1985]

  • in P

NP-complete [Dyer and Frieze, 1985]

  • NP-complete

NP-complete [Dyer and Frieze, 1985]

  • in P

NP-complete [Dyer and Frieze, 1985]

  • NP-complete

NP-complete [Dyer and Frieze, 1985]

  • ur contributions
slide-14
SLIDE 14

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-15
SLIDE 15

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-16
SLIDE 16

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-17
SLIDE 17

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-18
SLIDE 18

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-19
SLIDE 19

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-20
SLIDE 20

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching.

slide-21
SLIDE 21

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching. We strengthen this result as follows:

Proposition

A cubic graph admits a {K3,P4}-decomposition if and only if it has a perfect matching.

slide-22
SLIDE 22

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching. We strengthen this result as follows:

Proposition

A cubic graph admits a {K3,P4}-decomposition if and only if it has a perfect matching.

Degree constraint: A red vertex (degree 2) in some subgraph of the decomposition must be blue (degree 1) in another.

slide-23
SLIDE 23

Decomposing cubic graphs without K1,3’s

We need the following result:

Proposition ([Kotzig, 1957])

A cubic graph admits a P4-decomposition if and only if it has a perfect matching. We strengthen this result as follows:

Proposition

A cubic graph admits a {K3,P4}-decomposition if and only if it has a perfect matching.

Degree constraint: A red vertex (degree 2) in some subgraph of the decomposition must be blue (degree 1) in another.

Red count ≤ Blue count ⇒ no K3 can be used.

slide-24
SLIDE 24

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

slide-25
SLIDE 25

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

Use one part for centers, the other for leaves

slide-26
SLIDE 26

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

Use one part for centers, the other for leaves

slide-27
SLIDE 27

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

Use one part for centers, the other for leaves

slide-28
SLIDE 28

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

Use one part for centers, the other for leaves

slide-29
SLIDE 29

Decomposing cubic graphs without P4’s

Let us start with K1,3-decompositions:

Proposition

A cubic graph admits a K1,3-decomposition if and only if it is bipartite.

Proof.

A center (red) belongs to only one subgraph ⇒ Bipartition: centers – leaves (each edge uses 1 center and 1 leaf)

Use one part for centers, the other for leaves

slide-30
SLIDE 30

Decomposing cubic graphs without P4’s

What if we also allow K3’s?

slide-31
SLIDE 31

Decomposing cubic graphs without P4’s

What if we also allow K3’s? We distinguish between isolated and nonisolated triangles:

slide-32
SLIDE 32

Decomposing cubic graphs without P4’s

What if we also allow K3’s? We distinguish between isolated and nonisolated triangles:

slide-33
SLIDE 33

Decomposing cubic graphs without P4’s

What if we also allow K3’s? We distinguish between isolated and nonisolated triangles:

Lemma

If a cubic graph G admits a {K1,3, K3}-decomposition D, then every isolated K3 in G belongs to D.

slide-34
SLIDE 34

Decomposing cubic graphs without P4’s

What if we also allow K3’s? We distinguish between isolated and nonisolated triangles:

Lemma

If a cubic graph G admits a {K1,3, K3}-decomposition D, then every isolated K3 in G belongs to D.

slide-35
SLIDE 35

Decomposing cubic graphs without P4’s

What if we also allow K3’s? We distinguish between isolated and nonisolated triangles:

Lemma

If a cubic graph G admits a {K1,3, K3}-decomposition D, then every isolated K3 in G belongs to D.

slide-36
SLIDE 36

Decomposing cubic graphs without P4’s

If G also contains nonisolated K3’s, then we only have two choices to try:

slide-37
SLIDE 37

Summary of algorithm

◮ Select a diamond, pick one K3

slide-38
SLIDE 38

Summary of algorithm

◮ Select a diamond, pick one K3

slide-39
SLIDE 39

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

slide-40
SLIDE 40

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3

slide-41
SLIDE 41

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3

slide-42
SLIDE 42

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3

slide-43
SLIDE 43

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3

slide-44
SLIDE 44

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3

slide-45
SLIDE 45

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3

slide-46
SLIDE 46

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3

slide-47
SLIDE 47

Summary of algorithm

◮ Select a diamond, pick one K3 ◮ Follow degree-1,2 nodes: ◮ Degree 1:

pick as leaf of K1,3

◮ Degree 2 outside any K3:

pick as leaf of K1,3

◮ Degree 2 inside a K3: pick the K3 ◮ If it fails, try the other starting K3 ◮ Just 1 branching⇒ Polynomial time

algorithm

slide-48
SLIDE 48

Hardness results

We now show that {K1,3, P4}-decomposition is NP-complete, using three reductions:

cubic planar monotone 1-in-3 satisfiability ≤P degree-2,3 {K1,3, K3, P4}-decomposition with marked edges ≤P {K1,3, K3, P4}-decomposition with marked edges ≤P {K1,3, P4}-decomposition

A similar approach can be used to show the NP-completeness of {K1,3, K3, P4}-decomposition.

slide-49
SLIDE 49

Hardness results 1/3: marked edges

The co-fish gadget

v w

slide-50
SLIDE 50

Hardness results 1/3: marked edges

The co-fish gadget

v w

slide-51
SLIDE 51

Hardness results 1/3: marked edges

The co-fish gadget

v w v w This gadget is equivalent to an edge . . . .

slide-52
SLIDE 52

Hardness results 1/3: marked edges

The co-fish gadget

v w v w This gadget is equivalent to an edge that cannot be in the middle

  • f a P4 ⇒ Marked edges.
slide-53
SLIDE 53

Hardness results 1/3: marked edges

The co-fish gadget

v w v w This gadget is equivalent to an edge that cannot be in the middle

  • f a P4 ⇒ Marked edges.

{K1,3, K3, P4}-decomposition with marked edges

Input: a cubic graph G = (V , E) and a subset M ⊆ E of edges. Question: does G admit a {K1,3, K3, P4}-decomposition D such that no edge in M is the middle edge of a P4 in D and such that every K3 in D has either one or two edges in M?

slide-54
SLIDE 54

Hardness results 2/3: leafless subcubic graphs

The net gadget

t1 t2 t3

slide-55
SLIDE 55

Hardness results 2/3: leafless subcubic graphs

The net gadget

t1 t2 t3

slide-56
SLIDE 56

Hardness results 2/3: leafless subcubic graphs

The net gadget

t1 t2 t3 t1 t2 t3 The net gadget is equivalent to 3 degree-2 nodes

slide-57
SLIDE 57

Hardness results 2/3: leafless subcubic graphs

The net gadget

t1 t2 t3 t1 t2 t3 The net gadget is equivalent to 3 degree-2 nodes We can restrict our attention to degree-2,3 {K1,3, K3, P4}-decomposition with marked edges, a variant where the input graph contains vertices with degree 2 or 3.

slide-58
SLIDE 58

Hardness results 3/3: satisfiability

cubic (planar) monotone 1-in-3 satisfiability

Input: a Boolean formula φ = C1∧C2∧· · · without negations; |Ci| = 3 for each i and each literal appears in exactly three clauses; Question: is there an assignment of truth values f : Σ → {true, false} such that each clause of φ contains exactly one true literal?

cubic planar monotone 1-in-3 satisfiability ≤P degree-2,3 {K1,3, K3, P4}-decomposition with marked edges ≤P {K1,3, K3, P4}-decomposition with marked edges ≤P {K1,3, P4}-decomposition

slide-59
SLIDE 59

The reduction from cubic mono-1-in-3-sat

Variable Clause

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s.

slide-60
SLIDE 60

The reduction from cubic mono-1-in-3-sat

Variable Clause C = xi ∨ xj ∨ xk xi xj xk

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s.

slide-61
SLIDE 61

The reduction from cubic mono-1-in-3-sat

Variable Clause C = xi ∨ xj ∨ xk xi xj xk

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s. ◮ From assignments to decompositions: variables set to false

yield red K1,3’s, those set to true yield green K1,3’s.

slide-62
SLIDE 62

The reduction from cubic mono-1-in-3-sat

Variable Clause C = xi ∨ xj ∨ xk xi xj xk

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s. ◮ From assignments to decompositions: variables set to false

yield red K1,3’s, those set to true yield green K1,3’s.

slide-63
SLIDE 63

The reduction from cubic mono-1-in-3-sat

Variable Clause C = xi ∨ xj ∨ xk xi xj xk

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s. ◮ From assignments to decompositions: variables set to false

yield red K1,3’s, those set to true yield green K1,3’s.

slide-64
SLIDE 64

The reduction from cubic mono-1-in-3-sat

Variable Clause C = xi ∨ xj ∨ xk xi xj xk

The reduction

◮ Map clauses onto C5’s and variables onto marked K1,3’s. ◮ From assignments to decompositions: variables set to false

yield red K1,3’s, those set to true yield green K1,3’s.

◮ From decompositions to assignments: show that a

decomposable graph must conform to the above configuration ⇒ truth assignment

slide-65
SLIDE 65

Conclusions

◮ Future work: ◮ hardness for planar cubic graphs? ◮ complexity of those problems for subcubic graphs? ◮ generalise positive results to k-regular graphs for k > 3;

slide-66
SLIDE 66

References I

Dor, D. and Tarsi, M. (1997). Graph decomposition is NP-complete: A complete proof of Holyer’s conjecture. SIAM J. Comput., 26:1166–1187. Dyer, M. E. and Frieze, A. M. (1985). On the complexity of partitioning graphs into connected subgraphs. Discrete Appl. Math., 10(2):139–153. Holyer, I. (1981). The NP-completeness of some edge-partition problems. SIAM J. Comput., 10(4):713–717. Kotzig, A. (1957). Z teorie koneˇ cn´ ych pravideln´ ych grafov tretieho a ˇ stvrt´ eho stupˇ na. ˇ Casopis pro pˇ estov´ an´ ı matematiky, pages 76–92.