arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2303.12383cs.SEcs.LO
收藏

利用d-DNNFs对特征模型进行重复计数

Exploiting d-DNNFs for Repetitive Counting Queries on Feature Models

Chico Sundermann, Heiko Raab, Tobias Heß, Thomas Thüm, Ina Schaefer

摘要:

特征模型通常用于指定产品线的有效配置。在工业中,由于大量的特征和约束,特征模型通常是复杂的。因此,已经提出了许多自动化分析。其中许多依赖于计算有效配置的数量,这通常取决于解决#SAT问题,这是一个计算成本很高的操作。此外,大多数基于计数的分析需要在同一特征模型上进行多次#SAT计算。特别地,许多分析依赖于用于评估包括某些特征或符合部分配置的有效配置的数量的多次计算。我们的目标是通过在这些计算之间重用知识来提高性能,而不是在高度相似的公式上使用昂贵的重复计算。在这项工作中,我们是第一个提出重复使用d-DNNFs的功能和部分配置进行有效的重复查询。我们的经验评估表明,我们的方法比重复调用#SAT求解器的最新技术快8,300倍(节省99.99\%CPU时间)。与使用#SAT求解器相比,应用我们的工具ddnnife将运行时间从几天减少到几分钟。

英文摘要:

Feature models are commonly used to specify the valid configurations of a product line. In industry, feature models are often complex due to a large number of features and constraints. Thus, a multitude of automated analyses have been proposed. Many of those rely on computing the number of valid configurations which typically depends on solving a #SAT problem, a computationally expensive operation. Further, most counting-based analyses require numerous #SAT computations on the same feature model. In particular, many analyses depend on multiple computations for evaluating the number of valid configurations that include certain features or conform to partial configurations. Instead of using expensive repetitive computations on highly similar formulas, we aim to improve the performance by reusing knowledge between these computations. In this work, we are the first to propose reusing d-DNNFs for performing efficient repetitive queries on features and partial configurations. Our empirical evaluation shows that our approach is up-to 8,300 times faster (99.99\% CPU-time saved) than the state of the art of repetitively invoking #SAT solvers. Applying our tool ddnnife reduces runtimes from days to minutes compared to using #SAT solvers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑