Mining binary constraints in the construction of feature models

Li Yi, Wei Zhang, Haiyan Zhao, Zhi Jin, Hong Mei
{"title":"Mining binary constraints in the construction of feature models","authors":"Li Yi, Wei Zhang, Haiyan Zhao, Zhi Jin, Hong Mei","doi":"10.1109/RE.2012.6345798","DOIUrl":null,"url":null,"abstract":"Feature models provide an effective way to organize and reuse requirements in a specific domain. A feature model consists of a feature tree and cross-tree constraints. Identifying features and then building a feature tree takes a lot of effort, and many semi-automated approaches have been proposed to help the situation. However, finding cross-tree constraints is often more challenging which still lacks the help of automation. In this paper, we propose an approach to mining cross-tree binary constraints in the construction of feature models. Binary constraints are the most basic kind of cross-tree constraints that involve exactly two features and can be further classified into two sub-types, i.e. requires and excludes. Given these two sub-types, a pair of any two features in a feature model falls into one of the following classes: no constraints between them, a requires between them, or an excludes between them. Therefore we perform a 3-class classification on feature pairs to mine binary constraints from features. We incorporate a support vector machine as the classifier and utilize a genetic algorithm to optimize it. We conduct a series of experiments on two feature models constructed by third parties, to evaluate the effectiveness of our approach under different conditions that might occur in practical use. Results show that we can mine binary constraints at a high recall (near 100% in most cases), which is important because finding a missing constraint is very costly in real, often large, feature models.","PeriodicalId":137833,"journal":{"name":"2012 20th IEEE International Requirements Engineering Conference (RE)","volume":"39 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"23","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 20th IEEE International Requirements Engineering Conference (RE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/RE.2012.6345798","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 23

Abstract

Feature models provide an effective way to organize and reuse requirements in a specific domain. A feature model consists of a feature tree and cross-tree constraints. Identifying features and then building a feature tree takes a lot of effort, and many semi-automated approaches have been proposed to help the situation. However, finding cross-tree constraints is often more challenging which still lacks the help of automation. In this paper, we propose an approach to mining cross-tree binary constraints in the construction of feature models. Binary constraints are the most basic kind of cross-tree constraints that involve exactly two features and can be further classified into two sub-types, i.e. requires and excludes. Given these two sub-types, a pair of any two features in a feature model falls into one of the following classes: no constraints between them, a requires between them, or an excludes between them. Therefore we perform a 3-class classification on feature pairs to mine binary constraints from features. We incorporate a support vector machine as the classifier and utilize a genetic algorithm to optimize it. We conduct a series of experiments on two feature models constructed by third parties, to evaluate the effectiveness of our approach under different conditions that might occur in practical use. Results show that we can mine binary constraints at a high recall (near 100% in most cases), which is important because finding a missing constraint is very costly in real, often large, feature models.
特征模型构造中二元约束的挖掘
特征模型提供了一种有效的方法来组织和重用特定领域中的需求。特征模型由特征树和交叉树约束组成。识别特征,然后构建特征树需要大量的工作,并且已经提出了许多半自动化的方法来帮助这种情况。然而,寻找交叉树约束通常更具挑战性,这仍然缺乏自动化的帮助。在本文中,我们提出了一种在特征模型构建中挖掘交叉树二叉约束的方法。二叉约束是最基本的一种交叉树约束,它只涉及两个特征,可以进一步分为两个子类型,即要求和排除。给定这两个子类型,特征模型中任意两个特征的一对都属于以下类别之一:它们之间没有约束,它们之间有要求,或者它们之间有排除。因此,我们对特征对进行3类分类,从特征中挖掘二值约束。我们将支持向量机作为分类器,并利用遗传算法对其进行优化。我们对第三方构建的两个特征模型进行了一系列实验,以评估我们的方法在实际使用中可能出现的不同条件下的有效性。结果表明,我们可以以高召回率(在大多数情况下接近100%)挖掘二进制约束,这很重要,因为在真实的、通常是大型的特征模型中,找到缺失的约束是非常昂贵的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信
小红书