Journal of Northeastern University(Natural Science) ›› 2022, Vol. 43 ›› Issue (4): 463-469.DOI: 10.12068/j.issn.1005-3026.2022.04.002

• Information & Control • Previous Articles     Next Articles

Research on Model Counting with Mixed Exactly-One Constraints

HAN Shu-ting1,2, LAI Yong1,2, LIU Jie1,2   

  1. 1. College of Computer Science and Technology, Jilin University, Changchun 130012, China; 2. Key Laboratory of Symbolic Computation and Knowledge Engineering, Ministry of Education, Changchun 130012, China.
  • Revised:2021-06-17 Accepted:2021-06-17 Published:2022-05-18
  • Contact: LIU Jie
  • About author:-
  • Supported by:
    -

Abstract: Model counting is the number of models for a given proposition formula, which is a basic problem in the field of artificial intelligence. There are many exactly-one constraints in many practical problems such as Bayesian networks, bounded model detection, and accurate set coverage. A common processing method is to encode exactly-one constraints as CNF formulas, and then call the model counter to solve them. This method expands the scale of the proposition formula and easily leads to too long solution time. This paper respectively proposes the ECR algorithm that restores exactly-one constraints from the CNF formula and the ECP algorithm that handles exactly-one constraints. The ECR algorithm can significantly improve the solution efficiency of the C2D compiler. Based on the latest model counter ExactMC, this paper improves the model counter ECMC that can recognize and handle exactly-one constraints separately. The experimental results show that the time efficiency of ECMC is significantly improved compared to ExactMC.

Key words: exactly-one constraint; model counting; binary constraint propagation; conjunctive normal form; C2D

CLC Number: