computing optimal tangles faster
play

Computing Optimal Tangles Faster PK AW JZ OF W u AR Lviv - PowerPoint PPT Presentation

Computing Optimal Tangles Faster PK AW JZ OF W u AR Lviv Alexander Wolff Oksana Firman Philipp Kindermann Johannes Zink Julius-Maximilians-Universit at W urzburg, Germany Alexander Ravsky Pidstryhach Institute for Applied


  1. Computing Optimal Tangles Faster PK AW JZ OF W¨ u AR Lviv Alexander Wolff Oksana Firman Philipp Kindermann Johannes Zink Julius-Maximilians-Universit¨ at W¨ urzburg, Germany Alexander Ravsky Pidstryhach Institute for Applied Problems of Mechanics and Mathematics, National Academy of Sciences of Ukraine, Lviv, Ukraine

  2. Introduction Given a set of y -monotone wires

  3. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires i j

  4. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires disjoint swaps

  5. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires disjoint swaps adjacent permutations

  6. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires disjoint swaps adjacent permutations multiple swaps

  7. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires disjoint swaps π 1 adjacent permutations π 2 multiple swaps π 3 tangle T of . . . height h ( T ) π 6

  8. Introduction 1 ≤ i , j ≤ n Given a set of swap ij y -monotone wires disjoint swaps π ′ π 1 adjacent 1 π ′ permutations π 2 2 π ′ 3 multiple swaps . π 3 . . tangle T of π ′ . . 5 . height h ( T ) π 6

  9. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · disjoint swaps 1 2 n π 1 adjacent permutations π 2 multiple swaps π 3 tangle T of . . . height h ( T ) π 6

  10. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · 1 ≤ i < j ≤ n disjoint swaps 1 2 n • as a multiset ( ℓ ij ) π 1 adjacent 1 permutations π 2 3 multiple swaps 1 π 3 1 tangle T of . . . 2 height h ( T ) π 6

  11. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · 1 ≤ i < j ≤ n disjoint swaps 1 2 n • as a multiset ( ℓ ij ) π 1 adjacent 1 permutations π 2 3 multiple swaps 1 π 3 1 tangle T of . . . 2 height h ( T ) π 6 Tangle T ( L ) realizes list L

  12. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · 1 ≤ i < j ≤ n disjoint swaps 1 2 n • as a multiset ( ℓ ij ) π 1 adjacent 1 permutations π 2 3 multiple swaps 1 π 3 1 tangle T of . . . 2 height h ( T ) π 6 Tangle T ( L ) realizes list L

  13. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · 1 ≤ i < j ≤ n disjoint swaps 1 2 n • as a multiset ( ℓ ij ) π 1 adjacent 1 permutations π 2 3 multiple swaps 1 π 3 1 tangle T of . . . 2 height h ( T ) π 6 not feasible Tangle T ( L ) realizes list L

  14. Introduction 1 ≤ i , j ≤ n Given a set of . . . and given a list of swap ij swaps L y -monotone wires · · · 1 ≤ i < j ≤ n disjoint swaps 1 2 n • as a multiset ( ℓ ij ) π 1 adjacent 1 permutations π 2 3 multiple swaps 1 π 3 1 tangle T of . . . 2 height h ( T ) π 6 Tangle T ( L ) realizes list L A tangle T ( L ) is optimal if it has the minimum height among all tangles realizing the list L.

  15. Related work • Olszewski et al. Visualizing the template of a chaotic attractor. GD 2018

  16. Related work • Olszewski et al. Visualizing the template � of a chaotic attractor. list GD 2018

  17. Related work • Olszewski et al. Visualizing the template � of a chaotic attractor. list GD 2018 Algorithm to find the optimal tangle

  18. Related work • Olszewski et al. Visualizing the template � of a chaotic attractor. list GD 2018 Algorithm to find ? Complexity ? the optimal tangle

  19. Related work • Olszewski et al. Visualizing the template � of a chaotic attractor. list GD 2018 Algorithm to find ? Complexity ? the optimal tangle • Wang. Novel routing schemes for IC layout part I: Two-layer channel routing. DAC 1991 Given: initial and final permutations

  20. Related work • Olszewski et al. Visualizing the template � of a chaotic attractor. list GD 2018 Algorithm to find ? Complexity ? the optimal tangle • Wang. Novel routing schemes for IC layout part I: Two-layer channel routing. DAC 1991 Given: initial and final permutations • Bereg et al. Drawing Permutations with Few Corners. GD 2013 Objective: minimize the number of bends

  21. Overview • Complexity NP-hardness by reduction from 3-Partition • Improved the algorithm of [Olszewski et al., GD’18] Using the Dynamic Program � n 2 �� 2 | L | � � ϕ 2 | L | � 2 ϕ n n O 5 | L | / n n n 2 + 1 O • Experiments

  22. Complexity Theorem Tangle-Height Minimization is NP-hard.

  23. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition

  24. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition 3-Partition Given: a multiset A of 3 m positive integers · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m

  25. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition 3-Partition Given: a multiset A of 3 m positive integers Objective: decide whether A can be partitioned into m groups of three elements each that all sum up to the same value B · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � � m = B 2 = B 1 = B

  26. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof B 4 < a i < B 2 Reduction from 3-Partition 3-Partition B is poly in m Given: a multiset A of 3 m positive integers Objective: decide whether A can be partitioned into m groups of three elements each that all sum up to the same value B · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � � m = B 2 = B 1 = B

  27. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof B 4 < a i < B 2 Reduction from 3-Partition B is poly in m Given: a multiset A of 3 m positive integers Objective: decide whether A can be partitioned into m groups of three elements each that all sum up to the same value B · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � � m = B 2 = B 1 = B Given: an instance A of 3-Partition

  28. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof B 4 < a i < B 2 Reduction from 3-Partition B is poly in m Given: a multiset A of 3 m positive integers Objective: decide whether A can be partitioned into m groups of three elements each that all sum up to the same value B · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � � m = B 2 = B 1 = B Given: an instance A of 3-Partition Task: construct L s.t. there is T realizing L with height at most H = 2 m 3 ( � A )+7 m 2 iff A is a yes-instance

  29. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � m = B � 2 = B 1 = B � A Given: an instance A of 3-Partition Task: construct L s.t. there is T realizing L with height at most H = 2 m 3 ( � A )+7 m 2 iff A is a yes-instance

  30. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � m = B � 2 = B 1 = B +1 � A Given: an instance A of 3-Partition Task: construct L s.t. there is T realizing L with height at most H = 2 m 3 ( � A )+7 m 2 iff A is a yes-instance

  31. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � m = B � 2 = B 1 = B +1 � A +1 Given: an instance A of 3-Partition Task: construct L s.t. there is T realizing L with height at most H = 2 m 3 ( � A )+7 m 2 iff A is a yes-instance

  32. Complexity Theorem Tangle-Height Minimization is NP-hard. Proof Reduction from 3-Partition · · · a 1 a 2 a 3 a 3 m − 2 a 3 m − 1 a 3 m · · · � � m = B � 2 = B 1 = B +1 � A +1 Given: an instance A of 3-Partition Task: construct L s.t. there is T realizing L with height at most H = 2 m 3 ( � A )+7 m 2 iff A is a yes-instance +1

  33. Constructing the list L ω ′ ω ω ′ ω

  34. Constructing the list L ω ′ ω 2 m swaps ω ′ ω

  35. Constructing the list L α ′ ω ′ α 1 ω 1 ω ′ α ′ ω α 1 1

  36. Constructing the list L α ′ ω ′ α 1 ω 1 M = 2 m 3 Ma 1 ω ′ α ′ ω α 1 1

  37. Constructing the list L α ′ ω ′ α 1 ω 1 M = 2 m 3 Ma 1 ω ′ α ′ ω α 1 1

  38. Constructing the list L α ′ ω ′ α 1 ω 1 M = 2 m 3 Ma 1 ω ′ α ′ ω α 1 1

  39. Constructing the list L α ′ ω ′ α 1 ω 1 M = 2 m 3 Ma 1 ω ′ α ′ ω α 1 1

  40. Constructing the list L α ′ ω ′ α 1 ω 1 M = 2 m 3 Ma 1 What is not allowed? split ω ′ α ′ ω α 1 1

  41. Constructing the list L α ′ α ′ ω ′ α 2 α 1 ω 1 2 M = 2 m 3 Ma 1 Ma 2 ω ′ α ′ α ′ ω α 2 α 1 1 2

  42. Constructing the list L α ′ α ′ ω ′ α 2 α 1 ω 1 2 M = 2 m 3 Ma 1 What is not allowed? put it on the same level with other α - α ′ swaps Ma 2 ω ′ α ′ α ′ ω α 2 α 1 1 2

  43. Constructing the list L α ′ α ′ ω ′ · · · α 6 α 1 · · · ω 6 1 M = 2 m 3 Ma 1 Ma 4 Ma 5 Ma 2 Ma 3 Ma 6 ω ′ α ′ ω α ′ α 6 · · · α 1 · · · 1 6

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend