level planar drawings with few slopes
play

Level-Planar Drawings with Few Slopes Guido Br uckner Nadine - PowerPoint PPT Presentation

Level-Planar Drawings with Few Slopes Guido Br uckner Nadine Krisam Tamara Mchedlidze Level Graphs 4 directed graph G = ( V , E ) 3 level assignment : V N s.t. ( u , v ) E : ( u ) < ( v ) 2 1 Level


  1. Level-Planar Drawings with Few Slopes Guido Br¨ uckner Nadine Krisam Tamara Mchedlidze

  2. Level Graphs 4 • directed graph G = ( V , E ) 3 • level assignment ℓ : V → N s.t. ∀ ( u , v ) ∈ E : ℓ ( u ) < ℓ ( v ) 2 1

  3. Level Graphs • directed graph G = ( V , E ) • level assignment ℓ : V → N s.t. ∀ ( u , v ) ∈ E : ℓ ( u ) < ℓ ( v )

  4. Level Graphs • directed graph G = ( V , E ) • level assignment ℓ : V → N s.t. ∀ ( u , v ) ∈ E : ℓ ( u ) < ℓ ( v ) • embedding is fixed ⇐ ⇒ left-to-right order of the vertices on each level is fixed

  5. Level Graphs • directed graph G = ( V , E ) • level assignment ℓ : V → N s.t. ∀ ( u , v ) ∈ E : ℓ ( u ) < ℓ ( v ) • embedding is fixed ⇐ ⇒ left-to-right order of the vertices on each level is fixed

  6. λ -Drawing Model λ λ λ slope 1 λ -drawing: slope 1 / ( λ − 1) vertical

  7. λ -Drawing Model λ λ λ slope 1 λ -drawing: slope 1 / ( λ − 1) vertical ≡ 2-drawing ≡ 3-drawing 1-drawing

  8. λ -Drawing Model λ λ λ slope 1 λ -drawing: slope 1 / ( λ − 1) vertical ≡ 2-drawing ≡ 3-drawing 1-drawing

  9. λ -Drawing Model

  10. Flow Network

  11. Flow Network 1 2 u e v Flow on e = distance between u and v Constraint ϕ ( e ) ≥ 1 1 1 2

  12. Flow Network 1 2 u e v 0 0 1 Flow on e = distance between u and v Constraint ϕ ( e ) ≥ 1 1 1 0 0 1 0 1 2 Flow = slope of dual edge Constraint 0 ≤ ϕ ( · ) ≤ 1

  13. Flow Network 1 2 u e v 0 0 1 Flow on e = distance between u and v Constraint ϕ ( e ) ≥ 1 1 1 0 0 1 0 1 2 Lemma Flow = slope Every admissible flow corresponds of dual edge to a 2-slope drawing. Constraint 0 ≤ ϕ ( · ) ≤ 1

  14. Flow Network 1 2 u e v 0 0 1 Flow on e = distance between u and v Constraint ϕ ( e ) ≥ 1 1 1 0 0 1 0 1 2 Lemma Flow = slope Every admissible flow corresponds of dual edge to a 2-slope drawing. max-flow: O ( n log 3 n ) Constraint 0 ≤ ϕ ( · ) ≤ 1 min-cost flow: O ( n 2 log 2 n )

  15. Flow Network Advanced Problems: 1 2 0 0 1 • partial drawing extension (simple in connected case) 1 1 0 0 1 2

  16. Flow Network Advanced Problems: • partial drawing extension (simple in connected case) • simultaneous drawings: given graphs G 1 , G 2 with G 1 ∩ 2 � = ∅ , are there drawings Γ 1 , Γ 2 of G 1 , G 2 s.t. G 1 ∩ 2 is drawn identically in Γ 1 , Γ 2 ? – real relaxation?

  17. Flow Network Advanced Problems: • partial drawing v 1 / 2 1 / 2 extension (simple v ′ v 1 / 2 1 / 2 in connected case) u ′ u • simultaneous 1 / 2 1 / 2 drawings: given 1 / 2 1 / 2 graphs G 1 , G 2 with u ′ u G 1 ∩ 2 � = ∅ , are there 1 / 2 1 / 2 v ′ drawings Γ 1 , Γ 2 of G 1 , G 2 s.t. G 1 ∩ 2 is drawn identically in Γ 1 , Γ 2 ? – real relaxation?

  18. Flow Network t 1 t 2 Advanced Problems: • partial drawing 1 1 1 v 1 / 2 1 / 2 extension (simple v ′ v 1 / 2 1 / 2 in connected case) u ′ u • simultaneous 1 / 2 1 / 2 drawings: given 1 / 2 1 / 2 graphs G 1 , G 2 with u ′ u G 1 ∩ 2 � = ∅ , are there 1 / 2 1 / 2 v ′ 1 1 drawings Γ 1 , Γ 2 of 1 G 1 , G 2 s.t. G 1 ∩ 2 is s 1 s 2 drawn identically in Γ 1 , Γ 2 ? – real relaxation?

  19. Flow Network t 1 t 2 Advanced Problems: • partial drawing 1 1 1 v 1 / 2 1 / 2 extension (simple v ′ v 1 / 2 1 / 2 in connected case) u ′ u • simultaneous 1 / 2 1 / 2 drawings: given 1 / 2 1 / 2 graphs G 1 , G 2 with u ′ u G 1 ∩ 2 � = ∅ , are there 1 / 2 1 / 2 v ′ 1 1 drawings Γ 1 , Γ 2 of 1 G 1 , G 2 s.t. G 1 ∩ 2 is s 1 s 2 drawn identically in max. simultaneous real flow has Γ 1 , Γ 2 ? values 1 and 2, but no – real relaxation? simultaneous integer flows with these values exists

  20. Max-Flow in Planar Graphs (w/o lower bounds) • construct directed dual G ⋆ , set ℓ ( e ⋆ ) = c ( e ) • search for shortest s ⋆ - t ⋆ path • set ϕ ( u , v ) = d ( f right ) − d ( f left ) for ( u , v ) ⋆ = ( f left , f right ) 0 | ∞ s ⋆ 12 | 12 16 | 16 0 19 | 20 1 7 | 7 12 | 16 4 9 19 s t | 0 | 5 0 0 | 4 12 4 | 4 7 | 13 11 | 14 t ⋆ 23

  21. Max-Flow in Planar Graphs (w/o lower bounds) • construct directed dual G ⋆ , set ℓ ( e ⋆ ) = c ( e ) • search for shortest s ⋆ - t ⋆ path • set ϕ ( u , v ) = d ( f right ) − d ( f left ) for ( u , v ) ⋆ = ( f left , f right ) 0 u e v | ∞ s ⋆ 12 | 12 Flow on e = distance 16 | 16 0 between u and v 19 | 20 1 7 | 7 12 | 16 4 Constraint ϕ ( e ) ≥ 1 9 19 s t | 0 | 5 0 0 | 4 12 4 | 4 7 | 13 11 | 14 t ⋆ 23

  22. Max-Flow in Planar Graphs (w/ lower bounds) v lower bounds on the flow: f right • definition: ϕ ( u , v ) = d ( f right ) − d ( f left ) − a • d ( f right ) ≤ d ( f left ) + b b a ≤ ϕ ( u , v ) ≤ b ⇒ ϕ ( u , v ) ≤ b • d ( f left ) ≤ d ( f right ) − a f left ⇒ ϕ ( u , v ) ≥ a u

  23. Max-Flow and Shortest Paths

  24. Max-Flow and Shortest Paths − 1 − 1 1 1 1 0 0 0 − 1 − 1 0 0 1 1 0 0 1 1 − 1 − 1

  25. Max-Flow and Shortest Paths -1 0 1 − 1 − 1 • Drawing O ( n log 2 n / log log n ) 1 1 1 0 0 0 -2 -1 0 − 1 − 1 0 0 1 1 0 0 1 1 − 1 − 1 v ref -2 -1 0

  26. Max-Flow and Shortest Paths -2 -1 1 v − 1 − 1 • Drawing O ( n log 2 n / log log n ) 1 1 1 0 0 0 -2 -1 0 − 1 − 1 − ( − 1) 0 0 1 1 − 1 0 0 1 1 − 1 − 1 v ref -2 -1 0 ( v ref , v ) : d ( v ) ≤ d ( v ref ) − 1 ⇒ d ( v ) ≤ − 1 ( v , v ref ) : d ( v ref ) ≤ d ( v ) − ( − 1) ⇒ d ( v ) ≥ − 1

  27. Max-Flow and Shortest Paths -2 -1 1 v − 1 − 1 • Drawing O ( n log 2 n / log log n ) 0 0 1 1 1 0 -2 -1 0 − 1 − 1 − ( − 1) 0 0 1 1 − 1 0 0 1 1 − 1 − 1 v ref -2 -1 0 ( v ref , v ) : d ( v ) ≤ d ( v ref ) − 1 ⇒ d ( v ) ≤ − 1 ( v , v ref ) : d ( v ref ) ≤ d ( v ) − ( − 1) ⇒ d ( v ) ≥ − 1

  28. Max-Flow and Shortest Paths -2 -1 1 v − 1 − 1 • Drawing O ( n log 2 n / log log n ) 0 0 1 1 • partial drawing 1 0 extension -2 -1 0 − 1 − 1 O ( n 4 / 3 log n ) 0 − ( − 1) 0 0 1 1 − 1 0 0 1 1 − 1 − 1 v ref -2 -1 0 ( v ref , v ) : d ( v ) ≤ d ( v ref ) − 1 ⇒ d ( v ) ≤ − 1 ( v , v ref ) : d ( v ref ) ≤ d ( v ) − ( − 1) ⇒ d ( v ) ≥ − 1

  29. Max-Flow and Shortest Paths -2 -1 1 v − 1 − 1 • Drawing O ( n log 2 n / log log n ) 0 0 1 1 • partial drawing 1 0 extension -2 -1 0 − 1 − 1 O ( n 4 / 3 log n ) − ( − 1) 0 0 • simultaneous 1 1 drawings − 1 0 0 O ( n 10 / 3 log n ) 1 1 − 1 − 1 v ref -2 -1 0 the generated drawings are rightmost d 1 ( v ) < d 2 ( v ) ⇒ add constraint d 2 ( v ) ≤ d 1 ( v ) to G 2

  30. Max-Flow and Shortest Paths -2 -1 1 v − 1 − 1 • Drawing O ( n log 2 n / log log n ) 0 0 1 1 • partial drawing 1 0 extension -2 -1 0 − 1 − 1 O ( n 4 / 3 log n ) − ( − 1) 0 0 • simultaneous 1 1 drawings − 1 0 0 O ( n 10 / 3 log n ) 1 1 − 1 − 1 • works for λ ∈ N v ref -2 -1 0 • NP-complete for “short long” edges, i.e., ℓ ( v ) − ℓ ( u ) ≤ 2

  31. Rectilinear Planar Monotone 3- Sat x 1 ∨ x 5 ∨ x 7 x 1 ∨ x 4 ∨ x 5 x 5 ∨ x 6 ∨ x 7 x 1 ∨ x 2 ∨ x 3 x 1 x 2 x 3 x 4 x 5 x 6 x 7 ¬ x 3 ∨ ¬ x 4 ∨ ¬ x 5 ¬ x 2 ∨ ¬ x 3 ∨ ¬ x 5 ¬ x 1 ∨ ¬ x 2 ∨ ¬ x 7

  32. Variable Gadget true true true true

  33. Variable Gadget false false false false

  34. (Positive) Clause Gadget true false false

  35. (Positive) Clause Gadget false true false

  36. (Positive) Clause Gadget false false true

  37. (Positive) Clause Gadget false false false

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