, Volume 81, Issue 4, pp 1584–1614 | Cite as

A Parameterized Algorithmics Framework for Degree Sequence Completion Problems in Directed Graphs

  • Robert Bredereck
  • Vincent FroeseEmail author
  • Marcel Koseler
  • Marcelo Garlet Millani
  • André Nichterlein
  • Rolf Niedermeier


There has been intensive work on the parameterized complexity of the typically NP-hard task to edit undirected graphs into graphs fulfilling certain given vertex degree constraints. In this work, we lift the investigations to the case of directed graphs; herein, we focus on arc insertions. To this end, we develop a general two-stage framework which consists of efficiently solving a problem-specific number problem and transferring its solution to a solution for the graph problem by applying flow computations. In this way, we obtain fixed-parameter tractability and polynomial kernelizability results, with the central parameter being the maximum vertex in- or outdegree of the output digraph. Although there are certain similarities with the much better studied undirected case, the flow computation used in the directed case seems not to work for the undirected case while f-factor computations as used in the undirected case seem not to work for the directed case.


NP-hard graph problem Graph realizability k-anonymity Graph modification Arc insertion Fixed-parameter tractability Kernelization 



  1. 1.
    Ahuja, R.K., Magnanti, T.L., Orlin, J.B.: Network Flows: Theory, Algorithms, and Applications. Prentice Hall, Upper Saddle River (1993)zbMATHGoogle Scholar
  2. 2.
    Arora, S., Barak, B.: Complexity Theory: A Modern Approach. Cambridge University Press, Cambridge (2009)CrossRefzbMATHGoogle Scholar
  3. 3.
    Bang-Jensen, J., Frank, A., Jackson, B.: Preserving and increasing local edge-connectivity in mixed graphs. SIAM J. Discret. Math. 8(2), 155–178 (1995)MathSciNetCrossRefzbMATHGoogle Scholar
  4. 4.
    Bang-Jensen, J., Huang, J., Zhu, X.: Completing orientations of partially oriented graphs. J. Graph Theory 87(3), 285–304 (2018)MathSciNetCrossRefzbMATHGoogle Scholar
  5. 5.
    Bazgan, C., Bredereck, R., Hartung, S., Nichterlein, A., Woeginger, G.J.: Finding large degree-anonymous subgraphs is hard. Theor. Comput. Sci. 622, 90–110 (2016)MathSciNetCrossRefzbMATHGoogle Scholar
  6. 6.
    Casas-Roma, J., Herrera-Joancomartí, J., Torra, V.: \(k\)-degree anonymity and edge selection: improving data utility in large networks. Knowl. Inf. Syst. 50(2), 447–474 (2017)CrossRefGoogle Scholar
  7. 7.
    Chen, W.-K.: On the realization of a \((p, s)\)-digraph with prescribed degrees. J. Frankl. Inst. 281(5), 406–422 (1966)MathSciNetCrossRefzbMATHGoogle Scholar
  8. 8.
    Chester, S., Kapron, B., Srivastava, G., Venkatesh, S.: Complexity of social network anonymization. Soc. Netw. Anal. Min. 3(2), 151–166 (2013)CrossRefGoogle Scholar
  9. 9.
    Cygan, M., Marx, D., Pilipczuk, M., Pilipczuk, M., Schlotter, I.: Parameterized complexity of eulerian deletion problems. Algorithmica 68(1), 41–61 (2014)MathSciNetCrossRefzbMATHGoogle Scholar
  10. 10.
    Cygan, M., Fomin, F.V., Kowalik, Ł., Lokshtanov, D., Marx, D., Pilipczuk, M., Pilipczuk, M., Saurabh, S.: Parameterized Algorithms. Springer, Berlin (2015)CrossRefzbMATHGoogle Scholar
  11. 11.
    Dorn, F., Moser, H., Niedermeier, R., Weller, M.: Efficient algorithms for eulerian extension and rural postman. SIAM J. Discret. Math. 27(1), 75–94 (2013)MathSciNetCrossRefzbMATHGoogle Scholar
  12. 12.
    Downey, R.G., Fellows, M.R.: Fundamentals of Parameterized Complexity. Springer, Berlin (2013)CrossRefzbMATHGoogle Scholar
  13. 13.
    Erdős, P., Gallai, T.: Graphs with prescribed degrees of vertices (in Hungarian). Mat. Lapok 11, 264–274 (1960)zbMATHGoogle Scholar
  14. 14.
    Flum, J., Grohe, M.: Parameterized Complexity Theory. Springer, Berlin (2006)zbMATHGoogle Scholar
  15. 15.
    Frank, A., Tardos, É.: An application of simultaneous diophantine approximation in combinatorial optimization. Combinatorica 7(1), 49–65 (1987)MathSciNetCrossRefzbMATHGoogle Scholar
  16. 16.
    Froese, V., Nichterlein, A., Niedermeier, R.: Win-win kernelization for degree sequence completion problems. J. Comput. Syst. Sci. 82(6), 1100–1111 (2016)MathSciNetCrossRefzbMATHGoogle Scholar
  17. 17.
    Fulkerson, D.: Zero-one matrices with zero trace. Pac. J. Math. 10(3), 831–836 (1960)MathSciNetCrossRefzbMATHGoogle Scholar
  18. 18.
    Gale, D.: A theorem on flows in networks. Pac. J. Math. 7, 1073–1082 (1957)MathSciNetCrossRefzbMATHGoogle Scholar
  19. 19.
    Garey, M.R., Johnson, D.S.: Computers and Intractability: A Guide to the Theory of NP-Completeness. W.H. Freeman and Company, New York (1979)zbMATHGoogle Scholar
  20. 20.
    Golovach, P.A.: Editing to a graph of given degrees. Theor. Comput. Sci. 591, 72–84 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
  21. 21.
    Golovach, P.A., Mertzios, G.B.: Graph editing to a given degree sequence. Theor. Comput. Sci. 665, 1–12 (2017)MathSciNetCrossRefzbMATHGoogle Scholar
  22. 22.
    Gutin, G., Yeo, A.: Some parameterized problems on digraphs. Comput. J. 51(3), 363–371 (2008)CrossRefGoogle Scholar
  23. 23.
    Hakimi, S.: On realizability of a set of integers as degrees of the vertices of a linear graph. I. J. SIAM 10(3), 496–506 (1962)MathSciNetzbMATHGoogle Scholar
  24. 24.
    Hartung, S., Nichterlein, A.: NP-hardness and fixed-parameter tractability of realizing degree sequences with directed acyclic graphs. SIAM J. Discret. Math. 29(4), 1931–1960 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
  25. 25.
    Hartung, S., Hoffmann, C., Nichterlein, A.: Improved upper and lower bound heuristics for degree anonymization in social networks. In: Proceedings of the 13th international symposium on experimental algorithms (SEA ’14), vol. 8504 of LNCS, pp. 376–387. Springer (2014)Google Scholar
  26. 26.
    Hartung, S., Nichterlein, A., Niedermeier, R., Suchý, O.: A refined complexity analysis of degree anonymization in graphs. Inf. Comput. 243, 249–262 (2015)MathSciNetCrossRefzbMATHGoogle Scholar
  27. 27.
    Hopcroft, J.E., Karp, R.M.: An \(n^{5/2}\) algorithm for maximum matchings in bipartite graphs. SIAM J. Comput. 2(4), 225–231 (1973)MathSciNetCrossRefzbMATHGoogle Scholar
  28. 28.
    Kannan, R.: Minkowski’s convex body theorem and integer programming. Math. Oper. Res. 12, 415–440 (1987)MathSciNetCrossRefzbMATHGoogle Scholar
  29. 29.
    Kleitman, D., Wang, D.: Algorithms for constructing graphs and digraphs with given valences and factors. SIAM J. Discret. Math. 6(1), 79–88 (1973)MathSciNetCrossRefzbMATHGoogle Scholar
  30. 30.
    Koseler, M.: Kernelization for degree-constraint editing on directed graphs. Bachelor thesis, TU Berlin (2015). URL
  31. 31.
    Lenstra, H.W.: Integer programming with a fixed number of variables. Math. Oper. Res. 8, 538–548 (1983)MathSciNetCrossRefzbMATHGoogle Scholar
  32. 32.
    Leskovec, J., Horvitz, E.: Planetary-scale views on a large instant-messaging network. In: Proceedings of the 17th international conference on World Wide Web (WWW ’08), ACM, pp. 915–924 (2008)Google Scholar
  33. 33.
    Liu, K., Terzi, E.: Towards identity anonymization on graphs. In: Proceedings of the ACM SIGMOD international conference on management of data, SIGMOD ’08, ACM, pp. 93–106 (2008)Google Scholar
  34. 34.
    Mathieson, L., Szeider, S.: Editing graphs to satisfy degree constraints: a parameterized approach. J. Comput. Syst. Sci. 78(1), 179–191 (2012)MathSciNetCrossRefzbMATHGoogle Scholar
  35. 35.
    Millani, M.G.: Algorithms and complexity for degree anonymization in directed graphs. Bachelor thesis, TU Berlin (2015). URL
  36. 36.
    Moser, H., Thilikos, D.M.: Parameterized complexity of finding regular induced subgraphs. J. Discret. Algorithms 7(2), 181–190 (2009)MathSciNetCrossRefzbMATHGoogle Scholar
  37. 37.
    Niedermeier, R.: Invitation to Fixed-Parameter Algorithms. Oxford University Press, Oxford (2006)CrossRefzbMATHGoogle Scholar
  38. 38.
    Orlin, J.B.: Max flows in O(nm) time, or better. In: Proceedings of the 45th Annual ACM Symposium on Theory of Computing (STOC ’13), ACM, pp. 765–774 (2013)Google Scholar
  39. 39.
    Weller, M., Komusiewicz, C., Niedermeier, R., Uhlmann, J.: On making directed graphs transitive. J. Comput. Syst. Sci. 78(2), 559–574 (2012)MathSciNetCrossRefzbMATHGoogle Scholar

Copyright information

© Springer Science+Business Media, LLC, part of Springer Nature 2018

Authors and Affiliations

  • Robert Bredereck
    • 1
  • Vincent Froese
    • 1
    Email author
  • Marcel Koseler
    • 1
  • Marcelo Garlet Millani
    • 1
  • André Nichterlein
    • 1
  • Rolf Niedermeier
    • 1
  1. 1.Institut für Softwaretechnik und Theoretische InformatikTU BerlinBerlinGermany

Personalised recommendations