Applying string-rewriting to sequence-based specification

被引:0
作者
Robert Eschbach
Lan Lin
Jesse H. Poore
机构
[1] ITK Engineering AG,Department of Computer Science
[2] Ball State University,Department of Electrical Engineering and Computer Science
[3] The University of Tennessee,undefined
来源
Formal Methods in System Design | 2013年 / 43卷
关键词
String-rewriting; Prefix string-rewriting; Sequence-based specification; Software specification; Abstract reduction system; Requirements engineering; Requirements elicitation;
D O I
暂无
中图分类号
学科分类号
摘要
Sequence-based specification is a constructive method designed to convert ordinary functional requirements (that are often imprecisely and informally composed) into precise specifications. The method prompts a human requirements analyst to make the many decisions necessary to resolve the ambiguities, omissions, inconsistencies, and errors inherent in the original requirements document, and construct a complete, consistent, and traceably correct specification. We find that string-rewriting theory can be applied to make a number of these decisions automatically. In this paper we develop a method of applying string-rewriting to sequence enumeration. We give prescriptions on how prefix rewrite rules and general string rewrite rules can be declared, and used later in the process to automatically make new equivalences thereby prompting the human for fewer decisions. Based on the results we present an enhanced enumeration process, in which one develops working enumerations and working reduction systems concurrently, applying string-rewriting to deduce new reductions as needed, until a complete enumeration is obtained. We present data from four published applications that shows the feasibility and applicability of applying string-rewriting. In addition to effort reduction we have observed the benefit of eliminating rework achieved by consistent decisions, as well as an additional opportunity string-rewriting provides for validation of specification decisions to requirements.
引用
收藏
页码:414 / 449
页数:35
相关论文
共 27 条
[1]  
Brzozowski J(1964)Derivatives of regular expressions J ACM 11 481-494
[2]  
Brzozowski J(2005)Representation of semiautomata by canonical words and equivalences Int J Found Comput Sci 16 831-850
[3]  
Jürgensen H(2007)Representation of semiautomata by canonical words and equivalences, part II: specification of software modules Int J Found Comput Sci 18 1065-1087
[4]  
Brzozowski J(1985)The trace specification of communications protocols IEEE Trans Comput C34 1102-1113
[5]  
Jürgensen H(1988)Trace specifications: methodology and models IEEE Trans Softw Eng 14 1243-1252
[6]  
Hoffman D(2005)Combining the box structure development method and CSP for software development Electron Notes Theor Comput Sci 128 127-144
[7]  
Hoffman D(2001)Foundations of the trace assertion method of module interface specification IEEE Trans Softw Eng 27 577-598
[8]  
Snodgrass RT(2009)The impact of requirements changes on specifications and state machines Softw Pract Exp 39 573-610
[9]  
Hopcroft PJ(2010)An axiom system for sequence-based specification Theor Comput Sci 411 360-376
[10]  
Broadfoot GH(1984)A formal method for the abstract specification of software J ACM 31 600-627