Block Crossings in Storyline Visualizations Thomas van Dijk, Martin - - PowerPoint PPT Presentation

block crossings in storyline visualizations
SMART_READER_LITE
LIVE PREVIEW

Block Crossings in Storyline Visualizations Thomas van Dijk, Martin - - PowerPoint PPT Presentation

Block Crossings in Storyline Visualizations Thomas van Dijk, Martin Fink , Norbert Fischer, Fabian Lipp, Peter Markfelder, Alexander Ravsky, Subhash Suri, and Alexander Wolff 3/15 3/15 block crossing 3/15 We want to minimize block crossings!


slide-1
SLIDE 1

Block Crossings in Storyline Visualizations

Thomas van Dijk, Martin Fink, Norbert Fischer, Fabian Lipp, Peter Markfelder, Alexander Ravsky, Subhash Suri, and Alexander Wolff

slide-2
SLIDE 2
slide-3
SLIDE 3

3/15

slide-4
SLIDE 4

3/15

slide-5
SLIDE 5

block crossing

3/15

slide-6
SLIDE 6

block crossing We want to minimize block crossings!

slide-7
SLIDE 7

Previous Results – Simple Crossings

[Kostitsyna et al, GD’15] FPT for #characters upper and lower bounds for some cases with pairwise meetings NP-hardness

4/15

slide-8
SLIDE 8

Related Work

Block crossings for metro lines [Fink, Pupyrev, Wolff; 2015]

5/15

slide-9
SLIDE 9

Related Work

Block crossings for metro lines [Fink, Pupyrev, Wolff; 2015] Bundled Crossings [Fink et al., 2016]

5/15

slide-10
SLIDE 10

Related Work

Block crossings for metro lines [Fink, Pupyrev, Wolff; 2015] Bundled Crossings [Fink et al., 2016] Bundled Crossing Number [Alam, Fink, Pupyrev; next talk]

5/15

slide-11
SLIDE 11

Storylines & Block Crossings

block crossing

6/15

slide-12
SLIDE 12

Storylines & Block Crossings

block crossing permutations π π′

6/15

slide-13
SLIDE 13

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings

6/15

slide-14
SLIDE 14

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization

6/15

slide-15
SLIDE 15

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization π

6/15

slide-16
SLIDE 16

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization π π supports meeting

6/15

slide-17
SLIDE 17

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization π π supports meeting Problem definition:

6/15

slide-18
SLIDE 18

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization π π supports meeting Given n meetings

  • f k characters,

find permutations transformed by

  • min. # block crossings.

Problem definition:

6/15

slide-19
SLIDE 19

Storylines & Block Crossings

block crossing permutations π π′ O(k3) possible block crossings storyline visualization π π supports meeting Given n meetings

  • f k characters,

find permutations transformed by

  • min. # block crossings.

(Must support all meetings.)

Problem definition:

6/15

slide-20
SLIDE 20

Our Results

recognize crossing-free instances NP-hardness approximation FPT/exact algorithms greedy heuristic for pairwise meetings

7/15

slide-21
SLIDE 21

Crossing-Free Storylines Visualizations

8/15

slide-22
SLIDE 22

Crossing-Free Storylines Visualizations

π

8/15

slide-23
SLIDE 23

Crossing-Free Storylines Visualizations

π supports each meeting

8/15

slide-24
SLIDE 24

Crossing-Free Storylines Visualizations

π supports each meeting group hypergraph H = (C, Γ) is interval hypergraph

8/15

slide-25
SLIDE 25

Crossing-Free Storylines Visualizations

π supports each meeting group hypergraph H = (C, Γ) is interval hypergraph groups that meet

8/15

slide-26
SLIDE 26

Crossing-Free Storylines Visualizations

π supports each meeting group hypergraph H = (C, Γ) is interval hypergraph groups that meet interval hypergraph property can be checked in O(k2) time [Trotter, Moore, 1976]

8/15

slide-27
SLIDE 27

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2

9/15

slide-28
SLIDE 28

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2 sort fixed permutations with minimum number

  • f block crossings

9/15

slide-29
SLIDE 29

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2 sort fixed permutations with minimum number

  • f block crossings

9/15

slide-30
SLIDE 30

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2 sort fixed permutations with minimum number

  • f block crossings

fix permutations by repeated meetings

9/15

slide-31
SLIDE 31

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2

k=5 times

sort fixed permutations with minimum number

  • f block crossings

fix permutations by repeated meetings

k=5 times

9/15

slide-32
SLIDE 32

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 v4 v3 v1 v5 v2

k=5 times

fix permutations by repeated meetings

k=5 times

add frame to prevent reversal v1 v2 v3 v4 v5

9/15

slide-33
SLIDE 33

Minimizing Block Crossings is NP-hard

Reduction from Sorting by Transpositions v1 v2 v3 v4 v5 u1 u2 u3 u4 u5 v4 v3 v1 v5 v2 u1 u2 u3 u4 u5

k=5 times

fix permutations by repeated meetings

k=5 times

add frame to prevent reversal

9/15

slide-34
SLIDE 34

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings

10/15

slide-35
SLIDE 35

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings idea:

  • 1. choose starting order π that supports many meetings
  • 2. temporarily change order for each unsupported meeting

10/15

slide-36
SLIDE 36

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings idea:

  • 1. choose starting order π that supports many meetings
  • 2. temporarily change order for each unsupported meeting

≤ 2(d − 1) block crossings

10/15

slide-37
SLIDE 37

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings idea:

  • 1. choose starting order π that supports many meetings
  • 2. temporarily change order for each unsupported meeting

≤ 2(d − 1) block crossings meetings supported by π are free

10/15

slide-38
SLIDE 38

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings idea:

  • 1. choose starting order π that supports many meetings
  • 2. temporarily change order for each unsupported meeting

≤ 2(d − 1) block crossings meetings supported by π are free Lemma: starting order π has α unsupported meetings ⇒ at least 4α/(3d2) block crossings necessary

10/15

slide-39
SLIDE 39

Approximation Algorithm

all meetings of size ≤ d (constant) no repeated meetings idea:

  • 1. choose starting order π that supports many meetings
  • 2. temporarily change order for each unsupported meeting

≤ 2(d − 1) block crossings meetings supported by π are free Lemma: starting order π has α unsupported meetings ⇒ at least 4α/(3d2) block crossings necessary approximate αOPT ⇒ approximate block crossings

10/15

slide-40
SLIDE 40

Approximation Algorithm

find π minimizing #unsupported meetings

11/15

slide-41
SLIDE 41

Approximation Algorithm

find π minimizing #unsupported meetings ↔ remove minimum #meetings so that storyline crossing-free

11/15

slide-42
SLIDE 42

Approximation Algorithm

find π minimizing #unsupported meetings ↔ remove minimum #meetings so that storyline crossing-free ↔ remove minimum #hyperedges so that H is interval hypergraph

11/15

slide-43
SLIDE 43

Approximation Algorithm

find π minimizing #unsupported meetings ↔ remove minimum #meetings so that storyline crossing-free ↔ remove minimum #hyperedges so that H is interval hypergraph Theorem: Interval Hypergraph Edge Deletion admits a (d + 1)-approximation (constant rank d).

11/15

slide-44
SLIDE 44

Approximation Algorithm

find π minimizing #unsupported meetings ↔ remove minimum #meetings so that storyline crossing-free ↔ remove minimum #hyperedges so that H is interval hypergraph Theorem: Interval Hypergraph Edge Deletion admits a (d + 1)-approximation (constant rank d). Theorem: We can find a (3(d2 − 1)d2/2)-approximation for the minimum number of block crossings in storyline visualizations in O(kn) time.

11/15

slide-45
SLIDE 45

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph

12/15

slide-46
SLIDE 46

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph NP-hard for graphs: remove all but n − 1 edges → Hamiltonian path

12/15

slide-47
SLIDE 47

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1

12/15

slide-48
SLIDE 48

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1 C3 C4

12/15

slide-49
SLIDE 49

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1

  • utline:

– iteratively: search for forbidden subhypergraphs except Cd+2, . . . & completely remove them – result: cyclic generalization of interval hypergraph; break optimally

12/15

slide-50
SLIDE 50

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1

  • utline:

– iteratively: search for forbidden subhypergraphs except Cd+2, . . . & completely remove them – result: cyclic generalization of interval hypergraph; break optimally ≤ d + 1 hyperedges

12/15

slide-51
SLIDE 51

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1

  • utline:

– iteratively: search for forbidden subhypergraphs except Cd+2, . . . & completely remove them – result: cyclic generalization of interval hypergraph; break optimally ≤ d + 1 hyperedges Theorem: no forbidden subhypergraph except Cd+2, . . . ⇒ structure proof skipped (several lemmas & case distinctions)

12/15

slide-52
SLIDE 52

Interval Hypergraph Edge Deletion

Remove minimum number of hyperedges so that H = (V , E) becomes interval hypergraph characterization of interval hypergraphs by forbidden subhypergraphs O1 O2 F1 C3 C4 F2 Fd−2 M1 M2 Md−1

  • utline:

– iteratively: search for forbidden subhypergraphs except Cd+2, . . . & completely remove them – result: cyclic generalization of interval hypergraph; break optimally ≤ d + 1 hyperedges Theorem: no forbidden subhypergraph except Cd+2, . . . ⇒ structure can cut optimally proof skipped (several lemmas & case distinctions) Theorem: Interval Hypergraph Edge Deletion admits a (d + 1)-approximation (constant rank d).

12/15

slide-53
SLIDE 53

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings

13/15

slide-54
SLIDE 54

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings

13/15

slide-55
SLIDE 55

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings

13/15

slide-56
SLIDE 56

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings cost: #block crossings

13/15

slide-57
SLIDE 57

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings cost: #block crossings

13/15

slide-58
SLIDE 58

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings cost: #block crossings find minimum-cost path

13/15

slide-59
SLIDE 59

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings cost: #block crossings find minimum-cost path runtime: O(k!2n)

13/15

slide-60
SLIDE 60

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing

13/15

slide-61
SLIDE 61

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing

13/15

slide-62
SLIDE 62

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing

13/15

slide-63
SLIDE 63

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing

13/15

slide-64
SLIDE 64

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing O(k3) different block crossings Theorem: We can minimize block crossings in O(k!k3n) time and O(k!kn) space.

13/15

slide-65
SLIDE 65

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing O(k3) different block crossings Theorem: We can minimize block crossings in O(k!k3n) time and O(k!kn) space. also works for single crossings

13/15

slide-66
SLIDE 66

Exact Algorithm

first idea: modify FPT of Kostitsyna et al. for block crossings permutations meetings find minimum-cost path runtime: O(k!2n) new idea: 1 edge ↔ block crossing O(k3) different block crossings Alternative: Can minimize block crossings in O(k!kβ(β + kn)) time and O(βk) space, where β = opt. #block crossings Theorem: We can minimize block crossings in O(k!k3n) time and O(k!kn) space. also works for single crossings

13/15

slide-67
SLIDE 67

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together

14/15

slide-68
SLIDE 68

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together

14/15

slide-69
SLIDE 69

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together single block crossing can support several new meetings

14/15

slide-70
SLIDE 70

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together single block crossing can support several new meetings greedily try to support largest prefix of future meetings with single block crossing

14/15

slide-71
SLIDE 71

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together single block crossing can support several new meetings greedily try to support largest prefix of future meetings with single block crossing O(kn)-time algorithm use random or best start permutation

14/15

slide-72
SLIDE 72

2-Character Meetings – A Greedy Algorithm

  • nly pairwise meetings

single block crossing suffices to bring pair together single block crossing can support several new meetings greedily try to support largest prefix of future meetings with single block crossing O(kn)-time algorithm use random or best start permutation some preliminary experiments; e.g.: greedy with best start permutation for k = 5, n = 12: 56% opt., 38% + 1bc, 5% + 2bc, 1% + 3bc

14/15

slide-73
SLIDE 73

Conclusion

can identify crossing-free solution new exact algorithms minimizing block crossings is hard approximation algorithm greedy heuristic for pairwise meetings

15/15

slide-74
SLIDE 74

Conclusion

can identify crossing-free solution new exact algorithms minimizing block crossings is hard approximation algorithm greedy heuristic for pairwise meetings Open questions: generalize approximation / approximation for simple crossings? can greedy algorithm be generalized?

15/15

slide-75
SLIDE 75

Conclusion

can identify crossing-free solution new exact algorithms minimizing block crossings is hard approximation algorithm greedy heuristic for pairwise meetings Open questions: generalize approximation / approximation for simple crossings? can greedy algorithm be generalized?

Thank you!

15/15