ADDMC: Weighted Model Counting with Algebraic Decision Diagrams

Jeffrey M. Dudek, Vu H. N. Phan, Moshe Y. Vardi
7/11/2019
cs.LOcs.AIcs.DS

Official code: vardigroup/ADDMC (10 stars, C++, MIT, last commit 2026-07-12).

Abstract

We present an algorithm to compute exact literal-weighted model counts of Boolean formulas in Conjunctive Normal Form. Our algorithm employs dynamic programming and uses Algebraic Decision Diagrams as the primary data structure.

Show full abstract

We implement this technique in ADDMC, a new model counter. We empirically evaluate various heuristics that can be used with ADDMC. We then compare ADDMC to state-of-the-art exact weighted model counters (Cachet, c2d, d4, and miniC2D) on 1914 standard model counting benchmarks and show that ADDMC significantly improves the virtual best solver.

View on arXivView PDF

Code Implementations(1)

vardigroup/ADDMCOfficial100%
MIT

An exact weighted model counter based on algebraic decision diagrams

105C++, MakefileMay 17, 20204 months agoMIT

Similar Papers

Cite this paper

@article{dudek2019addmc,
  title  = {ADDMC: Weighted Model Counting with Algebraic Decision Diagrams},
  author = {Jeffrey M. Dudek and Vu H. N. Phan and Moshe Y. Vardi},
  year   = {2019},
  eprint = {1907.05000},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.05000}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.05000.svg)](https://codeofpaper.com/paper/1907.05000)

Discussion