Skip to main content

2002 | OriginalPaper | Buchkapitel

Determining the Number of Solutions to Binary CSP Instances

verfasst von : Ola Angelsmark, Peter Jonsson, Svante Linusson, Johan Thapper

Erschienen in: Principles and Practice of Constraint Programming - CP 2002

Verlag: Springer Berlin Heidelberg

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

search-config
loading …

Counting the number of solutions to CSP instances has applications in several areas, ranging from statistical physics to artificial intelligence. We give an algorithm for counting the number of solutions to binary CSPs, which works by transforming the problem into a number of 2-sat instances, where the total number of solutions to these instances is the same as those of the original problem. The algorithm consists of two main cases, depending on whether the domain size d is even, in which case the algorithm runs in time, or odd, in which case it runs in if d = 4 · k + 1, and if d = 4 · k + 3. We also give an algorithm for counting the number of possible 3-colourings of a given graph, which runs in , an improvement over our general algorithm gained by using problem specific knowledge.

Metadaten
Titel
Determining the Number of Solutions to Binary CSP Instances
verfasst von
Ola Angelsmark
Peter Jonsson
Svante Linusson
Johan Thapper
Copyright-Jahr
2002
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-46135-3_22

Premium Partner