Abstract
It is known that any chordal graph on n vertices can be represented as the intersection of n subtrees in a tree on n nodes [5]. This fact is recently used in [2] to generate random chordal graphs on n vertices by generating n subtrees of a tree on n nodes. It follows that the space (and thus time) complexity of such an algorithm is at least the sum of the sizes of the generated subtrees assuming that a tree is given by a set of nodes. In [2], this complexity was mistakenly claimed to be linear in the number m of edges of the generated chordal graph. This error is corrected in [3] where the space complexity is shown to be \(\varOmega (m n^{1/4})\). The exact complexity of the algorithm is left as an open question.
In this paper, we show that the sum of the sizes of n subtrees in a tree on n nodes is \(\varTheta (m\sqrt{n})\). We also show that we can confine ourselves to contraction-minimal subtree intersection representations since they are sufficient to generate every chordal graph. Furthermore, the sum of the sizes of the subtrees in such a representation is at most \(2m+n\). We use this result to derive the first linear time random chordal graph generator. In addition to these theoretical results, we conduct experiments to study the quality of the chordal graphs generated by our algorithm and compare them to those in the literature. Our experimental study indicates that the generated graphs do not have a restricted structure and the sizes of maximal cliques are distributed fairly over the range. Furthermore, our algorithm is simple to implement and produces graphs with 10000 vertices and \(4{.}10^7\) edges in less than one second on a laptop computer.
The first author acknowledges the support of the Turkish Academy of Science TUBA GEBIP award.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Andreou, M.I., Papadopoulou, V.G., Spirakis, P.G., Theodorides, B., Xeros, A.: Generating and radiocoloring families of perfect graphs. In: Nikoletseas, S.E. (ed.) WEA 2005. LNCS, vol. 3503, pp. 302–314. Springer, Heidelberg (2005). https://doi.org/10.1007/11427186_27
Şeker, O., Heggernes, P., Ekim, T., Taşkın, Z.C.: Linear-time generation of random chordal graphs. In: Fotakis, D., Pagourtzis, A., Paschos, V.T. (eds.) CIAC 2017. LNCS, vol. 10236, pp. 442–453. Springer, Cham (2017). https://doi.org/10.1007/978-3-319-57586-5_37
Şeker, O., Heggernes, P., Ekim, T., Taşkın, Z.C.: Generation of random chordal graphs using subtrees of a tree. arXiv preprint arXiv:1810.13326 (2018)
Diestel, R.: Graph Theory. GTM, vol. 173, 4th edn. Springer, Heidelberg (2017)
Gavril, F.: The intersection graphs of subtrees in trees are exactly the chordal graphs. J. Comb. Theory 16, 47–56 (1974)
Golumbic, M.C.: Algorithmic Graph Theory and Perfect Graphs. Annals of Discrete Mathematics, vol. 57. North-Holland Publishing Co., Amsterdam (2004)
Markenzon, L., Vernet, O., Araujo, L.H.: Two methods for the generation of chordal graph. Ann. Oper. Res. 157(1), 47–60 (2008)
Pearl, J.: Probabilistic Reasoning in Intelligent Systems: Networks of Plausible Inference. Morgan Kaufmann, Burlington (2014)
Pemmaraju, S.V., Penumatcha, S., Raman, R.: Approximating interval coloring and max-coloring in chordal graphs. J. Exp. Algorithms 10, 2–8 (2005)
Rose, D.J.: A graph-theoretic study of the numerical solution of sparse positive definite systems of linear equation. In: Graph Theory and Computing, pp. 183–217 (1972)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Switzerland AG
About this paper
Cite this paper
Ekim, T., Shalom, M., Şeker, O. (2019). The Complexity of Subtree Intersection Representation of Chordal Graphs and Linear Time Chordal Graph Generation. In: Kotsireas, I., Pardalos, P., Parsopoulos, K., Souravlias, D., Tsokas, A. (eds) Analysis of Experimental Algorithms. SEA 2019. Lecture Notes in Computer Science(), vol 11544. Springer, Cham. https://doi.org/10.1007/978-3-030-34029-2_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-34029-2_2
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-34028-5
Online ISBN: 978-3-030-34029-2
eBook Packages: Computer ScienceComputer Science (R0)