Skip to main content

Inclusion-Exclusion

  • Chapter
  • First Online:
Exact Exponential Algorithms

Part of the book series: Texts in Theoretical Computer Science. An EATCS Series ((TTCS))

  • 2314 Accesses

Abstract

Inclusion-exclusion is a fascinating technique used in the design of fast exponential time algorithms. It is based on the inclusion-exclusion principle which is a fundamental counting principle in combinatorics; it allows us to count combinatorial objects in a somewhat indirect way that is applied in particular when direct counting is not possible. This counting principle is the main tool when designing inclusionexclusion algorithms. It seems that this algorithm design paradigm is suited very well to constructing fast exponential time algorithms since it naturally produces exponential time algorithms.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 84.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Björklund, A., Husfeldt, T.: Inclusion-exclusion algorithms for counting set partitions. In: Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2006), pp. 575–582. IEEE (2006)

    Google Scholar 

  2. Ryser, H.J.: Combinatorial mathematics. The Carus Mathematical Monographs, No. 14. Published by The Mathematical Association of America (1963)

    Google Scholar 

  3. Bax, E.T.: Inclusion and exclusion algorithm for the Hamiltonian path problem. Inf. Process. Lett. 47(4), 203–207 (1993)

    Article  MATH  MathSciNet  Google Scholar 

  4. Förer, M., Kasiviswanathan, S.P.: Algorithms for counting 2-SAT solutions and colorings with applications. In: Proceedings of the 3rd International Conference on Algorithmic Aspects in Information and Management (AAIM 2007), Lecture Notes in Comput. Sci., vol. 4508, pp. 47–57. Springer (2007)

    Google Scholar 

  5. Aigner, M.: A course in enumeration, Graduate Texts in Mathematics, vol. 238. Springer, Berlin (2007)

    Google Scholar 

  6. Cameron, P.J.: Combinatorics: topics, techniques, algorithms. Cambridge University Press, Cambridge (1994)

    MATH  Google Scholar 

  7. van Lint, J.H., Wilson, R.M.: A course in combinatorics, second edn. Cambridge University Press, Cambridge (2001)

    MATH  Google Scholar 

  8. Stanley, R.P.: Enumerative combinatorics. Vol. 1, Cambridge Studies in Advanced Mathematics,vol. 49. Cambridge University Press, Cambridge (1997)

    Google Scholar 

  9. Kohn, S., Gottlieb, A., Kohn, M.: A generating function approach to the traveling salesman problem. In: Proceedings of the ACM annual conference (ACM 1977), pp. 294–300. ACM Press (1977)

    Google Scholar 

  10. Karp, R.M.: Dynamic programming meets the principle of inclusion and exclusion. Oper. Res. Lett. 1(2), 49–51 (1982)

    Article  MATH  MathSciNet  Google Scholar 

  11. Bax, E.T.: Algorithms to count paths and cycles. Inf. Process. Lett. 52(5), 249–252 (1994)

    Article  MathSciNet  Google Scholar 

  12. Bax, E., Franklin, J.: A finite-difference sieve to count paths and cycles by length. Inf. Process. Lett. 60(4), 171–176 (1996)

    Article  MathSciNet  Google Scholar 

  13. Minc, H.: Permanents. Cambridge University Press, New York, NY, USA (1984))

    Google Scholar 

  14. Kawabata, T., Tarui, J.: On complexity of computing the permanent of a rectangular matrix. IECIE Trans. on Fundamentals of Electronics 82(5), 741–744 (1999)

    Google Scholar 

  15. Vassilevska, V., Williams, R.: Finding, minimizing, and counting weighted subgraphs. In: Proceedings of the 41st annual ACM Symposium on Theory of Computing (STOC 2009), pp. 455–464. ACM (2009).

    Google Scholar 

  16. Koivisto, M.: An O(2n) algorithm for graph coloring and other partitioning problems via inclusion-exclusion. In: Proceedings of the 47th Annual IEEE Symposium on Foundations of Computer Science (FOCS 2006), pp. 583–590. IEEE (2006)

    Google Scholar 

  17. Björklund, A., Husfeldt, T., Koivisto, M.: Set partitioning via inclusion–exclusion. SIAM J. Comput. 39(2), 546–563 (2009).

    Article  MATH  MathSciNet  Google Scholar 

  18. Nederlof, J.: Fast polynomial-space algorithms using M¨obius inversion: Improving on Steiner tree and related problems. In: Proceedings of the 36th International Colloquium on Automata, Languages and Programming (ICALP 2009), Lecture Notes in Comput. Sci., vol. 5555, pp. 713–725. Springer (2009)

    Google Scholar 

  19. van Rooij, J.M.M., Nederlof, J., van Dijk, T.C.: Inclusion/exclusion meets measure and conquer. In: Proceedings of the 17th Annual European Symposium on Algorithms (ESA 2009), Lecture Notes in Comput. Sci., vol. 5757, pp. 554–565. Springer (2009)

    Google Scholar 

  20. PA Amini, O., Fomin, F.V., Saurabh, S.: Counting subgraphs via homomorphisms. In: Proceedings of the 36th International Colloquium on Automata, Languages and Programming (ICALP 2009), Lecture Notes in Comput. Sci., vol. 5555, pp. 71–82. Springer (2009)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fedor V. Fomin .

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this chapter

Cite this chapter

Fomin, F.V., Kratsch, D. (2010). Inclusion-Exclusion. In: Exact Exponential Algorithms. Texts in Theoretical Computer Science. An EATCS Series. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16533-7_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-16533-7_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-16532-0

  • Online ISBN: 978-3-642-16533-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics