Short Paper: Maintenance of Strongly Connected Component in Shared-Memory Graph

  • Muktikanta SaEmail author
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11028)


In this paper, we present an on-line fully dynamic algorithm for maintaining strongly connected component of a directed graph in a shared memory architecture. The edges and vertices are added or deleted concurrently by fixed number of threads. To the best of our knowledge, this is the first work to propose using linearizable concurrent directed graph and is build using both ordered and unordered list-based set. We provide an empirical comparison against sequential and coarse-grained. The results show our algorithm’s throughput is increased between 3 to 6x depending on different workload distributions and applications. We believe that there are huge applications in the on-line graph. Finally, we show how the algorithm can be extended to community detection in on-line graph.


Concurrent data structure Directed graph Strong connected components Connectivity on directed graphs Dynamic graph algorithms 



I am grateful to Dr. Sathya Peri and Ritambhara Chauhan for their many healpful comments and to MediaLab Asia for funding my scholarship.


  1. 1.
    Demetrescu, C., Eppstein, D., Galil, Z., Italiano, G.F.: Dynamic graph algorithms. In: Atallah, M.J., Blanton, M. (eds.) Algorithms and Theory of Computation Handbook, p. 9. Chapman & Hall/CRC, Boca Raton (2010)Google Scholar
  2. 2.
    Henzinger, M.R., King, V.: Randomized fully dynamic graph algorithms with polylogarithmic time per operation. J. ACM 46(4), 502–516 (1999)MathSciNetCrossRefGoogle Scholar
  3. 3.
    Hirschberg, D.S., Chandra, A.K., Sarwate, D.V.: Computing connected components on parallel computers. Commun. ACM 22(8), 461–464 (1979)MathSciNetCrossRefGoogle Scholar
  4. 4.
    Hopcroft, J., Tarjan, R.: Algorithm 447: efficient algorithms for graph manipulation. Commun. ACM 16(6), 372–378 (1973)CrossRefGoogle Scholar
  5. 5.
    Sathya Peri, M.S., Singhal, N.: Maintaining Acyclicity of Concurrent Graphs CoRR abs/1611.03947 (2016).
  6. 6.
    Sa, M.: Maintenance of Strongly Connected Component in Shared-memory Graph CoRR abs/1804.01276 (2018).
  7. 7.
    Shiloach, Y., Even, S.: An on-line edge-deletion problem. J. ACM 28(1), 1–4 (1981)MathSciNetCrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Computer Science and EngineeringIndian Institute of Technology HyderabadHyderabadIndia

Personalised recommendations