一句话:提出投影 d-DNNF 编译,将特征模型切片与知识编译合并为一步,显著降低运行时间。
特征模型用于刻画可配置系统中特征间的依赖关系,但面向不同干系人时往往需要切片,只保留相关部分且保持被丢弃特征的传递依赖。传统切片计算代价高,而后续分析(如 SAT、#SAT)依赖知识编译,导致两次昂贵计算。本文提出投影 d-DNNF 编译,将特征模型切片与知识编译为 d-DNNF 合并为单一步骤,直接生成切片后的目标格式。作者在真实特征模型上进行实证评估,工具 pd4 相比现有技术常能大幅降低运行时间,并可扩展到更多输入实例。
Configurable systems often contain components from different fields or disciplines that are relevant for distinct stakeholders. For instance, tests or analyses targeting interactions of the software of a cyber-physical system may be only applicable for software components. However, managing such components in isolation is not trivial due, for instance, interdependencies between features. Feature models are a common formalism to specify such dependencies. Feature-model slicing corresponds to creating a subset of the feature model (e.g., with only components relevant to a particular stakeholder) that still preserves transitive dependencies from discarded features. However, slicing is computationally expensive and subsequent analyses often depend on complex computations, such as SAT or #SAT. With knowledge compilation, the original feature model can be translated to a beneficial format (e.g., d-DNNF or BDD) with an initial effort that accelerates subsequent analyses. Consequentially, acquiring a sliced target format depends on two expensive subsequent algorithms. In this work, we merge both steps by proposing projected d-DNNF compilation; a novel way to slice feature models that coincidently performs knowledge compilation to d-DNNF. Our empirical evaluation on real-world feature models shows that our tool pd4 often reduces runtimes substantially compared to existing techniques and scales to more input instances.