Abstract
We continue the study of linear layouts of graphs in relation to known data structures. At a high level, given a data structure, the goal is to find a linear order of the vertices of the graph and a partition of its edges into pages, such that the edges in each page follow the restriction of the given data structure in the underlying order. In this regard, the most notable representatives are the stack and queue layouts, while there exists some work also for deques.
In this paper, we study linear layouts of graphs that follow the restriction of a restricted-input queue (rique), in which insertions occur only at the head, and removals occur both at the head and the tail. We characterize the graphs admitting rique layouts with a single page and we use the characterization to derive a corresponding testing algorithm when the input graph is maximal planar. We finally give bounds on the number of needed pages (so-called rique-number) of complete graphs.
This work was initiated at the Bertinoro Workshop on Graph Drawing 2022.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Adolphson, D., Hu, T.C.: Optimal linear ordering. SIAM J. Appl. Math. 25(3), 403–423 (1973). https://doi.org/10.1137/0125042
Alam, J.M., Bekos, M.A., Gronemann, M., Kaufmann, M., Pupyrev, S.: Queue layouts of planar 3-trees. Algorithmica 82(9), 2564–2585 (2020). https://doi.org/10.1007/s00453-020-00697-4
Alam, J.M., Bekos, M.A., Gronemann, M., Kaufmann, M., Pupyrev, S.: The mixed page number of graphs. Theor. Comput. Sci. 931, 131–141 (2022). https://doi.org/10.1016/j.tcs.2022.07.036
Auer, C., Bachmaier, C., Brandenburg, F.J., Brunner, W., Gleißner, A.: Data structures and their planar graph layouts. J. Graph Algorithms Appl. 22(2), 207–237 (2018). https://doi.org/10.7155/jgaa.00465
Bannister, M.J., Devanny, W.E., Dujmović, V., Eppstein, D., Wood, D.R.: Track layouts, layered path decompositions, and leveled planarity. Algorithmica 81(4), 1561–1583 (2018). https://doi.org/10.1007/s00453-018-0487-5
Battista, G.D., Tamassia, R.: Incremental planarity testing (extended abstract). In: Symposium on Foundations of Computer Science, pp. 436–441. IEEE Computer Society (1989). https://doi.org/10.1109/SFCS.1989.63515
Di Battista, G., Tamassia, R.: On-line graph algorithms with SPQR-trees. In: Paterson, M.S. (ed.) ICALP 1990. LNCS, vol. 443, pp. 598–611. Springer, Heidelberg (1990). https://doi.org/10.1007/BFb0032061
Bekos, M.A., Felsner, S., Kindermann, P., Kobourov, S., Kratovíl, J., Rutter, I.: The Rique-number of graphs (2022). https://doi.org/10.48550/ARXIV.2209.00424
Bekos, M.A., Gronemann, M., Raftopoulou, C.N.: Two-page book embeddings of 4-planar graphs. Algorithmica 75(1), 158–185 (2015). https://doi.org/10.1007/s00453-015-0016-8
Bekos, M.A., Gronemann, M., Raftopoulou, C.N.: On the Queue Number of Planar Graphs. In: Purchase, H.C., Rutter, I. (eds.) GD 2021. LNCS, vol. 12868, pp. 271–284. Springer, Cham (2021). https://doi.org/10.1007/978-3-030-92931-2_20
Bekos, M.A., Kaufmann, M., Klute, F., Pupyrev, S., Raftopoulou, C.N., Ueckerdt, T.: Four pages are indeed necessary for planar graphs. J. Comput. Geom. 11(1), 332–353 (2020)
Bekos, M.A., Kaufmann, M., Zielke, C.: The book embedding problem from a SAT-solving perspective. In: Di Giacomo, E., Lubiw, A. (eds.) GD 2015. LNCS, vol. 9411, pp. 125–138. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-27261-0_11
Bernhart, F., Kainen, P.C.: The book thickness of a graph. J. Comb. Theory Ser. B 27(3), 320–331 (1979). https://doi.org/10.1016/0095-8956(79)90021-2
Chinn, P.Z., Chvatalova, J., Dewdney, A.K., Gibbs, N.E.: The bandwidth problem for graphs and matrices - a survey. J. Graph Theory 6(3), 223–254 (1982). https://doi.org/10.1002/jgt.3190060302
Cornuéjols, G., Naddef, D., Pulleyblank, W.R.: Halin graphs and the travelling salesman problem. Math. Program. 26(3), 287–294 (1983). https://doi.org/10.1007/BF02591867
Di Battista, G., Frati, F., Pach, J.: On the queue number of planar graphs. SIAM J. Comput. 42(6), 2243–2285 (2013). https://doi.org/10.1137/130908051
Dujmović, V.: Graph layouts via layered separators. J. Comb. Theory Ser. B 110, 79–89 (2015). https://doi.org/10.1016/j.jctb.2014.07.005
Dujmović, V., Frati, F.: Stack and queue layouts via layered separators. J. Graph Algorithms Appl. 22(1), 89–99 (2018). https://doi.org/10.7155/jgaa.00454
Dujmovic, V., Joret, G., Micek, P., Morin, P., Ueckerdt, T., Wood, D.R.: Planar graphs have bounded queue-number. J. ACM 67(4), 22:1-22:38 (2020). https://doi.org/10.1145/3385731
Ewald, G.: Hamiltonian circuits in simplicial complexes. Geom. Dedicata. 2(1), 115–125 (1973). https://doi.org/10.1007/BF00149287
de Fraysseix, H., de Mendez, P.O., Pach, J.: A left-first search algorithm for planar graphs. Discrete Comput. Geom. 13, 459–468 (1995). https://doi.org/10.1007/BF02574056
Ganley, J.L.: Stack and queue layouts of Halin graphs (1995)
Goldner, A., Harary, F.: Note on a smallest nonhamiltonian maximal planar graph. Bull. Malays. Math. Sci. Soc. 1(6), 41–42 (1975)
Guan, X., Yang, W.: Embedding planar 5-graphs in three pages. Discret. Appl. Math. (2019). https://doi.org/10.1016/j.dam.2019.11.020
Gutwenger, C., Mutzel, P.: A linear time implementation of SPQR-trees. In: Marks, J. (ed.) GD 2000. LNCS, vol. 1984, pp. 77–90. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44541-2_8
Heath, L.S.: Embedding planar graphs in seven pages. In: Foundations of Computer Science, pp. 74–83. IEEE Computer Society (1984). https://doi.org/10.1109/SFCS.1984.715903
Heath, L.S., Leighton, F.T., Rosenberg, A.L.: Comparing queues and stacks as mechanisms for laying out graphs. SIAM J. Discrete Math. 5(3), 398–412 (1992). https://doi.org/10.1137/0405031
Heath, L.S., Rosenberg, A.L.: Laying out graphs using queues. SIAM J. Comput. 21(5), 927–958 (1992). https://doi.org/10.1137/0221055
Hoffmann, M., Klemz, B.: Triconnected planar graphs of maximum degree five are subhamiltonian. In: Bender, M.A., Svensson, O., Herman, G. (eds.) European Symposium on Algorithms. LIPIcs, vol. 144, pp. 58:1–58:14. Schloss Dagstuhl - Leibniz-Zentrum für Informatik (2019). https://doi.org/10.4230/LIPIcs.ESA.2019.58
Kainen, P.C., Overbay, S.: Extension of a theorem of Whitney. Appl. Math. Lett. 20(7), 835–837 (2007). https://doi.org/10.1016/j.aml.2006.08.019
Nishizeki, T., Chiba, N.: Planar Graphs: Theory and Algorithms, chap. 10. Hamiltonian Cycles, pp. 171–184. Dover Books on Mathematics, Courier Dover Publications (2008)
Pratt, V.R.: Computing permutations with double-ended queues, parallel stacks and parallel queues. In: Aho, A.V., Borodin, A., Constable, R.L., Floyd, R.W., Harrison, M.A., Karp, R.M., Strong, H.R. (eds.) ACM Symposium on Theory of Computing, pp. 268–277. ACM (1973). https://doi.org/10.1145/800125.804058
Rengarajan, S., Veni Madhavan, C.E.: Stack and queue number of 2-trees. In: Du, D.-Z., Li, M. (eds.) COCOON 1995. LNCS, vol. 959, pp. 203–212. Springer, Heidelberg (1995). https://doi.org/10.1007/BFb0030834
Robertson, N., Seymour, P.: Graph minors I excluding a forest. J. Comb. Theory Ser. B 35(1), 39–61 (1983). https://doi.org/10.1016/0095-8956(83)90079-5
Serna, M., Thilikos, D.: Parameterized complexity for graph layout problems. B. EATCS 86, 41–65 (2005)
Yannakakis, M.: Embedding planar graphs in four pages. J. Comput. Syst. Sci. 38(1), 36–67 (1989). https://doi.org/10.1016/0022-0000(89)90032-9
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Bekos, M.A., Felsner, S., Kindermann, P., Kobourov, S., Kratochvíl, J., Rutter, I. (2023). The Rique-Number of Graphs. In: Angelini, P., von Hanxleden, R. (eds) Graph Drawing and Network Visualization. GD 2022. Lecture Notes in Computer Science, vol 13764. Springer, Cham. https://doi.org/10.1007/978-3-031-22203-0_27
Download citation
DOI: https://doi.org/10.1007/978-3-031-22203-0_27
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-22202-3
Online ISBN: 978-3-031-22203-0
eBook Packages: Computer ScienceComputer Science (R0)