Pseudo Polynomial-Time Top-k Algorithms for d-DNNF Circuits
Abstract
We are interested in computing most preferred models of a given d-DNNF circuit , where the preference relation is based on an algebraic structure called a monotone, totally ordered, semigroup . In our setting, every literal in has a value in and the value of an assignment is an element of obtained by aggregating using the values of the corresponding literals. We present an algorithm that computes models of among those having the largest values w.r.t. , and show that this algorithm runs in time polynomial in and in the size of . We also present a pseudo polynomial-time algorithm for deriving the top- values that can be reached, provided that an additional (but not very demanding) requirement on the semigroup is satisfied. Under the same assumption, we present a pseudo polynomial-time algorithm that transforms into a d-DNNF circuit satisfied exactly by the models of having a value among the top- ones. Finally, focusing on the semigroup , we compare on a large number of instances the performances of our compilation-based algorithm for computing top solutions with those of an algorithm tackling the same problem, but based on a partial weighted MaxSAT solver.
Cite
@article{arxiv.2202.05938,
title = {Pseudo Polynomial-Time Top-k Algorithms for d-DNNF Circuits},
author = {Pierre Bourhis and Laurence Duchien and Jérémie Dusart and Emmanuel Lonca and Pierre Marquis and Clément Quinton},
journal= {arXiv preprint arXiv:2202.05938},
year = {2022}
}