Skip to main content

2017 | OriginalPaper | Buchkapitel

Space Complexity of Reachability Testing in Labelled Graphs

verfasst von : Vidhya Ramaswamy, Jayalal Sarma, K. S. Sunil

Erschienen in: Language and Automata Theory and Applications

Verlag: Springer International Publishing

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

search-config
loading …

Abstract

Fix an algebraic structure \((\mathcal {A}, *)\). Given a graph \(G =(V, E)\) and the labelling function \(\phi \) (\(\phi : E \rightarrow \mathcal {A}\)) for the edges, two nodes s, \(t \in V\), and a subset \(F \subseteq \mathcal {A}\), the \(\mathcal {A}\)-Reach problem asks if there is a path p (need not be simple) from s to t whose yield (result of the operation in the ordered set of the labels of the edges constituting the path) is in F. On the complexity frontier of this problem, we show the following results.
  • When \(\mathcal {A}\) is a group whose size is polynomially bounded in the size of the graph (hence equivalently presented as a multiplication table at the input), and the graph is undirected, the \(\mathcal {A}\)-Reach problem is in \(\mathsf {L}\). Building on this, using a decomposition in [4], we show that, when \(\mathcal {A}\) is a fixed quasi-group, and the graph is undirected, the \(\mathcal {A}\)-Reach problem is in \(\mathsf {L}\). In contrast, we show \(\mathsf {NL}\)-hardness of the problem over bidirected graphs, when \(\mathcal {A}\) is a matrix group over \(\mathbb {Q}\). When \(\mathcal {A}\) is a fixed aperiodic monoid, we show that the problem is \(\mathsf {NL}\)-complete.
  • As our main theorem, we prove a dichotomy for graphs labelled with fixed aperiodic monoids by showing that for every fixed aperiodic monoid \(\mathcal {A}\), \(\mathcal {A}\)-Reach problem is either in \(\mathsf {L}\) or is \(\mathsf {NL}\)-complete.
  • We show that there exists a monoid M, such that the reachability problem in general DAGs can be reduced to \(\mathcal {A}\)-Reach problem for planar non-bipartite DAGs labelled with M. In contrast, we show that if the planar DAGs that we obtain above are bipartite, the problem can be further reduced to reachability testing in planar DAGs and hence is in \(\mathsf {UL}\).

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 "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!

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!

Fußnoten
1
A language is said to be in unambiguous logspace if there exists a non-deterministic logspace Turing machine M such that \(\forall x\), M has at most one accepting computation.
 
2
Directed graph (G(VE)) such that \(\forall v_i,v_j \in V, (v_i,v_j) \in E \implies (v_j,v_i) \in E\). However, \(\phi (v_i,v_j)\) need not be equal to \(\phi (v_j,v_i)\). To complement this, we observe (see Corollary 1) that the log-space upper bound for groups whose size is polynomially bounded in terms of input, holds even for bidirected graphs.
 
3
We do not use the operator, whenever it is clear from the context. We use 1 and e interchangeably for the identity element.
 
4
If the size of \(\mathcal {A}\) is fixed (or even polynomially bounded) we will assume that \(|F| = 1\). We also assume that the accepting element a is given as a part of the input. All our results except Theorem 7 hold even if a is fixed apriori.
 
5
We denote the elements of this monoid by \(\{1, \alpha , \beta , \alpha \beta , \beta \alpha , 0\}\).
 
Literatur
2.
Zurück zum Zitat Arora, S., Barak, B.: Computational Complexity: A Modern Approach. Cambridge University Press, Cambridge (2009)CrossRefMATH Arora, S., Barak, B.: Computational Complexity: A Modern Approach. Cambridge University Press, Cambridge (2009)CrossRefMATH
3.
Zurück zum Zitat David, A., Barrington, M., Thérien, D.: Finite monoids and the fine structure of NC\({}^{\text{1 }}\). J. ACM 35(4), 941–952 (1988)MathSciNetCrossRefMATH David, A., Barrington, M., Thérien, D.: Finite monoids and the fine structure of NC\({}^{\text{1 }}\). J. ACM 35(4), 941–952 (1988)MathSciNetCrossRefMATH
4.
Zurück zum Zitat Beaudry, M., Lemieux, F., Thérien, D.: Finite loops recognize exactly the regular open languages. In: Degano, P., Gorrieri, R., Marchetti-Spaccamela, A. (eds.) ICALP 1997. LNCS, vol. 1256, pp. 110–120. Springer, Heidelberg (1997). doi:10.1007/3-540-63165-8_169 CrossRef Beaudry, M., Lemieux, F., Thérien, D.: Finite loops recognize exactly the regular open languages. In: Degano, P., Gorrieri, R., Marchetti-Spaccamela, A. (eds.) ICALP 1997. LNCS, vol. 1256, pp. 110–120. Springer, Heidelberg (1997). doi:10.​1007/​3-540-63165-8_​169 CrossRef
5.
Zurück zum Zitat Beaudry, M., McKenzie, P., Pladeau, P., Thérien, D.: Finite monoids: from word to circuit evaluation. SIAM J. Comput. 26(1), 138–152 (1997)MathSciNetCrossRefMATH Beaudry, M., McKenzie, P., Pladeau, P., Thérien, D.: Finite monoids: from word to circuit evaluation. SIAM J. Comput. 26(1), 138–152 (1997)MathSciNetCrossRefMATH
6.
Zurück zum Zitat Bédard, F., Lemieux, F., McKenzie, P.: Extensions to Barrington’s M-program model. In: Proceedings Fifth Annual Structure in Complexity Theory Conference, pp. 200–209 (1990) Bédard, F., Lemieux, F., McKenzie, P.: Extensions to Barrington’s M-program model. In: Proceedings Fifth Annual Structure in Complexity Theory Conference, pp. 200–209 (1990)
7.
Zurück zum Zitat Bourke, C., Tewari, R., Vinodchandran, N.V.: Directed planar reachability is in unambiguous log-space. ACM Trans. Comput. Theory 1(1), 4 (2009) Bourke, C., Tewari, R., Vinodchandran, N.V.: Directed planar reachability is in unambiguous log-space. ACM Trans. Comput. Theory 1(1), 4 (2009)
8.
9.
Zurück zum Zitat Chandra, A.K., Fortune, S., Lipton, R.J.: Unbounded fan-in circuits and associative functions. J. Comput. Syst. Sci. 30(2), 222–234 (1985)MathSciNetCrossRefMATH Chandra, A.K., Fortune, S., Lipton, R.J.: Unbounded fan-in circuits and associative functions. J. Comput. Syst. Sci. 30(2), 222–234 (1985)MathSciNetCrossRefMATH
10.
Zurück zum Zitat Das, B., Datta, S., Nimbhorkar, P.: Log-space algorithms for paths and matchings in k-trees. In: 27th STACS, pp. 215–226 (2010) Das, B., Datta, S., Nimbhorkar, P.: Log-space algorithms for paths and matchings in k-trees. In: 27th STACS, pp. 215–226 (2010)
12.
Zurück zum Zitat Horwitz, S., Reps, T.W., Binkley, D.: Interprocedural slicing using dependence graphs. ACM Trans. Program. Lang. Syst. 12(1), 26–60 (1990)CrossRef Horwitz, S., Reps, T.W., Binkley, D.: Interprocedural slicing using dependence graphs. ACM Trans. Program. Lang. Syst. 12(1), 26–60 (1990)CrossRef
13.
Zurück zum Zitat Huynh, T.C.T.: The linkage problem for group-labelled graphs. Ph.D. thesis, University of Waterloo (2009) Huynh, T.C.T.: The linkage problem for group-labelled graphs. Ph.D. thesis, University of Waterloo (2009)
14.
Zurück zum Zitat Kawase, Y., Kobayashi, Y., Yamaguchi, Y.: Finding a path in group-labeled graphs with two labels forbidden. In: Halldórsson, M.M., Iwama, K., Kobayashi, N., Speckmann, B. (eds.) ICALP 2015. LNCS, vol. 9134, pp. 797–809. Springer, Heidelberg (2015). doi:10.1007/978-3-662-47672-7_65 Kawase, Y., Kobayashi, Y., Yamaguchi, Y.: Finding a path in group-labeled graphs with two labels forbidden. In: Halldórsson, M.M., Iwama, K., Kobayashi, N., Speckmann, B. (eds.) ICALP 2015. LNCS, vol. 9134, pp. 797–809. Springer, Heidelberg (2015). doi:10.​1007/​978-3-662-47672-7_​65
15.
16.
Zurück zum Zitat Pin, J.-E., Straubing, H., Therien, D.: Locally trivial categories and unambiguous concatenation. J. Pure Appl. Algebra 52(3), 297–311 (1988)MathSciNetCrossRefMATH Pin, J.-E., Straubing, H., Therien, D.: Locally trivial categories and unambiguous concatenation. J. Pure Appl. Algebra 52(3), 297–311 (1988)MathSciNetCrossRefMATH
17.
Zurück zum Zitat Raymond, J.-F.Ç., Tesson, P., Thérien, D.: An algebraic approach to communication complexity. In: Larsen, K.G., Skyum, S., Winskel, G. (eds.) ICALP 1998. LNCS, vol. 1443, pp. 29–40. Springer, Heidelberg (1998). doi:10.1007/BFb0055038 CrossRef Raymond, J.-F.Ç., Tesson, P., Thérien, D.: An algebraic approach to communication complexity. In: Larsen, K.G., Skyum, S., Winskel, G. (eds.) ICALP 1998. LNCS, vol. 1443, pp. 29–40. Springer, Heidelberg (1998). doi:10.​1007/​BFb0055038 CrossRef
18.
Zurück zum Zitat Reingold, O.: Undirected connectivity in log-space. J. ACM 55(4), 17 (2008) Reingold, O.: Undirected connectivity in log-space. J. ACM 55(4), 17 (2008)
19.
Zurück zum Zitat Reingold, O., Trevisan, L., Vadhan, S.: Pseudorandom walks on regular digraphs and the RL vs. L problem. In: Proceedings of STOC, pp. 457–466 (2006) Reingold, O., Trevisan, L., Vadhan, S.: Pseudorandom walks on regular digraphs and the RL vs. L problem. In: Proceedings of STOC, pp. 457–466 (2006)
20.
21.
Zurück zum Zitat Reps, T.W.: Program analysis via graph reachability. Inf. Softw. Technol. 40(11–12), 701–726 (1998)CrossRef Reps, T.W.: Program analysis via graph reachability. Inf. Softw. Technol. 40(11–12), 701–726 (1998)CrossRef
22.
Zurück zum Zitat Tesson, P.: An algebraic approach to communication complexity. Masters thesis, McGill University, Montreal (1998) Tesson, P.: An algebraic approach to communication complexity. Masters thesis, McGill University, Montreal (1998)
23.
Zurück zum Zitat Yannakakis, M.: Graph-theoretic methods in database theory. In: Proceedings of the 9th ACM PODS, pp. 230–242 (1990) Yannakakis, M.: Graph-theoretic methods in database theory. In: Proceedings of the 9th ACM PODS, pp. 230–242 (1990)
Metadaten
Titel
Space Complexity of Reachability Testing in Labelled Graphs
verfasst von
Vidhya Ramaswamy
Jayalal Sarma
K. S. Sunil
Copyright-Jahr
2017
DOI
https://doi.org/10.1007/978-3-319-53733-7_26

Premium Partner