Skip to main content

Community Structure Inspired Algorithms for SAT and #SAT

  • Conference paper
  • First Online:
Book cover Theory and Applications of Satisfiability Testing -- SAT 2015 (SAT 2015)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 9340))

Abstract

We introduce h-modularity, a structural parameter of CNF formulas, and present algorithms that render the decision problem SAT and the model counting problem #SAT fixed-parameter tractable when parameterized by h-modularity. The new parameter is defined in terms of a partition of clauses of the given CNF formula into strongly interconnected communities which are sparsely interconnected with each other. Each community forms a hitting formula, whereas the interconnections between communities form a graph of small treewidth. Our algorithms first identify the community structure and then use them for an efficient solution of SAT and #SAT, respectively. We further show that h-modularity is incomparable with known parameters under which SAT or #SAT is fixed-parameter tractable.

Supported by the Austrian Science Fund (FWF), project P26696.

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 54.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight 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. Ansótegui, C., Bonet, M.L., Giráldez-Cru, J., Levy, J.: The fractal dimension of SAT formulas. In: Demri, S., Kapur, D., Weidenbach, C. (eds.) IJCAR 2014. LNCS, vol. 8562, pp. 107–121. Springer, Heidelberg (2014)

    Google Scholar 

  2. Bacchus, F., Dalmao, S., Pitassi, T.: Solving #SAT and Bayesian inference with backtracking search. J. Artif. Intell. Res. 34, 391–442 (2009)

    MathSciNet  MATH  Google Scholar 

  3. Bodlaender, H.L.: A linear-time algorithm for finding tree-decompositions of small treewidth. SIAM J. Comput. 25(6), 1305–1317 (1996)

    Article  MathSciNet  MATH  Google Scholar 

  4. Courcelle, B., Makowsky, J.A., Rotics, U.: On the fixed parameter complexity of graph enumeration problems definable in monadic second-order logic. Discr. Appl. Math. 108(1–2), 23–52 (2001)

    Article  MathSciNet  MATH  Google Scholar 

  5. Crama, Y., Hammer, P.L.: Boolean functions. Encyclopedia of Mathematics and its Applications, vol. 142. Cambridge University Press, Cambridge (2011). Theory, algorithms, and applications

    Book  MATH  Google Scholar 

  6. Diestel, R.: Graph Theory. Graduate Texts in Mathematics, vol. 173, 4th edn. Springer Verlag, New York (2010)

    Book  MATH  Google Scholar 

  7. Downey, R.G., Fellows, M.R.: Parameterized Complexity. Monographs in Computer Science. Springer, New York (1999)

    Book  MATH  Google Scholar 

  8. Fleischner, H., Kullmann, O., Szeider, S.: Polynomial-time recognition of minimal unsatisfiable formulas with fixed clause-variable difference. Theoretical Computer Science 289(1), 503–516 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  9. Ganian, R., Hlinený, P., Obdrzálek, J.: Better algorithms for satisfiability problems for formulas of bounded rank-width. Fund. Inform. 123(1), 59–76 (2013)

    MathSciNet  MATH  Google Scholar 

  10. Iwama, K.: CNF-satisfiability test by counting and polynomial average time. SIAM J. Comput. 18(2), 385–391 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  11. Büning, H.K., Kullmann, O.: Minimal unsatisfiability and autarkies. In: Biere, A., Heule, M.J.H., van Maaren, H., Walsh, T. (eds) Handbook of Satisfiability. Frontiers in Artificial Intelligence and Applications, vol. 185, chapter 11, pp. 339–401. IOS Press (2009)

    Google Scholar 

  12. Büning, H.K., Zhao, X.: Satisfiable formulas closed under replacement. In: Kautz, H.,Selman, B. (eds.) Proceedings for the Workshop on Theory and Applications of Satisfiability. Electronic Notes in Discrete Mathematics, vol. 9. Elsevier Science Publishers, North-Holland (2001)

    Google Scholar 

  13. Büning, K.H., Zhao, X.: On the structure of some classes of minimal unsatisfiable formulas. Discr. Appl. Math. 130(2), 185–207 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  14. Kloks, T.: Treewidth: Computations and Approximations. Springer Verlag, Berlin (1994)

    Book  MATH  Google Scholar 

  15. Kullmann, O.: Lean clause-sets: Generalizations of minimally unsatisfiable clause-sets. Discr. Appl. Math. 130(2), 209–249 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  16. Marx, D.: Parameterized complexity and approximation algorithms. The Computer Journal 51(1), 60–78 (2008)

    Article  Google Scholar 

  17. Newman, M.E.J.: The structure and function of complex networks. SIAM Review 45(2), 167–256 (2003)

    Article  MathSciNet  MATH  Google Scholar 

  18. Newman, M.E.J.: Modularity and community structure in networks. Proceedings of the National Academy of Sciences 103(23), 8577–8582 (2006)

    Article  Google Scholar 

  19. Newman, M.E.J., Girvan, M.: Finding and evaluating community structure in networks. Phys. Rev. E 69(2), 026113 (2004)

    Article  Google Scholar 

  20. Newsham, Z., Ganesh, V., Fischmeister, S., Audemard, G., Simon, L.: Impact of community structure on SAT solver performance. In: Sinz, C., Egly, U. (eds.) SAT 2014. LNCS, vol. 8561, pp. 252–268. Springer, Heidelberg (2014)

    Google Scholar 

  21. Niedermeier, R.: Invitation to Fixed-Parameter Algorithms. Oxford Lecture Series in Mathematics and its Applications. Oxford University Press, Oxford (2006)

    Book  MATH  Google Scholar 

  22. Nishimura, N., Ragde, P., Szeider, S.: Solving #SAT using vertex covers. Acta Informatica 44(7–8), 509–523 (2007)

    Article  MathSciNet  MATH  Google Scholar 

  23. Robertson, N., Seymour, P.D.: Graph minors. II. Algorithmic aspects of tree-width. J. Algorithms 7(3), 309–322 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  24. Rose, D.J.: On simple characterizations of \(k\)-trees. Discrete Math. 7, 317–322 (1974)

    Article  MathSciNet  MATH  Google Scholar 

  25. Samer, M., Szeider, S.: Fixed-parameter tractability. In: Biere, A., Heule, M., van Maaren, H., Walsh, T. (eds.) Handbook of Satisfiability, chapter 13, pp. 425–454. IOS Press (2009)

    Google Scholar 

  26. Samer, M., Szeider, S.: Algorithms for propositional model counting. J. Discrete Algorithms 8(1), 50–64 (2010)

    Article  MathSciNet  MATH  Google Scholar 

  27. Szeider, S.: Minimal unsatisfiable formulas with bounded clause-variable difference are fixed-parameter tractable. J. of Computer and System Sciences 69(4), 656–674 (2004)

    Article  MathSciNet  MATH  Google Scholar 

  28. Szeider, S.: On fixed-parameter tractable parameterizations of SAT. In: Giunchiglia, E., Tacchella, A. (eds.) SAT 2003. LNCS, vol. 2919, pp. 188–202. Springer, Heidelberg (2004)

    Chapter  Google Scholar 

  29. Vardi, M.Y.: Boolean satisfiability: theory and engineering. Communications of the ACM 57(3), 5 (2014)

    Article  Google Scholar 

  30. Živný, S.: The Complexity of Valued Constraint Satisfaction Problems. Cognitive Technologies. Springer (2012)

    Google Scholar 

  31. Zhang, W., Pan, G., Wu, Z., Li, S.: Online community detection for large complex networks. In: Rossi, F. (eds.) Proceedings of the 23rd International Joint Conference on Artificial Intelligence, IJCAI 2013, Beijing, China, August 3–9, 2013. IJCAI/AAAI (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Robert Ganian .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Ganian, R., Szeider, S. (2015). Community Structure Inspired Algorithms for SAT and #SAT. In: Heule, M., Weaver, S. (eds) Theory and Applications of Satisfiability Testing -- SAT 2015. SAT 2015. Lecture Notes in Computer Science(), vol 9340. Springer, Cham. https://doi.org/10.1007/978-3-319-24318-4_17

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-24318-4_17

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-24317-7

  • Online ISBN: 978-3-319-24318-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics