|
Characterizations of Deque and Queue Graphs
Christopher Auer, Andreas Gleißner
University of Passau
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 1
Characterizations of Deque and Queue Graphs Christopher Auer, - - PowerPoint PPT Presentation
| Characterizations of Deque and Queue Graphs Christopher Auer, Andreas Gleiner University of Passau Christopher Auer | Email: christopher.auer@uni-passau.de Slide 1 Introduction and Motivation Table of Contents | Introduction and
|
University of Passau
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 1
Introduction and Motivation
Table of Contents |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 2
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Example: Stack |
◮ Graph layouts
◮ Undirected graph: G = (V , E) ◮ Linear layout π : V → {0, . . . , n − 1}: positioning of the
vertices
◮ Example: Stack layout ◮ Strong relationship between graph layouts and planarity
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 3
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Introduction and Motivation
Known Characterizations |
◮ . . . stack graph ⇐
◮ . . . 2-stack graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 4
Deque Graphs
Table of Contents |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 5
Deque Graphs
Deque Layouts |
◮ Double-ended queue
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t ◮ Linear I/O layout:
◮ Linear layout π : V → {0, . . . , n − 1} ◮ Input assignment α : E → {h, t} ◮ Output assignment ω : E → {h, t}
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t ◮ Linear I/O layout:
◮ Linear layout π : V → {0, . . . , n − 1} ◮ Input assignment α : E → {h, t} ◮ Output assignment ω : E → {h, t}
◮ α(e) = ω(e) : e is a stack edge
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t ◮ Linear I/O layout:
◮ Linear layout π : V → {0, . . . , n − 1} ◮ Input assignment α : E → {h, t} ◮ Output assignment ω : E → {h, t}
◮ α(e) = ω(e) : e is a stack edge ◮ α(e) = ω(e) : e is a queue edge
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t ◮ Linear I/O layout:
◮ Linear layout π : V → {0, . . . , n − 1} ◮ Input assignment α : E → {h, t} ◮ Output assignment ω : E → {h, t}
◮ α(e) = ω(e) : e is a stack edge ◮ α(e) = ω(e) : e is a queue edge
◮ A deque. . .
◮ . . . can emulate two stacks Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Deque Layouts |
◮ Double-ended queue ◮ Two sides: Head h and Tail t ◮ Linear I/O layout:
◮ Linear layout π : V → {0, . . . , n − 1} ◮ Input assignment α : E → {h, t} ◮ Output assignment ω : E → {h, t}
◮ α(e) = ω(e) : e is a stack edge ◮ α(e) = ω(e) : e is a queue edge
◮ A deque. . .
◮ . . . can emulate two stacks ◮ . . . allows queue items Christopher Auer | Email: christopher.auer@uni-passau.de Slide 6
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9
◮ A graph is a deque graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 h t 1 2 3 4 5 6 7 8 9 h t
◮ A graph is a deque graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 h t 1 2 3 4 5 6 7 8 9 h t
◮ A graph is a deque graph ⇐
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 h t 1 2 3 4 5 6 7 8 9 h t
◮ A graph is a deque graph ⇐
◮ G is a deque graph
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Linear Cylindric Drawings |
8 1 2 7 9 3 5 4 6
1 2 3 4 5 6 7 8 9 h t 1 2 3 4 5 6 7 8 9 h t
◮ A graph is a deque graph ⇐
◮ G is a deque graph
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 7
Deque Graphs
Proof Idea |
◮ Proof idea
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path and back to start vertex
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path and back to start vertex
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path and back to start vertex ◮ Linear layout: Hamiltonian path
1 2 3 4 5 6 7 8 9 h t
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path and back to start vertex ◮ Linear layout: Hamiltonian path ◮ Stack edges: within one region
1 2 3 4 5 6 7 8 9 h t
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Proof Idea |
◮ Proof idea
◮ “Cut” along Hamiltonian path and back to start vertex ◮ Linear layout: Hamiltonian path ◮ Stack edges: within one region ◮ Queue edges: different regions
1 2 3 4 5 6 7 8 9 h t
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 8
Deque Graphs
Queue Graphs | Christopher Auer | Email: christopher.auer@uni-passau.de Slide 9
Deque Graphs
Queue Graphs |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 9
Deque Graphs
Queue Graphs |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 9
Deque Graphs
Queue Graphs |
◮ All edges are queue edges =
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 9
Deque Graphs
Queue Graphs |
◮ All edges are queue edges =
◮ Consequence: The dual of an embedded queue graph has a
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 9
Proper Leveled-Planar Graphs
Table of Contents |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 10
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
◮ “almost” proper leveled-planar 1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
◮ “almost” proper leveled-planar 1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
◮ “almost” proper leveled-planar 1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
◮ “almost” proper leveled-planar ◮ arched leveled-planar bipartite 1 2 3 4 5 6 1 2
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Arched Leveled-Planar Graphs |
◮ G is a queue graph ⇐
◮ “almost” proper leveled-planar ◮ arched leveled-planar bipartite 1 2 3 4 5 6 1 2
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 11
Proper Leveled-Planar Graphs
Proof Idea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 6 3 8 10 12 13 15
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 6 3 8 10 12 13 15 2 5 7 11
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 6 3 8 10 12 13 15 2 5 7 11 14 16 17
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Proper Leveled-Planar Graphs
Proof Idea |
A D E C B 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 1 6 3 8 10 12 13 15 2 5 7 11 14 16 17 4 9
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 12
Conclusion and Future Work
Table of Contents |
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 13
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
◮ Dual of embedded queue graph contains
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
◮ Dual of embedded queue graph contains
◮ Respective decision problems: all NP-complete
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
◮ Dual of embedded queue graph contains
◮ Respective decision problems: all NP-complete ◮ Heath and Rosenberg conjectured: “Every
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
◮ Dual of embedded queue graph contains
◮ Respective decision problems: all NP-complete ◮ Heath and Rosenberg conjectured: “Every
◮ Our conjecture: this is not true
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14
Conclusion and Future Work
Conclusion and Future Work |
◮ Deque layouts
◮ Planar and Hamiltonian cycle ⇐
⇒ 2-Stacks
◮ Planar and Hamiltonian path ⇐
⇒ Deque
◮ Future: Planar ⇐
⇒ Extended Deque
◮ Proper leveled-planar ⇐
◮ Dual of embedded queue graph contains
◮ Respective decision problems: all NP-complete ◮ Heath and Rosenberg conjectured: “Every
◮ Our conjecture: this is not true
1 2 3 4 5 6 7 8 9
1 2 3 4 5 6
Christopher Auer | Email: christopher.auer@uni-passau.de Slide 14