Skip to main content
Erschienen in: Theory of Computing Systems 4/2013

01.11.2013

Log-Space Algorithms for Paths and Matchings in k-Trees

verfasst von: Bireswar Das, Samir Datta, Prajakta Nimbhorkar

Erschienen in: Theory of Computing Systems | Ausgabe 4/2013

Einloggen

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

Reachability and shortest path problems are NL-complete for general graphs. They are known to be in L for graphs of tree-width 2 (Jakoby and Tantau in Proceedings of FSTTCS’07: The 27th Annual Conference on Foundations of Software Technology and Theoretical Computer Science, pp. 216–227, 2007). In this paper, we improve these bounds for k-trees, where k is a constant. In particular, the main results of our paper are log-space algorithms for reachability in directed k-trees, and for computation of shortest and longest paths in directed acyclic k-trees.
Besides the path problems mentioned above, we also consider the problem of deciding whether a k-tree has a perfect matching (decision version), and if so, finding a perfect matching (search version), and prove that these two problems are L-complete. These problems are known to be in P and in RNC for general graphs, and in SPL for planar bipartite graphs, as shown in Datta et al. (Theory Comput. Syst. 47:737–757, 2010).
Our results settle the complexity of these problems for the class of k-trees. The results are also applicable for bounded tree-width graphs, when a tree-decomposition is given as input. The technique central to our algorithms is a careful implementation of the divide-and-conquer approach in log-space, along with some ideas from Jakoby and Tantau (Proceedings of FSTTCS’07: The 27th Annual Conference on Foundations of Software Technology and Theoretical Computer Science, pp. 216–227, 2007) and Limaye et al. (Theory Comput. Syst. 46(3):499–522, 2010).

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Literatur
1.
Zurück zum Zitat Allender, E.: Making computation count: arithmetic circuits in the nineties. SIGACT News 28(4), 2–15 (1997) CrossRef Allender, E.: Making computation count: arithmetic circuits in the nineties. SIGACT News 28(4), 2–15 (1997) CrossRef
2.
Zurück zum Zitat Allender, E., Barrington, D.A.M., Chakraborty, T., Datta, S., Roy, S.: Planar and grid graph reachability problems. Theory Comput. Syst. 45(4), 675–723 (2009) MathSciNetMATHCrossRef Allender, E., Barrington, D.A.M., Chakraborty, T., Datta, S., Roy, S.: Planar and grid graph reachability problems. Theory Comput. Syst. 45(4), 675–723 (2009) MathSciNetMATHCrossRef
3.
Zurück zum Zitat Arvind, V., Das, B., Köbler, J.: The space complexity of k-tree isomorphism. In: Proceedings of ISAAC’07: The 18th International Symposium on Algorithms and Computation. Lecture Notes in Computer Science Series, vol. 4835, pp. 822–833. Springer, Berlin (2007) CrossRef Arvind, V., Das, B., Köbler, J.: The space complexity of k-tree isomorphism. In: Proceedings of ISAAC’07: The 18th International Symposium on Algorithms and Computation. Lecture Notes in Computer Science Series, vol. 4835, pp. 822–833. Springer, Berlin (2007) CrossRef
4.
Zurück zum Zitat Ben-Or, M., Cleve, R.: Computing algebraic formulas using a constant number of registers. SIAM J. Comput. 21(1), 54–58 (1992) MathSciNetMATHCrossRef Ben-Or, M., Cleve, R.: Computing algebraic formulas using a constant number of registers. SIAM J. Comput. 21(1), 54–58 (1992) MathSciNetMATHCrossRef
5.
Zurück zum Zitat Braunmühl, B.V., Verbeek, R.: Input driven languages are recognized in logn space. In: Topics in the Theory of Computation: Selected Papers of the International Conference on ‘Foundations of Computation Theory’, FCT’83. North-Holland Mathematics Studies Series, vol. 102, pp. 1–19. North-Holland, Amsterdam (1985) Braunmühl, B.V., Verbeek, R.: Input driven languages are recognized in logn space. In: Topics in the Theory of Computation: Selected Papers of the International Conference on ‘Foundations of Computation Theory’, FCT’83. North-Holland Mathematics Studies Series, vol. 102, pp. 1–19. North-Holland, Amsterdam (1985)
6.
Zurück zum Zitat Braverman, M., Kulkarni, R., Roy, S.: Parity problems in planar graphs. In: Proceedings of CCC’07: The 22nd Annual IEEE Conference on Computational Complexity, pp. 222–235 (2007) Braverman, M., Kulkarni, R., Roy, S.: Parity problems in planar graphs. In: Proceedings of CCC’07: The 22nd Annual IEEE Conference on Computational Complexity, pp. 222–235 (2007)
7.
Zurück zum Zitat Buss, S., Cook, S., Gupta, A., Ramachandran, V.: An optimal parallel algorithm for formula evaluation. SIAM J. Comput. 21(4), 755–780 (1992) MathSciNetMATHCrossRef Buss, S., Cook, S., Gupta, A., Ramachandran, V.: An optimal parallel algorithm for formula evaluation. SIAM J. Comput. 21(4), 755–780 (1992) MathSciNetMATHCrossRef
8.
Zurück zum Zitat Chandrasekharan, N., Hannenhalli, S.: Efficient algorithms for computing matching and chromatic polynomials on series-parallel graphs. In: Proceedings of ICCI’92: The 4th International IEEE Conference on Computing and Information, pp. 42–45 (1992) CrossRef Chandrasekharan, N., Hannenhalli, S.: Efficient algorithms for computing matching and chromatic polynomials on series-parallel graphs. In: Proceedings of ICCI’92: The 4th International IEEE Conference on Computing and Information, pp. 42–45 (1992) CrossRef
10.
Zurück zum Zitat Datta, S., Roy, S.: A note on matching problems complete for logspace classes (2005, unpublished short) Datta, S., Roy, S.: A note on matching problems complete for logspace classes (2005, unpublished short)
11.
Zurück zum Zitat Datta, S., Kulkarni, R., Limaye, N., Mahajan, M.: Planarity, determinants, permanents, and (unique) matchings. In: Proceedings of CSR’07: The 2nd International Symposium on Computer Science in Russia. Lecture Notes in Computer Science Series, vol. 4649, pp. 115–126. Springer, Berlin (2007) Datta, S., Kulkarni, R., Limaye, N., Mahajan, M.: Planarity, determinants, permanents, and (unique) matchings. In: Proceedings of CSR’07: The 2nd International Symposium on Computer Science in Russia. Lecture Notes in Computer Science Series, vol. 4649, pp. 115–126. Springer, Berlin (2007)
12.
Zurück zum Zitat Datta, S., Kulkarni, R., Roy, S.: Deterministically isolating a perfect matching in bipartite planar graphs. Theory Comput. Syst. 47, 737–757 (2010) MathSciNetMATHCrossRef Datta, S., Kulkarni, R., Roy, S.: Deterministically isolating a perfect matching in bipartite planar graphs. Theory Comput. Syst. 47, 737–757 (2010) MathSciNetMATHCrossRef
13.
Zurück zum Zitat Elberfeld, M., Jakoby, A., Tantau, T.: Logspace versions of the theorems of Bodlaender and Courcelle. In: Proceedings of FOCS’10: The 51st Annual IEEE Symposium on Foundations of Computer Science, pp. 143–152 (2010) CrossRef Elberfeld, M., Jakoby, A., Tantau, T.: Logspace versions of the theorems of Bodlaender and Courcelle. In: Proceedings of FOCS’10: The 51st Annual IEEE Symposium on Foundations of Computer Science, pp. 143–152 (2010) CrossRef
14.
Zurück zum Zitat Etessami, K.: Counting quantifiers, successor relations, and logarithmic space. J. Comput. Syst. Sci. 54(3), 400–411 (1997) MathSciNetMATHCrossRef Etessami, K.: Counting quantifiers, successor relations, and logarithmic space. J. Comput. Syst. Sci. 54(3), 400–411 (1997) MathSciNetMATHCrossRef
15.
Zurück zum Zitat Flarup, U., Koiran, P., Lyaudet, L.: On the expressive power of planar perfect matching and permanents of bounded treewidth matrices. In: Proceedings of ISAAC’07: The 18th International Symposium on Algorithms and Computation. Lecture Notes in Computer Science, pp. 124–136. Springer, Berlin (2007) CrossRef Flarup, U., Koiran, P., Lyaudet, L.: On the expressive power of planar perfect matching and permanents of bounded treewidth matrices. In: Proceedings of ISAAC’07: The 18th International Symposium on Algorithms and Computation. Lecture Notes in Computer Science, pp. 124–136. Springer, Berlin (2007) CrossRef
16.
Zurück zum Zitat Greco, J.G.D., Chandrasekharan, N., Sridhar, R.: Fast parallel reordering and isomorphism testing of k-trees. Algorithmica 32(1), 61–72 (2002) MathSciNetMATHCrossRef Greco, J.G.D., Chandrasekharan, N., Sridhar, R.: Fast parallel reordering and isomorphism testing of k-trees. Algorithmica 32(1), 61–72 (2002) MathSciNetMATHCrossRef
17.
Zurück zum Zitat Gupta, A., Nishimura, N., Proskurowski, A., Ragde, P.: Embeddings of k-connected graphs of pathwidth k. Discrete Appl. Math. 145(2), 242–265 (2005) MathSciNetMATHCrossRef Gupta, A., Nishimura, N., Proskurowski, A., Ragde, P.: Embeddings of k-connected graphs of pathwidth k. Discrete Appl. Math. 145(2), 242–265 (2005) MathSciNetMATHCrossRef
19.
Zurück zum Zitat Hesse, W., Allender, E., Barrington, D.A.M.: Uniform constant-depth threshold circuits for division and iterated multiplication. J. Comput. Syst. Sci. 65(4), 695–716 (2002) MathSciNetMATHCrossRef Hesse, W., Allender, E., Barrington, D.A.M.: Uniform constant-depth threshold circuits for division and iterated multiplication. J. Comput. Syst. Sci. 65(4), 695–716 (2002) MathSciNetMATHCrossRef
20.
Zurück zum Zitat Hoang, T.M., Mahajan, M., Thierauf, T.: On the bipartite unique perfect matching problem. In: Proceedings of ICALP’06: The 33rd International Colloquium on Automata, Languages and Programming. Lecture Notes in Computer Science, pp. 453–464. Springer, Berlin (2006) CrossRef Hoang, T.M., Mahajan, M., Thierauf, T.: On the bipartite unique perfect matching problem. In: Proceedings of ICALP’06: The 33rd International Colloquium on Automata, Languages and Programming. Lecture Notes in Computer Science, pp. 453–464. Springer, Berlin (2006) CrossRef
21.
Zurück zum Zitat Jakoby, A., Tantau, T.: Logspace algorithms for computing shortest and longest paths in series-parallel graphs. In: Proceedings of FSTTCS’07: The 27th Annual Conference on Foundations of Software Technology and Theoretical Computer Science. Lecture Notes in Computer Science Series, vol. 4855, pp. 216–227. Springer, Berlin (2007) Jakoby, A., Tantau, T.: Logspace algorithms for computing shortest and longest paths in series-parallel graphs. In: Proceedings of FSTTCS’07: The 27th Annual Conference on Foundations of Software Technology and Theoretical Computer Science. Lecture Notes in Computer Science Series, vol. 4855, pp. 216–227. Springer, Berlin (2007)
22.
23.
Zurück zum Zitat Köbler, J., Kuhnert, S.: The isomorphism problem for k-trees is complete for logspace. In: Proceedings of MFCS’09: The 34th International Symposium on Mathematical Foundations of Computer Science. Lecture Notes in Computer Science Series, vol. 5734, pp. 537–548. Springer, Berlin (2009) Köbler, J., Kuhnert, S.: The isomorphism problem for k-trees is complete for logspace. In: Proceedings of MFCS’09: The 34th International Symposium on Mathematical Foundations of Computer Science. Lecture Notes in Computer Science Series, vol. 5734, pp. 537–548. Springer, Berlin (2009)
24.
Zurück zum Zitat Limaye, N., Mahajan, M., Nimbhorkar, P.: Longest paths in planar DAGs in unambiguous log-space. Chic. J. Theor. Comput. Sci. 2010(8), 1–16 (2010). CATS 2009 special issue MathSciNetCrossRef Limaye, N., Mahajan, M., Nimbhorkar, P.: Longest paths in planar DAGs in unambiguous log-space. Chic. J. Theor. Comput. Sci. 2010(8), 1–16 (2010). CATS 2009 special issue MathSciNetCrossRef
25.
Zurück zum Zitat Limaye, N., Mahajan, M., Rao, B.V.R.: Arithmetizing classes around NC1 and L. Theory Comput. Syst. 46(3), 499–522 (2010). Special issue for STACS 2007 MathSciNetMATHCrossRef Limaye, N., Mahajan, M., Rao, B.V.R.: Arithmetizing classes around NC1 and L. Theory Comput. Syst. 46(3), 499–522 (2010). Special issue for STACS 2007 MathSciNetMATHCrossRef
26.
29.
30.
Zurück zum Zitat Thierauf, T., Wagner, F.: Reachability in K 3,3-free graphs and K 5-free graphs is in unambiguous log-space. In: Proceedings of FCS’09: The 17th International Symposium on Fundamentals of Computation Theory. Lecture Notes in Computer Science Series, vol. 5699, pp. 323–334. Springer, Berlin (2009) CrossRef Thierauf, T., Wagner, F.: Reachability in K 3,3-free graphs and K 5-free graphs is in unambiguous log-space. In: Proceedings of FCS’09: The 17th International Symposium on Fundamentals of Computation Theory. Lecture Notes in Computer Science Series, vol. 5699, pp. 323–334. Springer, Berlin (2009) CrossRef
Metadaten
Titel
Log-Space Algorithms for Paths and Matchings in k-Trees
verfasst von
Bireswar Das
Samir Datta
Prajakta Nimbhorkar
Publikationsdatum
01.11.2013
Verlag
Springer US
Erschienen in
Theory of Computing Systems / Ausgabe 4/2013
Print ISSN: 1432-4350
Elektronische ISSN: 1433-0490
DOI
https://doi.org/10.1007/s00224-013-9469-9

Weitere Artikel der Ausgabe 4/2013

Theory of Computing Systems 4/2013 Zur Ausgabe

Premium Partner